/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.secondary-button:hover {
    background-color: rgba(26, 115, 232, 0.05);
}

.edit-button {
    background-color: transparent;
    color: #1A73E8;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    text-decoration: underline;
}

/* Review & Submit */
.review-section {
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.review-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.review-item {
    display: flex;
    margin-bottom: 0.8rem;
}

.review-label {
    font-weight: 500;
    color: #666;
    width: 180px;
    flex-shrink: 0;
}

.review-value {
    color: #333;
    word-break: break-word;
}

.edit-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

/* Terms Agreement */
.terms-agreement {
    margin: 2rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.success-message p {
    color: #666;
    margin-bottom: 1rem;
}

.next-steps {
    text-align: left;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.next-steps h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: #666;
}

.onboarding-message {
    background-color: #FFF8E1;
    padding: 1rem;
    border-left: 3px solid #FFC107;
    text-align: left;
    margin-bottom: 2rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1A73E8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

#loading-message {
    color: #333;
    font-size: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
    }
    
    .brand-panel, .registration-panel {
        width: 100%;
    }
    
    .brand-panel {
        padding: 2rem;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 1.5rem;
    }
    
    .brand-content h1 {
        font-size: 2rem;
    }
    
    .feature {
        justify-content: center;
    }
    
    .registration-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .progress-tracker {
        flex-wrap: wrap;
    }
    
    .progress-step {
        width: 50%;
        margin-bottom: 1rem;
    }
    
    .progress-tracker::before {
        display: none;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .primary-button, .secondary-button {
        width: 100%;
    }
    
    .review-item {
        flex-direction: column;
    }
    
    .review-label {
        width: 100%;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 576px) {
    .brand-panel {
        padding: 1.5rem;
    }
    
    .brand-content h1 {
        font-size: 1.75rem;
    }
    
    .progress-step {
        width: 100%;
    }
    
    .review-section {
        padding: 1rem;
    }
    
    .edit-button {
        position: static;
        margin-top: 1rem;
        display: block;
        width: 100%;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F5F5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: #1A73E8;
}

a {
    color: #1A73E8;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #155CBC;
}

/* Main Container Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Brand Panel (Left Side) */
.brand-panel {
    width: 30%;
    background-color: #1A73E8;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.brand-panel::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.brand-panel::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.logo-container {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 180px;
    height: auto;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.brand-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.brand-features {
    margin-top: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.feature-text {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Registration Panel (Right Side) */
.registration-panel {
    width: 70%;
    background-color: white;
    padding: 2rem;
    overflow-y: auto;
    max-height: 100vh;
}

.registration-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 1rem 0;
}

.registration-container h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #1A73E8;
}

.registration-description {
    color: #666;
    margin-bottom: 2rem;
}

/* Progress Tracker */
.progress-tracker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E0E0E0;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    width: 25%;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 2px solid #E0E0E0;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    color: #999;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    transition: color 0.3s ease;
}

.progress-step.active .step-number {
    background-color: #1A73E8;
    border-color: #1A73E8;
    color: white;
}

.progress-step.active .step-label {
    color: #1A73E8;
    font-weight: 500;
}

.progress-step.completed .step-number {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step-description {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1A73E8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.error-message {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

.input-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Password Strength Meter */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
}

.password-strength-meter {
    margin-top: 0.5rem;
    height: 5px;
    background-color: #E0E0E0;
    border-radius: 3px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    background-color: #d32f2f;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-bar.weak {
    background-color: #d32f2f;
    width: 25%;
}

.strength-bar.medium {
    background-color: #FFA000;
    width: 50%;
}

.strength-bar.strong {
    background-color: #FFC107;
    width: 75%;
}

.strength-bar.very-strong {
    background-color: #4CAF50;
    width: 100%;
}

.password-requirements {
    list-style-type: none;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #666;
}

.password-requirements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.3rem;
}

.password-requirements li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #d32f2f;
}

.password-requirements li.met::before {
    content: '✓';
    color: #4CAF50;
}

/* Security Questions */
.security-questions {
    margin-top: 2rem;
}

.security-questions h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Button Styles */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.primary-button {
    padding: 0.9rem 1.5rem;
    background-color: #1A73E8;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.primary-button:hover {
    background-color: #155CBC;
}

.primary-button:disabled {
    background-color: #b0b0b0;
    cursor: not-allowed;
}

.secondary-button {
    padding: 0.9rem 1.5rem;
    background-color: transparent;
    color: #1A73E8;
    border: 1px solid #1A73E8;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}