html,body { 
  background: url(../images/bg.jpg) no-repeat center center fixed; 
  background-size: cover;
  font-family: 'Poppins', sans-serif;
}

.close-vote{
    background-color: #fbc87d;
    border-color: #fbc87d;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    border-radius: 20px;
    padding:10px;
}

.btn-success {
    background-color: #fbc87d;
    border-color: #fbc87d;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    border-radius: 20px;
}

.btn-success:hover,
.btn-success:active,
.btn-success:visited
{
    background-color: #f5b45a; 
    border-color: #f5b45a;
    color: #333;
}

/* BottomSheet */
.bottomsheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
    padding: 25px;
    transition: bottom 0.3s ease;
    z-index: 9999;
}

.bottomsheet.active {
    bottom: 0;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    top: 0;
    left: 0;
    z-index: 9998;
}

.overlay.active {
    display: block;
}

.participant-card{
    padding: 20px;
    border-color: 5px solid red;
}

.participant-card:hover{
    background: #5e090e;
    padding: 20px;
    border-radius: 15px;
    color: #000;
}

.participant-card img {
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
}

.participant-name {
    font-weight: 600;
    font-size: 18px;
    margin: 10px 0;
    color: #fff;
    height: 52px;
}

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

.menu-container{
    margin-top: 36px;
    text-align: right;
}

.mobile-menu-toggle {
    display: none;
}

.menu{
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin-top: 20px;
    text-decoration: none;
}

.menu:hover, 
.menu:visited, 
.menu:active 
{
    text-decoration: none;
    color: #dcae8b;
}

h3{
    color: #dcae8b;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 30px;
}

.footer{
    background: #fff;
    margin-top: 100px;
    border-radius: 20px;
    padding: 30px;
}

/* Garante que o SweetAlert ignore restrições de linha do Bootstrap */
.swal2-container {
    z-index: 10000 !important;
}
.swal2-popup {
    font-size: 1.6rem !important; /* Aumenta o texto que costuma vir pequeno no BS3 */
}

/* Remove visual branco padrão */
.custom-dropdown {
    background: #dbb091;
    border: none;
    box-shadow: none;
    margin-top: 10px;
}

/* Estilo dos itens */
.custom-dropdown > li > a {
    color: #000;
    background: transparent;
    padding: 8px 15px;
}

/* Hover */
.custom-dropdown > li > a:hover {
    background: rgba(255,255,255,0.15);
    color: #000;
}

/* Remove seta padrão */
.custom-dropdown:before {
    display: none;
}

.terms-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.terms-banner a {
    color: #fbc87d;
    text-decoration: underline;
}

.terms-banner .btn-warning {
    background-color: #fbc87d;
    border: none;
    color: #000;
}

@media (max-width: 768px) {
    .terms-banner .col-sm-3 {
        text-align: left;
        margin-top: 10px;
    }
}

.terms-banner .btn {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .terms-banner .col-sm-4 {
        text-align: left;
        margin-top: 10px;
    }

    .terms-banner .btn {
        margin: 5px 5px 0 0;
    }
}

/* Sidebar esquerda (menu responsivo) */
@media (max-width: 767px) {
    /* Botão do menu (hambúrguer) */
    .mobile-menu-toggle {
        position: fixed;
        top: 25px;
        right: 20px;
        z-index: 10001;
        display: inline-block;
        width: 42px;
        height: 52px;
        background: rgba(219, 176, 145, 0.95);
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 12px;
        padding: 0;
        cursor: pointer;
    }

    .mobile-menu-toggle-icon {
        display: block;
        color: #fff;
        font-size: 26px;
        line-height: 42px;
        text-align: center;
        font-weight: 600;
    }

    /* Fixa o menu como sidebar */
    .menu-container {
        position: fixed;
        top: 0;
        left: -270px;
        bottom: 0;
        width: 270px;
        margin-top: 0;
        text-align: left;
        z-index: 9999;
        background: #dbb091;
        padding: 20px 15px;
        overflow-y: auto;
        border-right: 1px solid rgba(0,0,0,0.08);
        transition: left 0.25s ease;
    }

    body.sidebar-open .menu-container {
        left: 0;
    }

    /* Empilha os itens */
    .menu-container ul.list-inline {
        display: block;
        padding-left: 0;
        margin: 0;
        width: 100%;
    }

    .menu-container ul.list-inline > li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Links como blocos */
    .menu-container .menu {
        display: block;
        margin-top: 12px;
        font-size: 18px;
        padding: 10px 10px;
        border-radius: 10px;
    }

    .menu-container .menu:hover,
    .menu-container .menu:visited,
    .menu-container .menu:active {
        text-decoration: none;
        color: #fff;
        background: #3c0103;
    }

    /* Dropdown dentro da sidebar (evita “sair” para fora da tela) */
    .menu-container .dropdown-menu {
        position: static !important;
        float: none;
        width: 100% !important;
        margin: 8px 0 0 0 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: none !important;
        box-shadow: none !important;
    }

    .menu-container .dropdown-menu > li > a {
        color: #000 !important;
        padding: 10px 12px !important;
        border-radius: 10px;
    }

    .menu-container .dropdown-menu > li > a:hover,
    .menu-container .dropdown-menu > li > a:active,
    .menu-container .dropdown-menu > li > a:focus {
        color: #fff !important;
        background: #3c0103 !important;
    }

    /* Desloca o conteúdo apenas quando sidebar estiver aberta */
    body.sidebar-open {
        padding-left: 285px;
    }
}