@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    position: relative;
}

.neon-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.neon-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.neon-circle-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    bottom: -10%;
    right: -10%;
    animation-delay: 7s;
}

.neon-circle-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.shadow-neon {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6),
    0 0 60px rgba(6, 182, 212, 0.4),
    0 0 90px rgba(6, 182, 212, 0.2);
    animation: pulse-neon 2s ease-in-out infinite;
}

@keyframes pulse-neon {
    0%, 100% {
        box-shadow: 0 0 30px rgba(6, 182, 212, 0.6),
        0 0 60px rgba(6, 182, 212, 0.4),
        0 0 90px rgba(6, 182, 212, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.8),
        0 0 80px rgba(6, 182, 212, 0.6),
        0 0 120px rgba(6, 182, 212, 0.4);
    }
}

.glass-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.input-label {
    display: block;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    letter-spacing: 0.025em;
}

.input-group:focus-within .input-label {
    color: #06b6d4;
}

.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 0.01em;
}

.input-field:focus {
    background: rgba(31, 41, 55, 0.8);
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1),
    0 0 20px rgba(6, 182, 212, 0.2);
}

.input-field::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    transition: color 0.3s;
}

.input-group:focus-within .input-icon {
    color: #06b6d4;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #06b6d4;
}

.checkbox-custom {
    appearance: none;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid rgba(75, 85, 99, 0.5);
    border-radius: 0.375rem;
    background: rgba(31, 41, 55, 0.5);
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.checkbox-custom:checked {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-color: #06b6d4;
}

.checkbox-custom:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.625rem;
}

.btn-primary {
    position: relative;
    padding: 1rem;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.025em;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.6);
}

.btn-primary:hover:not(:disabled)::before {
    left: 100%;
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.input-error {
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.375rem;
    display: flex;
    align-items: center;
}

.input-error::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.375rem;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(6, 182, 212, 0.2);
    border-top-color: #06b6d4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.form-disabled {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 640px) {
    .glass-card {
        padding: 1.5rem;
    }

    .neon-circle {
        width: 250px !important;
        height: 250px !important;
    }
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}