/* Dark Premium Theme Variables */
:root {
    --bg-dark: #0A0E1F;
    --bg-card: #1A1F35;
    --accent-gold: #D4AF37;
    --accent-gold-light: #FFD700;
    --text-light: #F5F5F5;
    --text-muted: #9CA3AF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
}

/* Custom Utilities */
.text-gold {
    color: var(--accent-gold);
}

.bg-card-custom {
    background-color: var(--bg-card);
}

/* Neumorphism & Glow Effects */
.glow-effect {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.card-neumorphism {
    background: linear-gradient(145deg, #1A1F35, #15192b);
    box-shadow: 5px 5px 10px #0b0f21, -5px -5px 10px #293053;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.05);
}

/* Button Styles */
.btn-gold {
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-gold-light));
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-gold:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Particle Animation Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    background-image: url('');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: -1;
    top: 0;
    left: 0;
}

/* Form Styles */
.form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    outline: none;
}



/* Gradient Text */
.text-gradient-gold {
    background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dropdown Menu */
.group:hover .group-hover\:block {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 320px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: all 0.2s;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: #D4AF37;
    padding-left: 25px;
}

.dropdown-parent {
    position: relative;
    padding-bottom: 10px; /* Increase hover area */
    margin-bottom: -10px; /* Reset layout */
}

/* --- INTL TEL INPUT OVERRIDES --- */
.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0;
}

.iti__selected-flag {
    background-color: transparent;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0 12px 0 12px;
    transition: background-color 0.2s;
}

.iti__selected-flag:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.iti__country-list {
    background-color: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) var(--bg-dark);
    z-index: 9999; /* Ensure it sits on top of modals */
}

/* Scrollbar webkit */
.iti__country-list::-webkit-scrollbar {
    width: 8px;
}
.iti__country-list::-webkit-scrollbar-track {
    background: var(--bg-dark); 
}
.iti__country-list::-webkit-scrollbar-thumb {
    background-color: var(--accent-gold);
    border-radius: 20px;
    border: 3px solid var(--bg-dark);
}

.iti__country {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background-color 0.2s;
}

.iti__country:last-child {
    border-bottom: none;
}

.iti__country.iti__highlight {
    background-color: rgba(212, 175, 55, 0.15);
    color: white;
}

.iti__dial-code {
    color: var(--text-muted);
}

.iti__country-name {
    color: var(--text-light);
}

/* Input Padding adjustment handled by library but ensure background match */
.iti input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: var(--text-light) !important;
}

.iti input:focus {
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
    outline: none;
}

/* Input Validation Styles */
.validation-message {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1.25em;
}

.validation-message.error {
    color: #ef4444; /* red-500 */
}

.validation-message.success {
    color: #22c55e; /* green-500 */
}

.validation-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    font-size: 1rem;
}

.validation-icon.error {
    color: #ef4444;
}

.validation-icon.success {
    color: #22c55e;
}

.validation-icon.warning {
    color: #eab308; /* yellow-500 */
}

/* Legacy support for phone-specific classes if needed, or mapped to generic */
.phone-message, .email-message {
    @extend .validation-message;
}
.phone-icon, .email-icon {
    @extend .validation-icon;
}
