:root {
      --primary-color: #5d9cec; /* Azul mais claro */
    --secondary-color: #4a89dc;
    --success-color: #48cfad; /* Verde claro */
    --info-color: #ac92ec; /* Roxo claro */
    --primary-color: #4a6fa5;
    --secondary-color: #6b8cae;
    --success-color: #4caf50;
    --info-color: #9c27b0;
    --danger-color: #f44336;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 1000px; /* Diminuir a largura máxima */
    padding: 20px 40px; /* Mais espaço nas laterais */
    margin: 0 auto;
}
header {
    text-align: center;
    margin-bottom: 30px;
}
header h1 {
    font-size: 2rem; /* Tamanho menor */
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}
header p {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Formulário em duas colunas */
.add-indicacao .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.add-indicacao .form-row .form-group {
    flex: 1;
}

/* Estilos para a faixa */
.banner {
    width: 100%;
    height: 45px;
    background-color: #0073e6;
    color: white;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    z-index: 1000;
}
.marquee {
    display: flex;
    position: absolute;
    height: 100%;
    align-items: center;
}
.marquee-container {
    display: flex;
    animation: marquee 80s linear infinite;
}
.marquee-text {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0 8px; /* Espaço entre os textos */
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee a {
    color: #ffdd00;
    font-weight: bold;
    text-decoration: none;
}
.marquee a:hover {
    text-decoration: underline;
}



/* Botão de adicionar alinhado com os radios */
.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.form-actions .radio-group {
    margin-bottom: 0;
    flex: 1;
}
.form-actions button {
    margin-top: 0;
}
.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    gap: 20px;
}
.stat-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 15px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-card h3 {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.stat-card p {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Tamanho menor para a tabela */
table th, table td {
    padding: 10px 12px;
    font-size: 1rem;
}

/* Botão de deletar todos */
.delete-all-container {
    text-align: right;
    margin-bottom: 10px;
}

#delete-all {
    background-color: var(--danger-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#delete-all:hover {
    background-color: #d32f2f;
}

#sumiu{
    display: none;
}

.add-indicacao {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.add-indicacao h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;

}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
    font-size: 20px;
}

.sub-field {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 11px 40px;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

.btn-cancel {
    background-color: white;
    color: var(--gray-color);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel:hover {
    background-color: #f1f1f1;
}

.lista-indicacoes {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.lista-indicacoes h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.lista-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.search-box {
    position: relative;
    flex-grow: 1;
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.export-import {
    display: flex;
    gap: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    text-align: left;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background-color: #f8f9fa;
}

.empty-row td {
    text-align: center;
    color: var(--gray-color);
    padding: 30px;
}

.bonus-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
}

.bonus-mes {
    background-color: #e8f5e9;
    color: var(--success-color);
}

.bonus-outros {
    background-color: #f3e5f5;
    color: var(--info-color);
}

.action-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.action-btn:hover {
    color: #d32f2f;
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-content.small {
    max-width: 400px;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.5rem;
    color: var(--gray-color);
    cursor: pointer;
}

.close:hover {
    color: var(--dark-color);
}

.export-options, .import-options, .confirm-options {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.export-options {
    justify-content: space-between;
}

.btn-export {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-export:hover {
    background-color: var(--primary-color);
    color: white;
}

.export-warning, .import-warning {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.export-warning i, .import-warning i {
    font-size: 1.2rem;
}

.export-warning i {
    color: var(--primary-color);
}

.import-warning i {
    color: var(--danger-color);
}



    /* Rodapé */
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    font-size: 1em;
    color: #aaa;
}



/* Responsive */
@media (max-width: 768px) {
    .container {
    padding: 20px 10px; /* Mais espaço nas laterais */
    }
    .marquee-text {
    display: inline-block;
    }
    .stats {
    gap: 10px;
    }
    .lista-actions {
        flex-direction: column;
    }
    .export-import {
        justify-content: flex-start;
    }
    table {
    width: 100%;
    min-width: 100px; /* ou o que for adequado à sua tabela */
    border-collapse: collapse;
    table-layout: fixed;
    }
    .radio-group label {
        gap: 1px;
        font-size: 13px;
    }
    .btn-primary{
        font-size: 18px;
        padding: 5px 22%;
        
    }
    .form-actions{
      flex-direction: column; /* <- Isso organiza em coluna (vertical) */
    }
    .add-indicacao .form-row {
    margin-bottom: 0px;
    }
    .lista-indicacoes {
    padding: 0px;
    }
    .lista-indicacoes h2, .lista-actions{
        margin-left: 15px;
    }
    .search-box input {
    width: 95%;
    }
    .btn-secondary {
    padding: 8px 23px;
    font-size: 1rem;
    }
    /* Tamanho menor para a tabela */
    table th, table td {
    font-size: .70rem;
    }
    table td {
        padding: 8px;
        font-size: 12px;
    }

/* Larguras personalizadas para cada coluna */
    .nome-col {
    width: 28%;
    padding: 8px;
    }
    .indicou-col {
    width: 15%;
    padding: 10px;
    }
    .bonus-col {
    width: 26%;
    }
    .data-col {
    width: 22%;
    }
    .acoes-col {
    width: 15%;
    padding: 8px;
    }
    .bonus-tag, .action-btn{
    display: inline-block;
    padding: 2px 2px;
    border-radius: 2px;
    font-size: .60rem;
    font-weight: 600;
    }
    .action-btn {
    font-size: .9rem;
    padding-left: 12px;
    }
    span{
    display: none;
    }
    .footer {
        font-size: 0.8em; /* Reduz o tamanho do texto do rodapé */
    }
    
#year {
    display: inline-block; /* Garante que o span não quebre */
}

}