
:root {
    --primary-color: #b30000; 
    --secondary-color: #ffffff;
    --accent-color: #f8f9fa;
    --text-color: #333333;
    --border-color: #dee2e6;
    --hover-color: #0069d9;
}

.breadcrumb-section {
    background-color: var(--accent-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.page-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.page-header h1 {
    color: var(--primary-color);
    font-weight: 600;
}

.filter-section {
    background-color: var(--accent-color);
    padding: 1.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.filter-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.licitacoes-table th {
    background-color: var(--primary-color);
    color: white;
}

.licitacoes-table td {
    vertical-align: middle;
}

.status-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    font-weight: 500;
    border-radius: 2rem;
    display: inline-block;
    min-width: 90px;
    text-align: center;
}

.btn-documento {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.btn-documento i {
    margin-right: 0.25rem;
}

.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.licitacao-detalhe {
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 0.25rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.licitacao-detalhe dt {
    font-weight: 600;
    color: var(--primary-color);
}

.documentos-lista {
    margin-top: 1.5rem;
}

.documento-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    background-color: var(--secondary-color);
}

.documento-item i {
    font-size: 1.5rem;
    color: #dc3545;
    margin-right: 1rem;
}

.documento-info {
    flex-grow: 1;
}

.documento-info h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.documento-info p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.documento-download {
    margin-left: 1rem;
}


@media (max-width: 768px) {
    .licitacoes-table {
        font-size: 0.85rem;
    }
    
    .btn-documento {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .documento-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .documento-download {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}


.admin-sidebar {
    background-color: var(--primary-color);
    min-height: calc(100vh - 56px);
    padding-top: 2rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    border-left: 3px solid transparent;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    border-left-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
}

.admin-content {
    padding: 2rem;
}

.admin-card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2rem;
}

.admin-card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 0.25rem 0.25rem 0 0;
}

.admin-card-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.required-field::after {
    content: "*";
    color: #dc3545;
    margin-left: 0.25rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}

.upload-area:hover {
    border-color: var(--primary-color);
}

.upload-area i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area p {
    margin-bottom: 0;
}

.upload-preview {
    max-width: 100%;
    max-height: 200px;
    margin-top: 1rem;
}

.dashboard-stat {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.dashboard-stat i {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.dashboard-stat .stat-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.dashboard-stat .stat-content p {
    margin-bottom: 0;
    color: #6c757d;
}

.dashboard-table {
    white-space: nowrap;
}
