* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111111;
    font-size: 14px;
}


/* ========================================
   HEADER
======================================== */

.header {
    width: 100%;
    height: 60px;

    border-bottom: 1px solid #dedede;

    background: #ffffff;
}

.header-container {
    max-width: 1200px;
    height: 100%;

    margin: auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.logo {
    display: block;

    max-width: 90px;
    max-height: 38px;

    object-fit: contain;
}

.chat-button {
    padding: 6px 17px;

    border: 1px solid #222;
    border-radius: 20px;

    background: white;

    color: #111;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: 0.15s;
}

.chat-button:hover {
    background: #f5f5f5;
}


/* ========================================
   PÁGINA
======================================== */

.page {
    width: 100%;

    display: flex;
    justify-content: center;

    padding: 12px 20px 70px;
}


/* ========================================
   CARD
======================================== */

.checkout-card {
    width: 430px;

    min-height: 820px;

    padding: 25px 24px 35px;

    background: #ffffff;

    border: 1px solid #d5d5d5;
    border-radius: 5px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02);
}


/* ========================================
   AVISO
======================================== */

.warning {
    min-height: 74px;

    padding: 14px;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    background: #fff9e8;

    color: #745116;

    font-size: 12px;
    line-height: 1.45;
}

.warning-icon {
    width: 18px;
    height: 18px;

    min-width: 18px;

    border: 1px solid #d8b558;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #b58a1e;

    font-size: 11px;

    margin-top: 1px;
}

.warning-text {
    flex: 1;
}

.warning-text strong {
    font-weight: 700;
}


/* ========================================
   TIMER
======================================== */

.timer-box {
    height: 39px;

    margin-top: 20px;

    border-top: 4px solid #7811a8;

    background: #fafafa;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    font-size: 13px;
}

.timer-box strong {
    color: #65128b;

    font-size: 14px;
}

.clock-icon {
    color: #888;

    font-size: 17px;
}


/* ========================================
   INFORMAÇÕES DO PAGAMENTO
======================================== */

.payment-info {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 40px;

    padding: 15px 5px 10px;
}

.payment-method {
    display: flex;
    align-items: center;

    gap: 10px;
}

.payment-method div:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.payment-method span,
.processor span {
    color: #333;

    font-size: 12px;
}

.payment-method strong {
    font-size: 14px;
}

.pix-icon {
    width: 25px;
    height: 25px;
}

.processor {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.processor strong {
    font-size: 13px;
}


/* ========================================
   DIVISÓRIA
======================================== */

.divider {
    width: 100%;
    height: 1px;

    background: #d4d4d4;
}


/* ========================================
   INSTRUÇÕES
======================================== */

.instructions {
    padding-top: 13px;

    font-size: 12px;

    line-height: 1.45;
}

.instructions .intro {
    margin-bottom: 15px;
}

.instructions p {
    margin-bottom: 15px;
}


/* ========================================
   QR CODE
======================================== */

.qr-area {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px 0 22px;
}

.qr-placeholder {
    width: 205px;
    height: 205px;

    border: 1px solid #dedede;

    background: #fafafa;

    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder img,
.qr-placeholder canvas {
    width: 100% !important;
    height: 100% !important;

    display: block;
}

.qr-message {
    width: 150px;

    text-align: center;

    display: flex;
    flex-direction: column;

    gap: 8px;

    color: #777;
}

.qr-message strong {
    color: #333;

    font-size: 14px;
}

.qr-message span {
    font-size: 11px;
    line-height: 1.4;
}


/* ========================================
   PIX COPIA E COLA
======================================== */

.copy-section {
    padding-top: 15px;
}

.copy-section h2 {
    margin-bottom: 15px;

    font-size: 14px;
    line-height: 1.35;
}

.copy-section p {
    margin-bottom: 15px;

    font-size: 12px;
    line-height: 1.45;
}

.pix-code-box {
    display: flex;

    width: 100%;

    border: 1px solid #cfcfcf;
    border-radius: 4px;

    overflow: hidden;
}

.pix-code-box input {
    flex: 1;

    min-width: 0;

    padding: 11px;

    border: 0;
    outline: none;

    background: #ffffff;

    color: #555;

    font-size: 11px;
}

.pix-code-box button {
    padding: 0 16px;

    border: 0;

    background: #74119c;

    color: white;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.pix-code-box button:hover:not(:disabled) {
    background: #5f0c82;
}

.pix-code-box button:disabled {
    background: #b8b8b8;

    cursor: not-allowed;
}

.copy-message {
    display: block;

    min-height: 17px;

    margin-top: 7px;

    color: #18864b;

    font-size: 11px;
}


/* ========================================
   STATUS
======================================== */

.payment-status {
    margin-top: 18px;

    padding: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    background: #f7f7f7;

    border-radius: 3px;

    color: #555;

    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #e0a51d;

    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }

    100% {
        opacity: 1;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 500px) {

    .header {
        height: 58px;
    }

    .header-container {
        padding: 0 15px;
    }

    .logo {
        max-width: 80px;
        max-height: 34px;
    }

    .page {
        padding: 0;
    }

    .checkout-card {
        width: 100%;

        min-height: calc(100vh - 58px);

        padding: 20px 18px 40px;

        border: 0;
        border-radius: 0;
    }

    .payment-info {
        justify-content: space-between;

        gap: 10px;
    }

    .qr-placeholder {
        width: 210px;
        height: 210px;
    }

}