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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, #1a0a3e 0%, #2d1566 50%, #1a0a3e 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-light-blue,
.background-light-pink {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    z-index: 0;
}

.background-light-blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(36, 165, 250, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 20s infinite ease-in-out;
}

.background-light-pink {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 12, 234, 0.4) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(-30px, -20px) rotate(270deg); }
}

/* Header */
.header {
    position: relative;
    z-index: 100;
    padding: 20px 0;
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .logo {
    height: 40px;
    width: auto;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
}

.auth-link {
    color: #24a5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #fb0cea;
}

/* Main Content */
.main {
    position: relative;
    z-index: 10;
    padding: 40px 24px;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Features Sidebar */
.features-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0.9;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-text {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

/* Auth Form Container */
.auth-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
    text-align: center;
}

.auth-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #24a5fa;
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #24a5fa;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(36, 165, 250, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Password Input Container */
.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.9);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}

.forgot-password-link {
    color: #24a5fa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #fb0cea;
}

/* Terms and Conditions Checkbox */
.terms-group {
    margin-top: 8px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.terms-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.terms-checkbox input:checked ~ .checkmark {
    background: linear-gradient(135deg, #24a5fa 0%, #fb0cea 100%);
    border-color: transparent;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.terms-checkbox input:checked ~ .checkmark::after {
    opacity: 1;
}

.terms-text {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1px;
}

.terms-link {
    color: #24a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #fb0cea;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #24a5fa 0%, #fb0cea 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(36, 165, 250, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
    }
    
    .features-sidebar {
        order: 2;
        gap: 24px;
    }
    
    .feature-item {
        gap: 12px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-text {
        font-size: 16px;
    }
    
    .auth-form-container {
        padding: 32px 24px;
        order: 1;
    }
    
    .auth-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .main {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .auth-form-container {
        padding: 24px 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .form-input {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 14px 20px;
        font-size: 14px;
    }
} 