/* ============================================
   LM EVENTS - CUSTOMER REGISTRATION
   Location: assets/css/main/register.css
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px;
}

.register-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 35px 30px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    position: relative;
}

.register-card:hover { transform: translateY(-5px); }

.btn-return {
    display: inline-flex;
    align-items: center;
    color: #0f3460;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    background: rgba(15, 52, 96, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
}

.btn-return:hover {
    background: rgba(15, 52, 96, 0.15);
    color: #0a1f3a;
    transform: translateX(-3px);
}

.logo-container { text-align: center; margin-bottom: 18px; }

.logo-container img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0f3460;
    padding: 5px;
    background: #fff;
}

.logo-container h3 {
    color: #0f3460;
    font-weight: 700;
    margin-top: 8px;
    font-size: 20px;
}

.logo-container p { color: #6c757d; font-size: 14px; margin-bottom: 0; }

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 0;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.progress-step.active {
    background: #0f3460;
    color: #fff;
    transform: scale(1.1);
}

.progress-step.completed { background: #28a745; color: #fff; }

.progress-line {
    flex: 1;
    height: 3px;
    background: #ddd;
    transition: all 0.3s ease;
    min-width: 20px;
}

.progress-line.completed { background: #28a745; }

.step-content { min-height: 320px; }

.step-title {
    color: #0f3460;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 17px;
}

.form-label { color: #333; font-weight: 600; font-size: 13px; margin-bottom: 4px; }

.form-control {
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0f3460;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.15);
}

.form-check-label { font-size: 13px; color: #555; }
.terms-link { color: #0f3460; text-decoration: none; font-weight: 500; }
.terms-link:hover { text-decoration: underline; }

.btn-next {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-next:hover { transform: scale(1.03); color: #fff; }
.btn-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-prev {
    background: transparent;
    color: #0f3460;
    border: 2px solid #0f3460;
    border-radius: 10px;
    padding: 9px 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-prev:hover { background: #0f3460; color: #fff; }

.btn-create {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-create:hover:not(:disabled) { transform: scale(1.03); color: #fff; }
.btn-create:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-verify-phone {
    background: #0f3460;
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 9px 15px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-verify-phone:hover { background: #1a1a2e; color: #fff; }

.otp-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
}

.otp-input {
    width: 42px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    color: #0f3460;
}

.otp-input:focus {
    border-color: #0f3460;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.15);
    transform: scale(1.05);
}

.btn-otp-verify {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 13px;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-otp-verify:hover { transform: scale(1.02); }

.btn-otp-resend {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 13px;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-otp-resend:hover:not(:disabled) { transform: scale(1.02); }
.btn-otp-resend:disabled { opacity: 0.5; cursor: not-allowed; }

#phoneStatus { font-size: 12px; color: #dc3545; }

.terms-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #555;
    max-height: 130px;
    overflow-y: auto;
    border: 1px solid #eee;
}

.terms-box ul { margin-top: 6px; padding-left: 18px; }
.terms-box ul li { margin-bottom: 3px; font-size: 12px; }

.alert { border-radius: 10px; font-size: 13px; padding: 8px 12px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span { padding: 0 15px; color: #999; font-size: 13px; }

.login-text { color: #555; font-size: 14px; }
.login-link { color: #0f3460; font-weight: 600; text-decoration: none; }
.login-link:hover { text-decoration: underline; }

.register-footer { text-align: center; margin-top: 15px; font-size: 13px; color: #888; }
.register-footer a { color: #0f3460; text-decoration: none; }
.register-footer a:hover { text-decoration: underline; }

.form-check-input:checked { background-color: #0f3460; border-color: #0f3460; }

@media (max-width: 480px) {
    .register-card { padding: 25px 18px; }
    .logo-container h3 { font-size: 18px; }
    .logo-container p { font-size: 13px; }
    .btn-return { font-size: 13px; padding: 5px 12px; }
    .form-label { font-size: 12px; }
    .form-control { font-size: 13px; padding: 8px 12px; }
    .step-title { font-size: 15px; }
    .otp-input { width: 35px; height: 40px; font-size: 17px; }
    .otp-container { gap: 5px; }
    .btn-next, .btn-prev, .btn-create { font-size: 12px; padding: 7px 16px; }
    .progress-step { width: 25px; height: 25px; font-size: 11px; }
    .btn-verify-phone { font-size: 12px; padding: 7px 10px; }
    .terms-box { font-size: 12px; max-height: 100px; }
}