/* Property Appreciation 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%);
}

.tab-btn-active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.tab-btn-inactive {
    background: rgba(255, 255, 255, 0.04);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html:not(.dark) .tab-btn-inactive {
    background: #f4f4f5;
    color: #3f3f46;
    border: 1px solid #e4e4e7;
}

.tab-btn-inactive:hover {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

html:not(.dark) .tab-btn-inactive:hover {
    color: #2563eb !important;
    background: rgba(59, 130, 246, 0.1) !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);
}

/* Schedule Table */
.breakdown-table th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #161618;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html:not(.dark) .breakdown-table th {
    background: #f4f4f5;
    border-bottom: 1px solid #e4e4e7;
    color: #27272a;
}

.breakdown-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

html:not(.dark) .breakdown-table td {
    border-bottom: 1px solid #f4f4f5;
    color: #3f3f46;
}

.custom-scrollbar::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}
