﻿
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

.create-account-container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
}

.header-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .breadcrumb-link:hover {
        color: var(--secondary-color);
    }

.breadcrumb i.fa-chevron-right {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: var(--gray-600);
    font-weight: 600;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.header-decoration {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.1;
    z-index: 1;
}

.floating-icons {
    display: flex;
    gap: 2rem;
    font-size: 3rem;
    color: var(--primary-color);
}

    .floating-icons i {
        animation: float 6s ease-in-out infinite;
    }

        .floating-icons i:nth-child(2) {
            animation-delay: -2s;
        }

        .floating-icons i:nth-child(3) {
            animation-delay: -4s;
        }

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Form Section */
.form-section {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: start;
}

.form-container {
    max-width: 1000px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
}

.step.active .step-label {
    color: var(--primary-color);
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--gray-200);
    margin: 0 1rem;
}

/* Form Card */
.form-card {
    background: white;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

    .form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
    }

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

    .form-label i {
        color: var(--primary-color);
        width: 16px;
    }

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

    .form-input:focus {
        outline: none;
        border-color: var(--primary-color);
        background: white;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

    .form-input::placeholder {
        color: var(--gray-400);
    }

.input-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

    .input-hint i {
        color: var(--accent-color);
    }

.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .error-message::before {
        content: '\f071';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
    }

/* Password Input */
.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: var(--primary-color);
    }

.password-strength {
    margin-top: 0.75rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .radio-item input[type="radio"] {
        width: 20px;
        height: 20px;
        accent-color: var(--primary-color);
    }

.radio-label {
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.checkbox-label {
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.5;
    cursor: pointer;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

    .terms-link:hover {
        text-decoration: underline;
    }

/* Form Actions */
.form-actions {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-xl);
    }

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn.loading .btn-loading {
    opacity: 1;
}

.btn.loading > *:not(.btn-loading) {
    opacity: 0;
}

.form-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
}

.login-link {
    color: var(--gray-600);
    font-size: 1rem;
}

.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

    .link-primary:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

/* Help Section */
.help-section {
    position: sticky;
    width: auto;
    top: 2rem;
}

.help-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    max-width: 300px;
}

.help-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.help-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.help-text {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

    .help-link:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-2px);
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .form-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .help-section {
        position: static;
        order: -1;
        width: 100%;
        max-width: 800px;
    }

    .help-card {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .create-account-container {
        padding: 1rem;
    }

    .form-card {
        padding: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
