#sml-wrapper,
.sml-checkout-wrapper,
.sml-login-wrapper {
    margin-top: 20px;
    padding: 20px 8px;
    width: 100%;
    clear: both;
    text-align: center;
}

#sml-trigger,
.sml-btn {
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 0.8em 1em;
    background-color: var(--primary, #2271b1);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.15s ease, opacity 0.15s ease;
}

#sml-trigger:hover,
.sml-btn:hover {
    filter: brightness(95%);
}

#sml-msg-container {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    text-align: center;
    width: 100%;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}

#sml-msg-container.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#sml-msg-container.danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#sml-msg-container.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

#sml-msg-container.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.sml-btn-busy {
    pointer-events: none !important;
    opacity: 0.6;
    cursor: wait !important;
}

#sml-msg-container.info:after {
    content: "...";
    display: inline-block;
    animation: smlPulse 1.5s infinite;
}

@keyframes smlPulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

#sml-timer {
    font-weight: bold;
}

.sml-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #a8a8a8;
}

.sml-separator::before,
.sml-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.sml-separator:not(:empty)::before {
    margin-right: .5em;
}

.sml-separator:not(:empty)::after {
    margin-left: .5em;
}

.sml-separator span {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
}