/* Estilização do formulário de cartão no Checkout */
#mcc-cc-form {
    background: #fdfdfd;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 20px;
}

#mcc-cc-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

#mcc-cc-form input[type="text"],
#mcc-cc-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

#mcc-cc-form input:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 5px rgba(26, 115, 232, 0.2);
}

#mcc-cc-form .required {
    color: #d63638;
}

/* Layout lado a lado: Validade + CVV */
#mcc-cc-form .mcc-row {
    display: flex;
    gap: 15px;
}

#mcc-cc-form .mcc-col {
    flex: 1;
}

/* Feedback visual de validação */
#mcc-cc-form input.mcc-valid {
    border-color: #2ecc71 !important;
    box-shadow: 0 0 4px rgba(46, 204, 113, 0.3) !important;
}

#mcc-cc-form input.mcc-invalid {
    border-color: #d63638 !important;
    box-shadow: 0 0 4px rgba(214, 54, 56, 0.3) !important;
}

/* Estilo para o Backoffice (Admin) */
.mcc-admin-wrapper {
    margin-top: 10px;
}

.mcc-admin-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.mcc-admin-wrapper td {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.mcc-admin-wrapper strong {
    color: #555;
}

/* Página de detalhe */
.mcc-detail-section {
    margin-bottom: 25px;
    background: #fff;
    padding: 15px 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.mcc-detail-section h2 {
    margin: 0 0 12px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.mcc-detail-section td {
    padding: 6px 10px;
}

.mcc-badge {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== Popup Modal (Checkout) ===== */
#mcc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: mcc-fade-in 0.2s ease;
}

#mcc-popup-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 35px 30px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: mcc-slide-up 0.3s ease;
}

#mcc-popup-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

#mcc-popup-box h2 {
    margin: 0 0 15px;
    font-size: 22px;
    color: #d63638;
    font-weight: 700;
}

#mcc-popup-box p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

#mcc-popup-close {
    margin-top: 20px;
    background: #d63638;
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#mcc-popup-close:hover {
    background: #b32d2e;
}

@keyframes mcc-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes mcc-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}