:root {
    --primary-color: #343a40;
    --accent-color: #ff4081;
}

@font-face {
    font-family: 'Public Sans';
    src: url('../fonts/PublicSans-Regular.woff2') format('woff2');
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(22, 28, 36);
    font-family: 'Public Sans', Arial, sans-serif;
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: height 200ms cubic-bezier(0.4, 0, 0.2, 1), background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    background-color: #000;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-scrolled {
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.8);
}

.black-line {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 20px 30px 0px;
    background-color: rgb(0, 0, 0);
    height: 18px;
    margin: 64px 0 0;
}

.toolbar {
    height: 64px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

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

.logo {
    height: 40px;
    cursor: pointer;
}

.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    background-color: transparent;
    outline: 0px;
    border: 0px;
    margin: 0px 0px 0px 8px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    text-align: center;
    flex: 0 0 auto;
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 50%;
    overflow: visible;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    color: rgb(255, 255, 255);
}

.menu-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.content-wrapper {
    background-color: rgb(33, 43, 54);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    max-width: 700px;
    margin: -18px auto 0;
    padding: 10px !important;
}

.alert {
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    border: none;
    box-shadow: none;
    background-image: none;
    line-height: 1.57143;
    font-size: 0.875rem;
    font-family: Montserrat, Public Sans, sans-serif;
    font-weight: 400;
    padding: 14px 16px;
    color: rgb(255, 247, 205);

    &.alert-success {
        &::before {
            content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%239ae473' d='M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M16.3,9.61 L11.73,15.61 C11.5412074,15.855247 11.2494966,15.9992561 10.94,16.0000145 C10.6322197,16.001658 10.3408221,15.861492 10.15,15.62 L7.71,12.51 C7.49028166,12.2277602 7.43782669,11.8497415 7.57239438,11.5183399 C7.70696206,11.1869384 8.00810836,10.9525017 8.36239438,10.9033399 C8.7166804,10.8541782 9.07028166,10.9977602 9.29,11.28 L10.92,13.36 L14.7,8.36 C14.917932,8.07418751 15.2717886,7.92635122 15.6282755,7.97217964 C15.9847624,8.01800806 16.2897207,8.25053875 16.4282755,8.58217966 C16.5668304,8.91382056 16.517932,9.29418753 16.3,9.58 L16.3,9.61 Z'%3E%3C/path%3E%3C/svg%3E");
            margin-right: 10px;
            width: 24px;
            height: 24px;
            display: inline-block;
            vertical-align: middle;
        }

        color: #cce8b7;
        background-color: #08660d;
    }

    &.alert-info {
        & {
            display: flex;
            align-items: center;
        }

        &::before {
            content: "";
            margin-right: 10px;
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            /* Impede que o ícone encolha */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgb(116, 202, 255)'%3E%3Cpath d='M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M13,16 C13,16.5522847 12.5522847,17 12,17 C11.4477153,17 11,16.5522847 11,16 L11,11 C11,10.4477153 11.4477153,10 12,10 C12.5522847,10 13,10.4477153 13,11 L13,16 Z M12,9 C11.4477153,9 11,8.55228475 11,8 C11,7.44771525 11.4477153,7 12,7 C12.5522847,7 13,7.44771525 13,8 C13,8.55228475 12.5522847,9 12,9 Z'/%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        color: rgb(208, 242, 255);
        background-color: rgb(4, 41, 122);
    }

    &.alert-danger {
        &::before {
            content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23f19584' d='M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M12,17 C11.4477153,17 11,16.5522847 11,16 C11,15.4477153 11.4477153,15 12,15 C12.5522847,15 13,15.4477153 13,16 C13,16.5522847 12.5522847,17 12,17 Z M13,13 C13,13.5522847 12.5522847,14 12,14 C11.4477153,14 11,13.5522847 11,13 L11,8 C11,7.44771525 11.4477153,7 12,7 C12.5522847,7 13,7.44771525 13,8 L13,13 Z'%3E%3C/path%3E%3C/svg%3E");
            margin-right: 10px;
            width: 24px;
            height: 24px;
            display: inline-block;
            vertical-align: middle;
        }

        background-color: #7a0c2e;
    }

    &.alert-warning {
        &::before {
            content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23f1d25f' d='M22.56,16.3 L14.89,3.58 C14.2597186,2.59400001 13.1702353,1.99737652 12,1.99737652 C10.8297647,1.99737652 9.74028139,2.59400001 9.11,3.58 L1.44,16.3 C0.888546003,17.2192471 0.869485343,18.3628867 1.39,19.3 C1.99197363,20.3551378 3.11522982,21.0046397 4.33,21 L19.67,21 C20.8765042,21.0128744 21.9978314,20.3797441 22.61,19.34 C23.146086,18.3926382 23.1269508,17.2292197 22.56,16.3 L22.56,16.3 Z M12,17 C11.4477153,17 11,16.5522847 11,16 C11,15.4477153 11.4477153,15 12,15 C12.5522847,15 13,15.4477153 13,16 C13,16.5522847 12.5522847,17 12,17 Z M13,13 C13,13.5522847 12.5522847,14 12,14 C11.4477153,14 11,13.5522847 11,13 L11,9 C11,8.44771525 11.4477153,8 12,8 C12.5522847,8 13,8.44771525 13,9 L13,13 Z'%3E%3C/path%3E%3C/svg%3E");
            margin-right: 10px;
            width: 24px;
            height: 24px;
            display: inline-block;
            vertical-align: middle;
        }

        background-color: rgb(122, 79, 1);
    }
}

.section-header {
    display: flex;
    flex-direction: row;
    margin-top: 8px;
    margin-bottom: 8px;
    align-items: baseline;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #fff;
}

.section-subtitle {
    font-size: 12px;
    color: rgb(69, 79, 91);
    margin: 0px 0px 0px 8px;
}

.card {
    text-decoration: none;
    border-radius: 8px;
    border: none;
    background-color: rgb(33, 43, 54);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    overflow: hidden;
}

.card {
    &.featured {
        .campaign-card {
            display: block;
            text-decoration: none;
        }

        .campaign-image {
            width: 100%;
            height: 408px;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }

        .campaign-content {
            padding: 8px;
        }
    }
}

.campaign-card {
    display: flex;
    padding: 0;
}

.campaign-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 12px;
}

