/* Manulife 2025 - Common Button Styles */
/* Có thể sử dụng chung cho các màn hình khác */

.btn-manulife-primary {
    background: #ed6453 !important;
    border: none !important;
    border-radius: 0px;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    padding: 1rem 2rem !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    font-size: 1.3rem !important;
}

.btn-manulife-primary:hover {
    background: #F8F9FA !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
    background-color: #ed6453 !important;
    color: #ffffff !important;
}

.btn-manulife-primary:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    background-color: #ed6453 !important;
    color: #ffffff !important;
}

.btn-manulife-primary:disabled {
    background: #ededed !important;
    color: #000000 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-manulife-primary:focus-visible {
    outline: 2px solid #141414 !important;
    outline-offset: 2px !important;
}

/* Loading state */
.btn-manulife-primary.loading {
    position: relative;
    color: transparent !important;
}

.btn-manulife-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #00A651;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Input error styles */
.input-field.error {
    border-bottom: 3px solid #880000;
    background: rgba(239, 68, 68, 0.2);
}

.input-error-message {
    color: #880000;
    font-size: 1rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-error-message::before {
    content: "⚠️";
    font-size: 1rem;
}
