/**
 * DreamSecurity Mobile Auth — Frontend CSS (v2.0.0)
 */

.dsma-container {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
}

.dsma-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #2D7BF4;
    color: #fff;
    border: 1px solid #2D7BF4;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
    line-height: 1;
    min-height: 44px;
    text-decoration: none;
}

.dsma-auth-button:hover {
    background: #1f5fc9;
    border-color: #1f5fc9;
}

.dsma-auth-button:active {
    transform: translateY(1px);
}

.dsma-auth-button:disabled,
.dsma-auth-button.is-loading {
    background: #b9c7da;
    border-color: #b9c7da;
    cursor: not-allowed;
}

.dsma-auth-button__icon {
    font-size: 18px;
}

.dsma-auth-button__label {
    font-size: 15px;
}

.dsma-result {
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}

.dsma-result.is-info {
    background: #eef4ff;
    color: #1c3d7a;
    border-color: #c8d8f7;
}

.dsma-result.is-success {
    background: #e8f7ee;
    color: #116329;
    border-color: #b6e1c4;
}

.dsma-result.is-error {
    background: #fdecea;
    color: #a6220f;
    border-color: #f5c2c0;
}

.dsma-error {
    background: #fff8c5;
    color: #6e5300;
    border: 1px solid #f0d65a;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 8px;
}

/* 인증 정보 표시 (마스킹) */
.dsma-verified-info {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.dsma-verified-info.is-ok {
    background: #e8f7ee;
    color: #116329;
}

.dsma-verified-info.is-empty {
    background: #f5f5f5;
    color: #777;
}

/* 회원가입 블록 (옵션) */
.dsma-register-block {
    padding: 12px;
    background: #fafbfd;
    border: 1px solid #e3e7ee;
    border-radius: 6px;
    margin: 12px 0;
}

.dsma-register-label {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 14px;
}

.dsma-required {
    color: #d33;
}

.dsma-register-state {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 8px;
}

.dsma-register-state.is-pending {
    background: #fff8c5;
    color: #6e5300;
}

.dsma-register-state.is-ok {
    background: #e8f7ee;
    color: #116329;
    font-weight: 600;
}
