/* Configurações Gerais */
body {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #444;
}

/* Header */
.header-main {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    color: white;
    padding: 10px 0;
}


.logo-container img {
    max-height: 400px;
    border-radius: 8px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 15px;
    color: #6c757d;
}

.search-box .form-control {
    padding-left: 45px;
    height: 50px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Cards de Ação */
.card-custom {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid #6d6e70;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

.icon-card {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}


.card-custom h3 {
    font-size: 1.1rem;
    font-weight: bold;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Títulos de Seção */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
    border-bottom: 3px solid #d9534f;
    display: inline-block;
    padding-bottom: 5px;
}

/* Listas e Tabelas */
.list-group-item {
    border: none;
    margin-bottom: 5px;
    border-radius: 8px !important;
    font-weight: 500;
}

.table {
    border-radius: 8px;
    overflow: hidden;
}

/* Botão Voltar Flutuante */
.btn-back {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #1a1a1a;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-back:hover {
    background-color: #d9534f;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* Botão Voltar Fixo Direita Inferior */
.btn-voltar-fixo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #222;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

.btn-voltar-fixo:hover {
    background: #007bff;
}

/* Responsividade */
@media (max-width: 768px) {
    .btn-back {
        width: 100%;
        bottom: 0;
        left: 0;
        border-radius: 0;
        text-align: center;
    }
    body {
        padding-bottom: 60px;
    }
}