/**
 * Styles for the auth_sms1 signup form (phone step + activation/details step).
 *
 * @package auth_sms1
 */

.sms1-signup {
    max-width: 640px;
    margin: 0 auto;
}

/* Demo mode banner */
.sms1-demo-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff6e5, #ffe9c2);
    border: 1px solid #f5c26b;
    color: #8a5a00;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.sms1-demo-banner i {
    font-size: 16px;
}

/* Step indicator */
.sms1-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    direction: ltr;
}

.sms1-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 90px;
}

.sms1-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eceff1;
    color: #90a4ae;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid #eceff1;
    transition: all 0.25s ease;
}

.sms1-step.active .sms1-step-circle {
    background: #f9a11c;
    border-color: #f9a11c;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(249, 161, 28, 0.2);
}

.sms1-step.done .sms1-step-circle {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.sms1-step-label {
    font-size: 12px;
    color: #78909c;
    font-weight: 600;
}

.sms1-step.active .sms1-step-label {
    color: #f9a11c;
}

.sms1-step.done .sms1-step-label {
    color: #4caf50;
}

.sms1-step-line {
    width: 60px;
    height: 3px;
    background: #eceff1;
    margin: 0 6px 20px;
    border-radius: 2px;
}

.sms1-step-line.done {
    background: #4caf50;
}

/* Section headers (fieldset legends) */
.sms1-signup legend {
    font-size: 16px;
    font-weight: 700;
    color: #37474f;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid #fdebd0;
    width: 100%;
}

/* Helper / info blocks */
.sms1-help {
    font-size: 13px;
    color: #78909c;
    margin-top: 6px;
}

.sms1-warn {
    font-size: 13px;
    color: #c62828;
    background: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 6px 12px;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sms1-sentto {
    background: #eef7ee;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Inputs */
.sms1-signup input[type="text"],
.sms1-signup input[type="password"],
.sms1-signup input[type="email"] {
    border-radius: 10px !important;
    border: 1px solid #dfe3e8 !important;
    padding: 10px 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sms1-signup input[type="text"]:focus,
.sms1-signup input[type="password"]:focus,
.sms1-signup input[type="email"]:focus {
    border-color: #f9a11c !important;
    box-shadow: 0 0 0 3px rgba(249, 161, 28, 0.15) !important;
    outline: none;
}

/* Activation code input emphasis */
#id_activation_code {
    font-size: 20px !important;
    font-weight: 700;
    color: #f9a11c;
    background: #fffaf0 !important;
}

/* Buttons */
.sms1-signup .btn {
    border-radius: 24px !important;
    padding: 8px 26px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.sms1-signup .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
