.dttn-lm-wrap { padding: 5px; text-align: center; }

.dttn-lm-btn {
    display: inline-block !important;
    padding: 9px 35px !important;
    background: #1a73e8 !important;
    color: #fff !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold !important;
    font-size: 16px !important;
    border: 1px solid #fff !important;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3) !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
}
.dttn-lm-btn:hover:not([disabled]) {
    background: #1559b8 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.4) !important;
}
/* Khi đang đếm / loading: GIỮ nền xanh chữ trắng */
.dttn-lm-btn[disabled],
.dttn-lm-btn.dttn-lm-loading {
    background: #1a73e8 !important;
    color: #fff !important;
    opacity: .85;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3) !important;
    transform: none !important;
}

.dttn-lm-msg {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.dttn-lm-codebox {
    display: inline-block;
    padding: 14px 18px;
    background: #f0fff0;
    border: 2px solid #28a745;
    border-radius: 8px;
    animation: dttn-lm-pulse 2s infinite;
}
.dttn-lm-code-display {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.dttn-lm-code-label { font-weight: 600; color: #155724; }
.dttn-lm-code-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 18px;
    color: #155724;
    background: rgba(255,255,255,0.85);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(21,87,36,0.3);
    user-select: all;
    cursor: text;
    letter-spacing: 1px;
}
.dttn-lm-copy-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}
.dttn-lm-copy-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}
.dttn-lm-copy-success {
    background: #28a745 !important;
    color: #fff !important;
}
.dttn-lm-token-info {
    margin-top: 10px;
    font-size: 12px;
    color: #555;
}

.dttn-lm-loading { opacity: .7; pointer-events: none; }

@keyframes dttn-lm-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(40,167,69,0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(40,167,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(40,167,69,0); }
}

@media (max-width: 480px) {
    .dttn-lm-wrap { padding: 10px; }
    .dttn-lm-code-display { flex-direction: column; gap: 6px; }
    .dttn-lm-code-value { font-size: 15px; word-break: break-all; }
}
