/* main.css - Core UI structure and glassmorphism elements */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

.syne-font {
    font-family: 'Syne', sans-serif;
}

/* Glassmorphism Elements */
.glass-card {
    background: var(--glass-bg, rgba(255, 0, 0, 0.03));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border, rgba(0, 255, 110, 0.2));
    border-radius: 16px;
  
}

.glass-input {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--glass-border-light, rgba(255, 255, 255, 0.05)) !important;
    transition: all 0.3s ease;
    color: var(--text-white, #ffffff) !important;
}

.glass-input:focus {
    background-color: var(--glass-bg-hover, rgba(255, 255, 255, 0.05)) !important;
    border-color: var(--primary-color, #2d7b4f) !important;
    box-shadow: 0 0 0 1px var(--primary-color, #2d7b4f) !important;
    outline: none !important;
}

.glass-button {
    background: rgba(45, 122, 79, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--text-gray-dark, rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(45, 122, 79, 1);
    box-shadow: 0 0 20px rgba(45, 122, 79, 0.4);
}

.glass-button:active {
    transform: scale(0.98);
}

.glass-pill {
    background: var(--glass-bg-hover, rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(8px);
    border: 1px solid var(--text-gray-dark, rgba(255, 255, 255, 0.1));
}

/* Form autofill standardization */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #08120a inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}