/* SOIP — Auth Pages (Login / Register) */

/* ============ Page Layout ============ */
body.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.auth-page-register {
    min-height: auto;
    display: block;
    padding: 2rem 0;
}

/* ============ Auth Card ============ */
.auth-card {
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.auth-card.auth-card-login {
    max-width: 420px;
    margin: 0 auto;
}

/* ============ Auth Header ============ */
.auth-heading {
    letter-spacing: -0.03em;
    color: #111827;
}

.auth-subtitle {
    color: #6B7280;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.auth-footer-text {
    font-size: 0.78rem;
    color: #9CA3AF;
}

.auth-link {
    color: #2563EB;
}

/* ============ Section Labels (Register) ============ */
.section-label {
    font-weight: 600;
    color: #111827;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.form-check-inline {
    margin-right: 1rem;
}

/* ============ Language Rows (Register) ============ */
.lang-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.lang-row select {
    flex: 1;
}

.lang-row .btn-remove {
    flex: 0 0 auto;
}

/* ============ Wizard Progress (Register) ============ */
.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.wizard-step-indicator {
    display: flex;
    align-items: center;
}

.wizard-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #e9ecef;
    color: #6c757d;
    transition: all 0.3s;
}

.wizard-dot.active {
    background: #2563EB;
    color: white;
}

.wizard-dot.done {
    background: #059669;
    color: white;
}

.wizard-line {
    width: 60px;
    height: 2px;
    background: #E5E7EB;
    margin: 0 4px;
    align-self: center;
    transition: background 0.3s;
}

.wizard-line.done {
    background: #059669;
}

.wizard-label {
    font-size: 0.7rem;
    color: #6B7280;
    text-align: center;
    margin-top: 4px;
}

.wizard-label.active {
    color: #2563EB;
    font-weight: 600;
}

/* ============ Step Visibility (Register) ============ */
.wizard-step {
    display: none;
}

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

/* ============ Button: Success Variant ============ */
.btn-success {
    background-color: #059669;
    border-color: #059669;
    border-radius: 0.5rem;
}

.btn-success:hover {
    background-color: #047857;
    border-color: #047857;
}

/* ============ CV Upload Zone (Register) ============ */
.cv-upload-zone {
    border: 2px dashed #D1D5DB;
    border-radius: 0.75rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #F9FAFB;
}

.cv-upload-zone:hover,
.cv-upload-zone.dragover {
    border-color: #2563EB;
    background: rgba(37, 99, 235, 0.04);
}

.cv-upload-zone.has-file {
    border-color: #059669;
    border-style: solid;
    background: rgba(5, 150, 105, 0.04);
}

.cv-upload-icon {
    font-size: 2.5rem;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
}

.cv-upload-zone.has-file .cv-upload-icon {
    color: #059669;
}

/* ============ Password Match Indicator (Register) ============ */
.password-match-indicator {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.password-match-indicator.match {
    color: #059669;
}

.password-match-indicator.mismatch {
    color: #DC2626;
}

/* ============ Inline Validation (Register) ============ */
.invalid-feedback {
    display: block;
}

.cv-upload-zone.is-invalid {
    border-color: #DC2626;
}

.cv-error-feedback {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.seeking-error {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
