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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e8ecef;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.header-title {
    flex: 1;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    color: #495057;
    padding: 0 20px;
}

.header-right {
    flex: 0 0 auto;
    color: #6c757d;
    font-size: 14px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}


/* Main Content */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 50px;
    width: 100%;
    max-width: 680px;
}

.form-title {
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 400;
}

.form-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
    font-size: 15px;
}

/* Progress Steps */
.progress-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.step {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.step.active {
    background: #2c3e50;
    color: white;
}

.step.inactive {
    background: #e8ecef;
    color: #adb5bd;
}

.step.completed {
    background: #28a745;
    color: white;
}

/* Form Section */
.form-section {
    display: none;
}

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

.section-icon {
    width: 80px;
    height: 80px;
    background: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.section-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.section-title {
    text-align: center;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 35px;
    font-weight: 500;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

input::placeholder {
    color: #adb5bd;
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 100px;
    padding: 12px;
    font-size: 15px;
    background: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag {
    font-size: 28px;
    line-height: 1;
    display: inline-block;
}


.phone-input {
    flex: 1;
}

.help-text {
    font-size: 13px;
    color: #6c757d;
    margin-top: 5px;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
}

.btn-primary {
    background: #8b9dc3;
    color: white;
}

.btn-primary:hover {
    background: #7a8db5;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    margin-top: 10px;
}

/* OTP Verification */
.otp-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

.otp-input:focus {
    border-color: #4a90e2;
}

.verification-info {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 20px;
}

.verification-info .lock-icon {
    font-size: 20px;
    margin-right: 8px;
}

/* File Upload */
.file-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafbfc;
}

.file-upload-area:hover {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.file-upload-area.dragging {
    border-color: #4a90e2;
    background: #e8f4ff;
}

.upload-icon {
    font-size: 48px;
    color: #8b9dc3;
    margin-bottom: 15px;
}

.file-upload-area h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.file-list {
    margin-top: 20px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-icon {
    font-size: 20px;
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* Status Messages */
.alert {
    padding: 12px 20px;
    border-radius: 6px;
    margin: 20px 0;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.resend-link {
    color: #4a90e2;
    cursor: pointer;
    text-decoration: none;
}

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

.timer {
    color: #6c757d;
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #8b9dc3;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Styles for removing inline attributes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.color-subtle {
    color: #6c757d;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.font-size-14 {
    font-size: 14px;
}

#section4 .section-icon {
    background: #28a745;
}