/* Register Page Specific Styles - Extends Design System */
/* Body and base styles handled by design-system.css */

/* Background handled by design-system.css marble background */

/* Floating shapes for register page */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    animation-delay: -15s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 5%;
    animation-delay: -7s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    right: 25%;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(0px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(30px) rotate(270deg);
        opacity: 0.8;
    }
}

/* Header styling handled by design-system.css */

/* Navigation styling handled by design-system.css */

/* Main Content */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 20px;
    padding-top: 120px;
}

.registration-container {
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Indicator */
.progress-indicator {
    margin-bottom: 2rem;
    text-align: center;
}

/* Progress bar styling handled by design-system.css */

.progress-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.step-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.step-title {
    font-size: 1.1rem;
    color: var(--neutral-50);
    font-weight: 600;
}

/* Form Container */
.form-container {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-12) var(--space-10);
    box-shadow: var(--glass-shadow-strong);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Form Styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: var(--neutral-50);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: rgba(26, 20, 20, 0.6);
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(14, 13, 13, 0.1);
    backdrop-filter: blur(10px);
    color: var(--neutral-50);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input::placeholder {
    color: rgba(20, 18, 18, 0.5);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--secondary-500);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
    background: rgba(22, 21, 21, 0.15);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--secondary-500);
}

/* Password Strength */
.password-strength {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    min-width: 120px;
}

/* Checkbox */
.checkbox-group {
    margin: 0.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    border-color: var(--secondary-500);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.checkbox-text a {
    color: var(--secondary-500);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--primary-500);
}

/* Submit button styling handled by design-system.css .btn-primary class */

/* Social Login */
.social-login {
    margin-top: 2rem;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider span {
    margin: 0 1rem;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--neutral-50);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.google-btn:hover {
    border-color: var(--primary-500);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.linkedin-btn:hover {
    border-color: var(--secondary-600);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 15px;
        padding-top: 100px;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .nav-right span {
        display: none;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .form-header h1 {
        font-size: 1.75rem;
    }
    
    .input-wrapper input {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
    }
    
    .input-wrapper i {
        left: 0.875rem;
    }
}

/* Enhanced Input Wrapper Styles */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper.error {
    border-color: var(--error-500);
}

.input-wrapper.error .form-input {
    border-color: var(--error-500);
    background: rgba(239, 68, 68, 0.05);
}

.input-wrapper.error .form-input:focus {
    border-color: var(--error-500);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Password Toggle Button */
.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--neutral-500);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
    z-index: 2;
}

.password-toggle:hover {
    color: var(--primary-500);
}

/* Password Strength Indicator */
.password-strength {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: var(--glass-border);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: all 0.3s ease;
    background: var(--neutral-300);
}

.strength-text {
    font-size: 0.875rem;
    color: var(--neutral-500);
    min-width: 120px;
    font-weight: 500;
}

/* Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    background: var(--glass-light);
    backdrop-filter: var(--glass-backdrop);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-color: var(--primary-500);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-text {
    color: var(--neutral-700);
    font-size: 0.9rem;
}

.checkbox-text a {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--primary-600);
}

/* Remove Notion-specific background and card styles */
.notion-login-bg, .notion-login-container, .notion-login-header, .notion-logo, .notion-lang-select, .notion-login-card, .notion-login-title, .notion-login-subtitle, .notion-login-buttons, .notion-login-btn, .notion-login-divider, .notion-login-form, .notion-login-label, .notion-login-input, .notion-login-note, .notion-login-continue, .notion-login-disclaimer {
    display: none !important;
}

/* Auth Section Styles (matches landing page aesthetic) */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 4rem 0;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--neutral-500);
    font-size: 1.08rem;
    margin-bottom: 2rem;
    text-align: center;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.auth-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--glass-border);
    background: var(--glass-light);
    color: var(--neutral-800);
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    padding: 0.875rem 0;
    gap: 0.75rem;
}
.auth-btn i {
    font-size: 1.2em;
}
.auth-btn:hover {
    border-color: var(--primary-400);
    background: var(--glass-strong);
    color: var(--primary-700);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--neutral-400);
    font-size: 0.95rem;
    margin: 1.5rem 0 1rem 0;
}
.auth-divider span {
    background: var(--glass-bg);
    padding: 0 12px;
    z-index: 1;
}
.auth-divider:before,
.auth-divider:after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
    margin: 0 4px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.auth-note {
    color: var(--neutral-500);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.auth-continue {
    width: 100%;
    margin-top: 0.5rem;
}
.auth-disclaimer {
    color: var(--neutral-400);
    font-size: 0.92rem;
    text-align: center;
    margin-top: 1.5rem;
}
.auth-disclaimer a {
    color: var(--primary-500);
    text-decoration: underline;
    font-weight: 500;
}
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem 0.5rem;
    }
}

/* Admin Access Styles */
.admin-access {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-400);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    background: var(--glass-light);
    border: 1px solid var(--glass-border);
}

.admin-link:hover {
    color: var(--primary-500);
    background: var(--glass-strong);
    border-color: var(--primary-400);
    transform: translateY(-1px);
}

.admin-link i {
    font-size: 1rem;
    opacity: 0.8;
}