/* 
 * Create Account Styles for Safiri by Citrus Driver Account
 * 
 * Primary Color: #1A73E8 (Deep Blue)
 * Secondary Color: #FFC107 (Soft Yellow)
 * Accent Color: #4CAF50 (Fresh Green)
 * Neutral Color: #F5F5F5 (Light Gray)
 * 
 * Fonts: Montserrat, Inter, Poppins
 */

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

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

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

a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

ul {
    list-style-position: inside;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    height: 50px;
    width: auto;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #666;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    padding: 60px 0;
    background-color: #f9fafc;
}

.account-creation-container {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 0 auto;
    max-width: 1100px;
}

/* Left Column - Steps */
.steps-container {
    width: 30%;
    background-color: #1A73E8;
    color: #fff;
    padding: 40px 25px;
}

.steps-header {
    margin-bottom: 40px;
}

.steps-header h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.steps-header p {
    opacity: 0.8;
}

.steps {
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
}

.step {
    display: flex;
    position: relative;
    margin-bottom: 30px;
    padding-left: 40px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: #FFC107;
    color: #333;
}

.step-content h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 14px;
    opacity: 0.8;
}

.steps-info {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    margin-right: 10px;
    font-size: 18px;
}

.info-item a {
    color: #FFC107;
}

.info-item a:hover {
    color: #fff;
}

/* Right Column - Form Content */
.form-container {
    width: 70%;
    padding: 40px;
    position: relative;
}

.progress-container {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    border-radius: 2px;
    width: 25%; /* This will be updated via JavaScript */
    transition: width 0.3s ease;
}

.form-step {
    display: none;
}

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

.form-step h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.form-description {
    color: #666;
    margin-bottom: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 8px;
}

.required {
    color: #e53935;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
}

.input-hint {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.input-error {
    font-size: 13px;
    color: #e53935;
    margin-top: 5px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
    margin-right: 10px;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 5px;
    overflow: hidden;
}

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

.strength-text {
    font-size: 13px;
    color: #666;
}

.password-requirements {
    margin-top: 10px;
    list-style-type: none;
}

.password-requirements li {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

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

.password-requirements li.valid {
    color: #333;
}

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

/* Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.form-actions.center {
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #1A73E8;
    color: white;
}

.btn-primary:hover {
    background-color: #0d47a1;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: #1A73E8;
    border: 1px solid #1A73E8;
}

.btn-secondary:hover {
    background-color: rgba(26, 115, 232, 0.05);
    color: #0d47a1;
    text-decoration: none;
}

/* Error Message */
.error-message {
    background-color: #ffebee;
    color: #e53935;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.error-message.visible {
    display: block;
}

/* School Information Section */
.school-details {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.school-logo {
    flex: 0 0 100px;
    margin-right: 20px;
}

.school-logo img {
    border-radius: 8px;
}

.school-info {
    flex: 1;
}

.school-info h3 {
    margin-bottom: 10px;
}

.school-info p {
    color: #666;
    margin-bottom: 5px;
}

.confirmation-box {
    background-color: #e3f2fd;
    border-left: 4px solid #1A73E8;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.confirmation-box p {
    margin-bottom: 10px;
}

.confirmation-box .small-text {
    font-size: 13px;
    color: #666;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-message h2 {
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    margin-bottom: 30px;
}

.account-details {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.account-details p {
    margin-bottom: 10px;
}

.next-steps {
    margin-bottom: 30px;
    text-align: left;
}

.next-steps h3 {
    margin-bottom: 15px;
}

.next-steps ul {
    list-style-type: none;
}

.next-steps li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.next-steps li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #1A73E8;
}

/* Footer Styles */
.site-footer {
    background-color: #fff;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #666;
    font-size: 14px;
}

.footer-links {
    display: flex;
}

.footer-links a {
    margin-left: 20px;
    font-size: 14px;
    color: #666;
}

.footer-links a:hover {
    color: #1A73E8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .account-creation-container {
        flex-direction: column;
    }
    
    .steps-container {
        width: 100%;
        padding: 30px;
    }
    
    .form-container {
        width: 100%;
    }
    
    .steps {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        flex: 0 0 calc(25% - 15px);
        text-align: center;
    }
    
    .step-number {
        position: static;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .school-details {
        flex-direction: column;
        text-align: center;
    }
    
    .school-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 30px 0;
    }
    
    .step {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 20px;
    }
    
    .form-container {
        padding: 20px;
    }
}