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

:root {
    --bg: #0f1720;
    --panel: #0b1220;
    --muted: #94a3b8;
    --card: #0b1228;
    --glass: rgba(255, 255, 255, 0.04);
    --color-white: hsl(0, 3%, 87%);
    --color-fill-brand: #a970ff;
}

body {
    background: var(--bg);
    color: var(--color-white);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
.app-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    color: hsl(0, 3%, 87%);
}

header {
    background: var(--panel);
    color: var(--color-white);
    padding: 20px;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
}

.checkout,
.donation-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 80vh;
}

main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

/* ===== Lado esquerdo ===== */
.left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 600px;
    color: var(--color-white);
}

.left h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.left p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ===== Lado direito ===== */
.right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 600px;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #2a2a2a;
    color: #fff;
}

textarea {
    resize: none;
    min-height: 70px;
}

.donate-options {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.amount-btn {
    flex: 1;
    min-width: 60px;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #222;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.amount-btn:hover {
    background: #00aaff;
}

.amount-btn.active {
    background: #00aaff;
    border-color: #00aaff;
}

#customAmount,
#customAmountCheckout {
    flex: 2;
    max-width: 150px;
}

.donate-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#donateBtn,
#pixDonate,
#paypalDonate {
    padding: 14px;
    background: #00aaff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#donateBtn:hover,
#pixDonate:hover,
#paypalDonate:hover {
    background: #008ecc;
}

.checkout .subtotal,
.checkout .total {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.hidden {
    display: none;
}

/* BACK BUTTON */
#backToDonation {
    display: inline-flex;
    align-items: center;
    width: 100px;
    gap: 6px;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #0f1720;
    color: #f8fafc;
    border: 2px solid #2563eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

#backToDonation:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#backToDonation:active {
    transform: translateY(0);
    box-shadow: none;
}