/* Registration Page */
.reg-page { display: flex; min-height: 100vh; }

.reg-left {
    display: none;
    width: 45%;
    background: linear-gradient(135deg, #9828c8 0%, #6d28d9 50%, #4c1d95 100%);
    color: white;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) { .reg-left { display: flex; align-items: center; } }

.reg-left-content { position: relative; z-index: 2; }
.reg-left-title { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; margin-top: 32px; }
.reg-left-desc { font-size: 16px; opacity: 0.85; line-height: 1.6; margin-bottom: 32px; }
.reg-left-note { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; font-size: 13px; opacity: 0.9; }

.reg-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #f8f7fb; }
.reg-form-wrap { width: 100%; max-width: 600px; }

.reg-header { margin-bottom: 32px; }
.reg-step-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #9828c8; margin-bottom: 8px; }
.reg-title { font-size: 28px; font-weight: 800; color: #1e1731; margin-bottom: 8px; }
.reg-subtitle { font-size: 14px; color: #716b80; }

/* Steps */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.step { display: flex; align-items: center; gap: 8px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: #e9e5ef; color: #716b80; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.step-text { font-size: 13px; font-weight: 600; color: #716b80; }
.step.active .step-num { background: #9828c8; color: white; }
.step.active .step-text { color: #1e1731; }
.step.done .step-num { background: #168357; }
.step-line { flex: 1; height: 2px; background: #e9e5ef; margin: 0 12px; }
.step-line.active { background: #9828c8; }

/* Fields */
.form-section { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field-row { display: flex; gap: 16px; }
@media (max-width: 640px) { .field-row { flex-direction: column; } }

label { font-size: 13px; font-weight: 600; color: #1e1731; }
.req { color: #c43c4b; }

.input-wrapper {
    position: relative;
    width: 100%;
}

.input {
    padding: 12px 16px;
    border: 1.5px solid #e9e5ef;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: white;
    color: #1e1731;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}

.input-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.input:focus { border-color: #9828c8; box-shadow: 0 0 0 3px rgba(152,40,200,0.1); }
.input-success { border-color: #168357; }
.input-success:focus { box-shadow: 0 0 0 3px rgba(22,131,87,0.1); }
.input-error { border-color: #dc2626 !important; background-color: #fef2f2; }
.input-error:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.15) !important; }

.input.readonly { background: #f8f7fb; color: #716b80; display: flex; align-items: center; gap: 8px; cursor: default; }

select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23716b80' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.field-msg { font-size: 12px; font-weight: 500; margin-top: 4px; display: block; }
.field-msg.success { color: #168357; }
.field-msg.error { color: #dc2626; }

.sponsor-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sponsor-details.show {
    max-height: 500px;
    opacity: 1;
}

.verify-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f8f0;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #168357;
    font-weight: 500;
}

/* Buttons */
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.spacer { flex: 1; }

.btn-back {
    padding: 12px 24px;
    background: transparent;
    border: 1.5px solid #e9e5ef;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #716b80;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}
.btn-back:hover { border-color: #9828c8; color: #9828c8; }

.btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #9828c8, #6d28d9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 24px rgba(152,40,200,0.25);
    transition: all 0.3s;
}
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(152,40,200,0.35); }
.btn-next:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.reg-footer { text-align: center; margin-top: 24px; font-size: 14px; color: #716b80; }
.reg-footer a { color: #9828c8; font-weight: 600; text-decoration: none; }
.reg-footer a:hover { text-decoration: underline; }
