/* Estilos para o Hub de Ideias de Conteúdo */

/* Estilos para as abas de áreas */
.areas-tabs {
    margin-bottom: 20px;
}

.areas-tabs .nav-tabs {
    border-bottom: 1px solid #D5B170;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #D5B170 #f1f1f1;
}

.areas-tabs .nav-tabs::-webkit-scrollbar {
    height: 5px;
}

.areas-tabs .nav-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.areas-tabs .nav-tabs::-webkit-scrollbar-thumb {
    background-color: #D5B170;
    border-radius: 10px;
}

.areas-tabs .nav-link {
    color: #0D1E2E;
    border: none;
    font-family: "Gotham", sans-serif;
    font-weight: 500;
    padding: 10px 20px;
    margin-right: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.areas-tabs .nav-link:hover {
    color: #D5B170;
    background-color: rgba(213, 177, 112, 0.1);
}

.areas-tabs .nav-link.active {
    color: #fff;
    background-color: #D5B170;
    border: none;
}

/* Estilos para os filtros */
.filtros-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    margin-bottom: 15px;
}

.search-box input {
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-search {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: transparent;
    border: none;
    color: #0D1E2E;
    cursor: pointer;
}

.filtros-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.btn-filtro {
    background-color: #fff;
    border: 1px solid #D5B170;
    color: #0D1E2E;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-filtro:hover, .btn-filtro:focus {
    background-color: #D5B170;
    color: #fff;
}

.btn-limpar {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-limpar:hover {
    background-color: #e1e1e1;
}

.date-dropdown {
    width: 300px;
    padding: 15px;
}

.date-range-container {
    display: flex;
    flex-direction: column;
}

.date-range-container label {
    margin-bottom: 5px;
    font-weight: 500;
}

.date-range-container input {
    margin-bottom: 10px;
}

.btn-aplicar {
    background-color: #D5B170;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 5px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-aplicar:hover {
    background-color: #c0a05c;
}

/* Estilos para os cards de ideias */
.card-ideia {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-ideia:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-ideia .card-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.card-ideia .card-body {
    padding: 15px;
    flex-grow: 1;
}

.card-ideia .card-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.card-ideia h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #0D1E2E;
    font-family: "Gotham", sans-serif;
    font-weight: 600;
}

.card-info {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.card-info i {
    color: #D5B170;
    margin-right: 5px;
    width: 16px;
    text-align: center;
}

/* Badges para os cards */
.badge-area, .badge-tipo, .badge-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-area {
    background-color: #0D1E2E;
    color: #fff;
}

.badge-tipo {
    background-color: #f1f1f1;
    color: #0D1E2E;
}

.badge-status {
    font-weight: 600;
}

.status-livre {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-selecionado {
    background-color: #fff8e1;
    color: #ff8f00;
}

.status-publicado {
    background-color: #e3f2fd;
    color: #1565c0;
}

/* Botões dos cards */
.btn-copiar, .btn-exportar, .btn-detalhes {
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-copiar {
    background-color: #f1f1f1;
    color: #666;
}

.btn-exportar {
    background-color: #f1f1f1;
    color: #666;
}

.btn-detalhes {
    background-color: #D5B170;
    color: #fff;
}

.btn-copiar:hover, .btn-exportar:hover {
    background-color: #e1e1e1;
}

.btn-detalhes:hover {
    background-color: #c0a05c;
}

/* Estilos para o modal */
.modal-content {
    border-radius: 5px;
    border: none;
}

.modal-header {
    background-color: #0D1E2E;
    color: #fff;
    border-bottom: none;
}

.modal-title {
    font-family: "Gotham", sans-serif;
    font-weight: 500;
}

.modal-body h3 {
    font-size: 22px;
    color: #0D1E2E;
    margin-bottom: 15px;
    font-family: "Gotham", sans-serif;
    font-weight: 600;
}

.modal-body h4 {
    font-size: 18px;
    color: #0D1E2E;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: "Gotham", sans-serif;
    font-weight: 600;
}

.modal-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-footer {
    border-top: 1px solid #eee;
}

.btn-copiar-modal, .btn-exportar-modal {
    background-color: #D5B170;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-copiar-modal:hover, .btn-exportar-modal:hover {
    background-color: #c0a05c;
}

/* Paginação */
.pagination .page-link {
    color: #0D1E2E;
    border-color: #ddd;
}

.pagination .page-item.active .page-link {
    background-color: #D5B170;
    border-color: #D5B170;
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #f1f1f1;
    color: #D5B170;
}

/* Responsividade */
@media (max-width: 767px) {
    .filtros-buttons {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .card-ideia .card-footer {
        flex-wrap: wrap;
    }
    
    .btn-detalhes {
        width: 100%;
        margin-top: 10px;
    }
    
    .modal-badges {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .areas-tabs .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .card-ideia h3 {
        font-size: 16px;
    }
    
    .modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .modal-footer button {
        margin: 0;
    }
}

/* Indicador visual para temas novos */
.card-ideia.novo::before {
    content: "Novo";
    position: absolute;
    top: -10px;
    right: 10px;
    background-color: #D5B170;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

/* Indicador visual para temas em destaque */
.card-ideia.destaque {
    border: 2px solid #D5B170;
}
