/* Nakshatra Calculator - Cosmic & Amber Styling */

.apple-glass {
    background: rgba(24, 20, 36, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

html:not(.dark) .apple-glass {
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.15);
    box-shadow: 0 10px 30px -5px rgba(217, 119, 6, 0.08);
}

.custom-input {
    background: rgba(15, 12, 26, 0.75);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fef3c7;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html:not(.dark) .custom-input {
    background: #ffffff;
    border: 1px solid #fde68a;
    color: #451a03;
}

.custom-input:focus {
    border-color: #f59e0b;
    outline: none;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.custom-input option {
    background-color: #181424;
    color: #f8fafc;
}

html:not(.dark) .custom-input option {
    background-color: #ffffff;
    color: #0f172a;
}

.preset-active {
    background: rgba(245, 158, 11, 0.25) !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
    color: #fbbf24 !important;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

html:not(.dark) .preset-active {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

/* Nakshatra Attribute Cards */
.attr-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 12px;
    transition: all 0.2s ease;
}

html:not(.dark) .attr-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
}

.attr-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* Range Slider Thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f59e0b;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

html:not(.dark) input[type="range"]::-webkit-slider-thumb {
    background: #d97706;
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
}

/* City Suggestions Live Dropdown */
#city-suggestions-dropdown {
    box-shadow: 0 16px 36px -5px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

html:not(.dark) #city-suggestions-dropdown {
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.25);
    box-shadow: 0 12px 32px -5px rgba(217, 119, 6, 0.18);
}

.city-suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.city-suggestion-item:hover,
.city-suggestion-item.active-item {
    background-color: rgba(245, 158, 11, 0.2);
}

html:not(.dark) .city-suggestion-item:hover,
html:not(.dark) .city-suggestion-item.active-item {
    background-color: #fef3c7;
}
