/* CUSTOM CSS BY MATH
- DESIGNMP.NET */

/* INDICE
- BOTÃO
- BOTÃO LOGIN
- PROMOÇÃO DE CADASTRO
- MODAL
- PESQUISA DE JOGOS
- TABELA
- ITENS DA HOME
- BOX
- MODAL
- PAGINAÇÃO
*/
/* BOTÃO PADRÃO */
.botao_padrao {
    background-color: var(--botao);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: var(--texto);
    border: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.botao_padrao:hover {
    box-shadow: 2px 3px var(--titulo);
    color: var(--texto);
}

/* BOTÃO LOGIN */
.botao_login {
    padding: 8px 12px;
    background-color: var(--botao);
    border-radius: 8px;
    color: var(--texto);
    font-size: 16px;
    font-weight: bold;
    border: none;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    margin-right: 5px;
}

.botao_login:hover {
    box-shadow: 2px 3px var(--titulo);
    color: var(--texto);
}

.botao_login:active {
    background-color: #079c6a;
    border-color: #068e5d;
}

.fa-solid {
    color: var(--texto);
}

/* PROMOÇÃO */
.promo {
    padding: 5px 10px;
    background-color: var(--botao);
    box-shadow: 3px 2px var(--titulo);
    text-transform: capitalize;
    text-shadow: var(--texto) 5px;
    margin-bottom: 15px;
    text-align: center;
}

.promo:hover {
    box-shadow: 7px 4px var(--texto);
}

/* MODAL */
.modal-d {
    background-color: rgba(20, 20, 20, 0.5);
    color: black;
}


.btn-small {
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: #0056b3;
}

.fa-regular {
    font-size: 16px;
    margin-right: 3px;
}

.btn-text {
    font-size: 16px;
}

/* Modal */
.full-height {
    height: 100vh;
}

/* Estilo para as modais */
.modal-content {
    background-color: var(--box);
    color: var(--texto);
    border-radius: 10px;
}

.modal-header {
    background-color: var(--menu);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.modal-title {
    color: var(--titulo);
    /* Título dourado */
    font-weight: bold;
}

.modal-body {
    background-color: var(--box);
    padding: 2rem;
}

.btn-close {
    background-color: var(--titulo);
    border: none;
    font-size: 1.5rem;
    position: relative;
}

.btn-primary {
    background-color: var(--botao);
    border: none;
    font-weight: bold;
    padding: 0.5rem 2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #FFA500;
}

.form-control {
    background-color: transparent;
    box-shadow: 2px 2px 2px 2px #222222 !important;
    color: var(--texto);
    padding: 15px 10px;
    width: 100%;
    border-color: var(--botao);
}

.form-control:focus {
    box-shadow: none;
    background-color: transparent;
    border-color: var(--titulo);
    color: var(--texto);
}

/* PESQUISAS */
.search-container {
    background-color: transparent;
    padding: 20px 20px 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 2%;
}

.search-wrapper {
    display: flex;
    justify-content: center;
}

/* Estilo do formulário */
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* Estilo do seletor */
.search-select {
    flex: 1;
}

.provider-select {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid var(--botao);
    border-radius: 4px;
    font-size: 16px;
    box-shadow: 5px 3px var(--botao);
    background-color: transparent;
}

.provider-select option {
    background-color: transparent;
}

/* Estilo da barra de pesquisa */
.search-input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
}

input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    width: 250px;
    border: 2px solid var(--botao);
    background-color: transparent;
    box-shadow: 5px 3px var(--botao);
}

.search-button {
    background-color: var(--botao);
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    margin-left: -1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button i {
    color: #fff;
    font-size: 16px;
}

.search-button:hover {
    background-color: var(--titulo);
}

/* Estilo mobile */
@media (max-width: 768px) {
    .search-container {
        margin-top: 50px;
    }

    .search-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .search-form {
        flex-direction: column;
        gap: 20px;
    }

    .search-input-wrapper {
        flex-direction: column;
        width: 100%;
    }

    input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }

    .search-button {
        width: 100%;
    }
}



/* ATIVO */
.ativo {
    box-shadow: 2px 2px 2px 2px var(--titulo);
}

/* IMG Categoria */
.img_icon img {
    max-width: 25px !important;
    border-radius: 50%;
    margin-right: 5px !important;
}

