
/* Reuse styles from login.html with additions for multi-step */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo p {
    color: #7f8c8d;
    font-size: 14px;
}

.gold-bar {
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    border-radius: 2px;
    margin: 15px 0;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 0;
    left: 0;
    height: 3px;
    background: #e8e8e8;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 15px;
    right: 0;
    height: 3px;
    background: #27ae60;
    z-index: 2;
    transition: all 0.3s ease;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: #27ae60;
    color: white;
}

.step.completed .step-circle {
    background: #2ecc71;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
}

.step.active .step-label {
    color: #2c3e50;
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.btn-register {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #219a52, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.btn-register:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-prev {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    margin-top: 10px;
}

.btn-prev:hover {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
}

.links {
    text-align: center;
    margin-top: 25px;
}

.links a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid transparent;
}

.alert-error {
    background: #ffeaea;
    color: #c0392b;
    border-color: #ffcccc;
}

.alert-success {
    background: #eaffea;
    color: #27ae60;
    border-color: #ccffcc;
}

.alert-info {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #bbdefb;
}

.password-strength {
    margin-top: 5px;
    font-size: 12px;
}

.strength-weak { color: #e74c3c; }
.strength-medium { color: #f39c12; }
.strength-strong { color: #27ae60; }

.terms {
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
    margin-top: 15px;
}

/* CAPTCHA Styles */
.captcha-section {
    margin-bottom: 25px;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e8e8e8;
}

.captcha-image-container {
    flex: 1;
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.btn-refresh-captcha {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh-captcha:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: scale(1.05);
}

.captcha-input {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.error-list {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    list-style: none;
    padding-right: 0;
}

.otp-info {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.otp-info .phone-number {
    font-weight: bold;
    color: #2c3e50;
}

@media (max-width: 480px) {
    .register-container {
        padding: 30px 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .step-label {
        font-size: 10px;
    }
}
