:root {
    /* === Brand colors (7-Eleven inspired) === */
    --color-green: #004947;
    --color-green-dark: #071c1a;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-orange: #EB6548;
    --color-yellow: #FFBF39;

    --color-secondary-green: #0F7C5B;
    --color-secondary-yellow: #f6c94c;
    --color-secondary-purple: #A32649;
    --color-secondary-blue: #A0D8C4;
    --color-secondary-pink: #F48924;
    --color-secondary-gray: #ACACAC;
    --color-secondary-gray-light: #F0F0F0;


    /* === UI === */
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 10px;
}

@font-face {
    font-family: 'crawford';
    src: url("../fonts/crawford-regular-jlCSrAr.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ppmonumentextended';
    src: url("../fonts/ppmonumentextended-regular-trvqwJ1.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ppmonumentextended';
    src: url("../fonts/ppmonumentextended-black-VWOgdg4.woff2") format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ppmonumentextended';
    src: url("../fonts/ppmonumentextended-light-JKwyUFk.woff2") format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'hostgrotesk';
    src: url("../fonts/hostgrotesk-regular-sjSPnff.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'hostgrotesk';
    src: url("../fonts/hostgrotesk-bold-7sWVPsf.woff2") format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    font-size: 16px;
}

body {
    font-family: 'hostgrotesk', sans-serif;
    font-size: 20px;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 75px;
    font-family: 'crawford';
}

h2 {
    font-size: 60px;
    font-family: 'ppmonumentextended';
}

h3 {
    font-size: 40px;
    font-family: 'ppmonumentextended';
    font-weight: 900;
}

h4 {
    font-size: 32px;
    font-family: 'ppmonumentextended';
}


@media (max-width: 768px) {

    * {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 37px;
        font-weight: 300;
    }

    h3 {
        font-size: 32px;
        font-weight: 400;
    }

    h4 {
        font-size: 20px;
        font-weight: 900;
    }
}

.btn {
    background-color: var(--color-secondary-green);
    color: var(--color-white);
    padding: 18px 20px;
    border-radius: var(--radius-md);
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: 'ppmonumentextended';
}

.btn:disabled {
    background-color: var(--color-secondary-gray);
    cursor: not-allowed;
}

input {
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-secondary-gray);
    width: 100%;
    height: 53px;
    padding: 16px;
}

input::placeholder {
    color: var(--color-secondary-gray);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    margin: 20px 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

header {
    background-color: var(--color-secondary-green);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 15px;
    gap: 15px;
}

header img {
    width: auto;
    height: auto;
}

header .header-user {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
}

header .header-user img {
    width: 48px;
    height: 48px;
}

header .header-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

header .header-icons img {
    width: auto;
    height: auto;
}

header .header-icons button {
    background: transparent;
    border: none;
    cursor: pointer;
}

header .header-icons .header-points {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 4px 8px;
    background-color: var(--color-yellow);
    color: var(--color-black);
    border-radius: 20px;
}

main {
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding-left: 15px;
    padding-right: 15px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border: 1px solid var(--color-secondary-gray);
}

@media (max-width: 400px) {
    footer {
        justify-content: space-between;
    }
}

footer .footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-secondary-gray);
}

footer .footer-link.active {
    color: var(--color-secondary-green);
}

.app-return {
    align-self: flex-start;
    margin-bottom: 20px;
}

.app-return:hover {
    transform: translateX(-5px);
    transition: transform 0.2s ease-in-out;
}

.app-page-name {
    font-family: "ppmonumentextended";
    margin-bottom: 20px;
    align-self: flex-start;
}