/* Tabela */
.ds-table {
    width: 100%;
    background-color: var(--principal);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.ds-table thead th {
    background-color: var(--botao);
    font-weight: 600;
    padding: 12px 15px;
}

.ds-table tbody tr {
    border-bottom: 3px solid var(--botao);
}


.ds-table tbody tr:hover {
    background-color: var(--fundo);
}

.ds-table td,
.ds-table th {
    text-align: center;
    font-size: 14px;
    padding: 12px 15px;
    border: none;
    background-color: transparent;
}

.ds-table td .badge {
    font-weight: 600;
    border-radius: 4px;
    padding: 4px 8px;
}


.win {
    color: #05c815;
    font-weight: bold;
}

.loss {
    color: #f90b0b;
    font-weight: bold;
}

@media (min-width: 768px) and (max-width: 991px) {

    .ds-table td,
    .ds-table th {
        font-size: 12px;
        line-height: 1.3;
    }

    .ds-table td i,
    .ds-table th i {
        font-size: 10px;
    }
}

.ds-table td i,
.ds-table th i {
    margin-right: 5px;
    line-height: 24px;
    font-size: 12px;
}

@media (max-width: 991px) {
    .ds-table thead {
        display: none;
    }

    .ds-table tbody tr {
        display: block;
        border-bottom: 3px solid var(--botao);
        margin-bottom: 25px;
    }

    .ds-table tbody tr:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ds-table tbody tr td {
        padding: 10px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--botao);
    }

    .ds-table tbody tr td:before {
        content: attr(data-label);
        margin-right: auto;
    }
}

/* ITENS DA HOME */
.botao_jogo {
    background-color: var(--botao);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%) scale(0.8);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.botao_jogo:hover {
    box-shadow: 2px 3px var(--titulo);
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}


.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(33.33%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(-33.33%);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

#livePlayTable tr {
    transition: all 0.3s ease;
}

/* Categorias */
.casino-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(20, 20, 20, 0.3);
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s, transform 0.3s;
    width: calc(20% - 15px);
}

.category-item:hover {
    background-color: rgba(65, 65, 65, 0.5);
    transform: scale(1.05);
}

.category-image {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center;
    margin-right: 10px;
    border-radius: 5px;
}

.category-name {
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .category-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: calc(100% - 15px);
    }

    .category-image {
        margin-right: 10px;
        margin-bottom: 0;
    }

    .category-name {
        flex-grow: 1;
    }
}

/* BOX */
.box {
    background-color: var(--menu);
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2), inset 0px 1px 3px rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.box h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.box p {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.5),
        -6px -6px 12px rgba(255, 255, 255, 0.2);
}

/* Estilo da Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.5s;
}

/* Conteúdo da Modal */
.modal-content {
    background-color: var(--menu);
    border: 2px solid var(--titulo);
    border-radius: 10px;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 750px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideIn 0.5s ease-out;
}

/* Botão de Fechar a Modal */
.close-modal {
    color: #ffd700;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Hover no Botão de Fechar */
.close-modal:hover {
    color: #ffffff;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
    }

    to {
        transform: translateY(0);
    }
}

.selecionar {
    border: 2px solid var(--titulo);
    padding: 10px 15px;
    background: transparent !important;
    appearance: none;
    border-radius: 5px;
    font-size: 16px;
    color: var(--texto);
}

.selecionar option {
    background: transparent !important;
    color: var(--texto);
    border: solid 1px #ffd700;
}


/* Estilos para dispositivos móveis */
@media (max-width: 768px) {
    .modal-content {
        width: 95% !important;
        padding: 15px;
    }

    .close-modal {
        top: 5px;
        right: 10px;
    }
}

/* PAGINÇÃO */
.custom-pagination {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    list-style-type: none;
    margin: 0;
    flex-wrap: wrap;
}

.custom-pagination li {
    margin: 0 5px;
}

.custom-pagination a,
.custom-pagination span {
    display: block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    background-color: var(--botao);
    transition: background-color 0.3s, color 0.3s;
}

.custom-pagination a:hover {
    background-color: var(--titulo);
}

.custom-pagination .active span {
    background-color: var(--titulo);
    cursor: default;
}

.custom-pagination .disabled span {
    background-color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {

    .custom-pagination a,
    .custom-pagination span {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .custom-pagination {
        padding: 8px 0;
    }

    .custom-pagination li {
        margin: 2px;
    }

    .custom-pagination a,
    .custom-pagination span {
        padding: 5px 10px;
        font-size: 14px;
    }
}