.campaign-content {
    flex: 1;
}

.campaign-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #fff;
}

.campaign-subtitle {
    font-size: 12px;
    color: #fff;
    margin: 0 0 8px 0;
}

.status-badge {
    height: 22px;
    min-width: 22px;
    border-radius: 6px;
    cursor: default;
    align-items: center;
    white-space: nowrap;
    display: inline-flex;
    justify-content: center;
    font-family: Montserrat, Public Sans, sans-serif;
    font-size: 0.5em;
    line-height: 1;
    padding: 2.4px 8px;
    font-weight: 600;
    width: auto;
    max-width: 180px;
    margin-top: 4px;
    margin-bottom: 4px;

    &.default {
        color: rgb(33, 43, 54);
        background-color: rgb(223, 227, 232);
    }

    &.success {
        color: #fff;
        background-color: rgb(25, 135, 84);
    }
}

@keyframes piscar {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blink {
    animation: piscar 1.5s infinite;
}


.date-info {
    display: flex;
    align-items: center;
    font-size: 10px;
    color: rgb(145, 158, 171);
    margin-top: 8px;
}

.date-icon {
    margin-right: 4px;
    font-size: 14px;
}

.winner-card {
    display: flex;
    padding: 12px;
    color: #fff;
}

.winner-avatar {
    line-height: 1;
    display: block;
    overflow:
        hidden;
    position: relative;
    height: 110px;
    width: 90px;
    border-radius:
        12px;
    margin-right: 16px;
    min-width: 90px;
    max-width: 90px;
    border-style:
        solid;
    border-width:
        0px;
    background-color: rgb(241, 241, 241);
    border-color:
        rgb(25, 135, 84);
}

.winner-content p {
    margin: 0 0 4px 0;
    font-size: 14px;
}

.winner-name {
    font-weight: 600;
    color: #fff;
}

/* Menu fullscreen */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 1100;
    display: none;
    overflow-y: auto;
}

.fullscreen-menu.open {
    display: block;
}

.menu-header {
    padding: 10.5px 0 16px;
    border: none;

    .container {
        max-width: 700px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

.menu-logo {
    height: 40px;
}

.close-menu {
    cursor: pointer;
    font-size: 28px;
    color: white;
}

.menu-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 16px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-item i {
    margin-right: 16px;
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.login-button {
    display: block;
    width: 100%;
    margin: 24px 0;
    padding: 16px;
    background-color: #e53935;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.login-button i {
    margin-right: 12px;
}

.w-600 {
    max-width: 600px !important;
    padding: 0 !important;
    overflow: hidden;
}

.app-footer {
	background-color: #202a35;
	padding: 30px 0;
	margin-top: 40px;
	border-top: 1px solid #3c4955;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-legal-text {
    font-size: 12px;
    color: #becbd9;
    line-height: 1.6;
    max-width: 960px;
    margin: 0 auto;
}
