/* Minimal ThaID addition for the existing patient and VHV login pages. */

.thaid-login {
    margin-bottom: 0;
}

.thaid-button {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 10px;
    background: #08095b;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

.thaid-button:hover,
.thaid-button:focus-visible {
    background: #15177a;
    color: #fff;
    box-shadow: 0 8px 18px rgba(8, 9, 91, 0.22);
}

.thaid-button[aria-busy="true"] {
    pointer-events: none;
    opacity: 0.72;
}

.thaid-button__logo {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 9px;
    object-fit: cover;
}

.login-separator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.35;
    text-align: center;
}

.login-separator::before,
.login-separator::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: #e0e0e0;
}

.login-separator span {
    flex: 0 1 auto;
}

@media (prefers-reduced-motion: reduce) {
    .thaid-button {
        transition: none;
    }
}
