.register-container {
    width: 100%;
    max-width: 430px;
    background: var(--bg);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
    height: auto;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (max-width: 480px) {
    body {
        padding: 0;
        background: var(--bg);
    }
    .register-container {
        border-radius: 0;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
    }
}


.reg-header {
    background:  #FFD700;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.reg-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    flex: 1;
    text-align: center;
}
.back-btn-header {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}
.back-btn-header:active {
    background: #e5e7eb;
    transform: scale(0.94);
}
.reg-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 18px;
    padding-bottom: 30px;
}

.steps-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}
.step-dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    transition: all 0.2s;
}
.step-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--primary);
}
.step-dot.completed {
    background: var(--success);
    width: 10px;
}
.step-line {
    width: 40px;
    height: 2px;
    background: #e2e8f0;
}


.form-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}
.form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
}
.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    font-size: 0.95rem;
    transition: 0.2s;
    background: var(--surface);
    font-family: inherit;
    direction: rtl;
}
.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
.btn-primary-custom {
    background: var(--primary);
    border: none;
    padding: 14px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    width: 100%;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.btn-primary-custom:active {
    background: var(--primary-dark);
    transform: scale(0.97);
}
.resend-area {
    text-align: center;
    margin-top: 18px;
    font-size: 0.85rem;
}
.resend-link {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.resend-link.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}
.mobile-hint {
    background: #fef9e3;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 0.75rem;
    color: #b45309;
    margin-top: 16px;
    text-align: center;
}


.toast-floating {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #1f2937;
    color: white;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.25s, transform 0.2s;
    pointer-events: none;
    white-space: nowrap;
    max-width: 85%;
    text-align: center;
    white-space: normal;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.toast-floating.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}


.text-muted-small {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.mt-2 {
    margin-top: 8px;
}
.mb-2 {
    margin-bottom: 8px;
}
.w-100 {
    width: 100%;
}
button {
    font-family: inherit;
}
.alert-error {
    color: var(--danger);
    font-size: 0.7rem;
    margin-top: 5px;
    margin-right: 8px;
}
