* {
    box-sizing: border-box;
}

:root {
    --primary: #993333;
    --primary-dark: #7d2929;
    --background: #CADFEC;
    --card: #ffffff;
    --text: #111111;
    --muted: #000000;
    --border: #e5e5e5;
}

/* =========================
   BODY
========================= */

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

/* =========================
   HEADER
========================= */

header {
    background: #ffffff;
    border-bottom: 4px solid var(--primary);
    padding: 28px 20px;
    text-align: center;
}

header h1,
header h2 {
    margin: 0;
    color: var(--primary);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
}

/* =========================
   CONTAINER
========================= */

.container {
    max-width: 950px;
    margin: 35px auto;
    background: var(--card);
    border-radius: 16px;
    padding: 38px;
    box-shadow:
        0 5px 14px rgba(0,0,0,0.06),
        0 2px 5px rgba(0,0,0,0.08);
}

/* =========================
   HEADINGS
========================= */

h3 {
    margin-top: 34px;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

/* =========================
   SECTIONS
========================= */

.section {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fafafa;
    font-size: 18px;
    line-height: 1.8;
}

/* =========================
   QR CODE
========================= */

.qr {
    text-align: center;
    margin: 40px 0;
}

.qr img {
    width: 100%;
    max-width: 260px;
    height: auto;
}

/* =========================
   FORMS
========================= */

input,
select {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
    margin-bottom: 18px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    background: #ffffff;
    color: #000000;
    font-size: 18px;
    transition: all 0.2s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(153, 51, 51, 0.18);
}

/* =========================
   BUTTONS
========================= */

button {
    width: 100%;
    padding: 18px;
    margin-top: 18px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background: var(--primary-dark);
}

/* =========================
   LINKS
========================= */

a {
    color: #000000 !important;
    text-decoration: none;
    word-break: break-word;
}

a:visited {
    color: #000000 !important;
}

a:hover {
    text-decoration: underline;
}

/* =========================
   LAYOUTS
========================= */

.center-layout {
    text-align: center;
}

.left-layout {
    text-align: left;
}

/* =========================
   FOOTER
========================= */

.footer {
    margin-top: 50px;
    padding-top: 24px;
    text-align: center;
    font-size: 15px;
    color: var(--muted);
    line-height: 2;
}

.footer a {
    color: #000000 !important;
}

.footer-hr {
    border: 2.5px solid #993333 !important;
}

/* =========================
   MOBILE
========================= */

@media screen and (max-width: 768px) {

    body {
        background: #ffffff;
        font-size: 19px;
    }

    header {
        padding: 26px 18px;
    }

    header h1,
    header h2 {
        font-size: 34px;
    }

    .container {
        width: 100%;
        margin: 0;
        padding: 26px;
        border-radius: 0;
        box-shadow: none;
    }

    h3 {
        font-size: 26px;
    }

    .section {
        padding: 22px;
        margin-top: 22px;
        font-size: 19px;
        border-radius: 14px;
    }

    input,
    select {
        font-size: 19px;
        padding: 18px;
        border-radius: 12px;
    }

    button {
        padding: 20px;
        font-size: 20px;
        border-radius: 12px;
    }

    .qr img {
        max-width: 280px;
    }

    .footer {
        font-size: 15px;
        padding-bottom: 30px;
    }
}

/* =========================
   SMALL DEVICES
========================= */

@media screen and (max-width: 480px) {

    body {
        font-size: 20px;
    }

    header h1,
    header h2 {
        font-size: 30px;
    }

    .container {
        padding: 22px;
    }

    h3 {
        font-size: 24px;
    }

    .section {
        font-size: 20px;
        padding: 20px;
    }

    input,
    select {
        font-size: 20px;
        padding: 18px;
    }

    button {
        font-size: 21px;
        padding: 20px;
    }

    .qr img {
        max-width: 260px;
    }
}

/* =========================
   PRINT
========================= */

@media print {

    body {
        background: #ffffff;
        font-size: 14px;
    }

    .container {
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .section {
        border: none;
        background: none;
        padding: 12px 0;
    }

    button,
    form {
        display: none;
    }

    a {
        color: #000000 !important;
        text-decoration: none;
    }
}