.dodo-sms-auth-panel,
.dodo-trusted-device-panel {
    margin: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
}

.dodo-trusted-device-panel h2,
.dodo-trusted-device-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.dodo-trusted-device-panel .meta-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 12px 0;
    font-size: 0.92rem;
}

.dodo-trusted-device-actions {
    align-items: center;
}

.dodo-trusted-device-list {
    margin-top: 18px;
}

.dodo-trusted-device-flash {
    border-radius: 8px;
}

.dodo-sms-auth-panel h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.dodo-sms-auth-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.dodo-sms-auth-status.is-enabled {
    background: #dcfce7;
    color: #166534;
}

.dodo-sms-auth-status.is-disabled {
    background: #fee2e2;
    color: #991b1b;
}

.dodo-sms-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.dodo-sms-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
}

.dodo-sms-auth-modal.is-open {
    display: flex;
}

.dodo-sms-auth-modal__dialog {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.dodo-sms-auth-modal__header,
.dodo-sms-auth-modal__body,
.dodo-sms-auth-modal__footer {
    padding: 18px 22px;
}

.dodo-sms-auth-modal__header {
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dodo-sms-auth-modal__header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.dodo-sms-auth-modal__close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.dodo-sms-auth-channel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

.dodo-sms-auth-channel button {
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
}

.dodo-sms-auth-channel button.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.dodo-sms-auth-code-input {
    letter-spacing: 4px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.dodo-sms-auth-info {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 10px;
}

.dodo-sms-auth-alert {
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.dodo-sms-auth-alert.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.dodo-sms-auth-alert.is-success {
    background: #dcfce7;
    color: #166534;
}

.dodo-sms-auth-gate {
    margin-top: 20px;
    padding: 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.dodo-sms-auth-timer {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 8px;
}

@media (max-width: 576px) {
    .dodo-sms-auth-channel {
        grid-template-columns: 1fr;
    }
}
