/* SMS Login Plugin Styles */
.sms-login-wrap {
    max-width: 400px;
    margin: 40px auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sms-login-title {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    text-align: center;
}

.sms-login-field {
    margin-bottom: 16px;
}

.sms-login-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.sms-login-field input[type="tel"],
.sms-login-field input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    color: #111827;
    box-sizing: border-box;
    transition: border-color .2s;
    outline: none;
}

.sms-login-field input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.sms-login-code-row {
    position: relative;
}

.sms-login-code-row input[type="text"] {
    padding-right: 130px;
}

.sms-send-btn {
    position: absolute;
    right: 4px;
    bottom: 4px;
    height: calc(100% - 8px);
    padding: 0 14px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.sms-send-btn:hover:not(:disabled) {
    background: #2563eb;
}

.sms-send-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.sms-login-btn {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: background .2s;
}

.sms-login-btn:hover:not(:disabled) {
    background: #2563eb;
}

.sms-login-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.sms-message {
    min-height: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    text-align: center;
}

.sms-message.error   { color: #dc2626; }
.sms-message.success { color: #16a34a; }

.sms-login-notice {
    text-align: center;
    color: #374151;
}
