/* Real Estate Paint Calculator - Premium Styling */

.apple-glass {
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

html:not(.dark) .apple-glass {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.custom-input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f4f4f5;
    transition: all 0.2s ease-in-out;
}

html:not(.dark) .custom-input {
    background: #ffffff;
    border: 1px solid #d4d4d8;
    color: #18181b;
}

.custom-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.25);
}

.result-card-glow {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 70%);
}

.preset-active {
    background: rgba(59, 130, 246, 0.25) !important;
    border-color: rgba(59, 130, 246, 0.6) !important;
    color: #60a5fa !important;
    font-weight: 700;
}

html:not(.dark) .preset-active {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #2563eb !important;
}

/* Custom Range Sliders */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    outline: none;
}

html:not(.dark) input[type="range"] {
    background: #e4e4e7;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    transition: transform 0.1s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Room Tag / Tab styles */
.room-card {
    transition: all 0.2s ease-in-out;
}
.room-card:hover {
    transform: translateY(-2px);
}

/* Paint Can Badges */
.can-badge {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

html:not(.dark) .can-badge {
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: #d97706;
}

/* Print Styles */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .no-print {
        display: none !important;
    }
    .apple-glass {
        border: 1px solid #d4d4d8 !important;
        box-shadow: none !important;
        background: #ffffff !important;
    }
}

/* Modern Switcher */
.modern-switcher {
    display: inline-flex;
    padding: 2px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html:not(.dark) .modern-switcher {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.modern-switcher button {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #a1a1aa;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    cursor: pointer;
}

html:not(.dark) .modern-switcher button {
    color: #71717a;
}

.modern-switcher button.preset-active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    border-color: transparent !important;
}

/* Room Tab Buttons override */
.room-tab-btn {
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
