:root {
    --sidebar-width: 280px;
    --forest-primary: #198754;
    --forest-light: #e8f5e9;
    --forest-dark: #0A2E0F;
    --forest-hover: #157347;
    --forest-green: #2F4538;
    --forest-lighter: #688B5E;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--forest-primary) 0%, var(--forest-dark) 100%);
    padding: 1.5rem;
    overflow-y: auto;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.bg-danger{
    background-color: none !important;
}
.sidebar-header {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.sidebar-header img {
    max-width: 140px;
    margin-bottom: 1rem;
    transition: transform var(--transition-speed);
}

.sidebar-header img:hover {
    transform: scale(1.05);
}

.sidebar-header h4 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 0.75rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
}

.nav-link.active {
    background: white;
    color: var(--forest-primary);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-link i {
    margin-right: 1rem;
    font-size: 1.25rem;
    transition: transform var(--transition-speed);
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    transition: margin var(--transition-speed) ease;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

.page-title i {
    margin-right: 0.5rem;
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-header {
    background: none;
    border-bottom: none;
    padding: 1.5rem;
}

.card-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.card-header h4 i {
    margin-right: 0.5rem;
    color: var(--forest-primary);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.btn-forest {
    background: var(--forest-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
}

.btn-forest:hover {
    background: var(--forest-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(25, 135, 84, 0.3);
}

.btn-outline-forest {
    border-color: var(--forest-primary);
    color: var(--forest-primary);
}

.btn-outline-forest:hover {
    background-color: var(--forest-primary);
    color: white;
}

/* Timeline */
.timeline-modern {
    position: relative;
    padding: 1rem 0;
}

.timeline-item {
    position: relative;
    padding: 1.25rem;
    border-left: 3px solid var(--forest-primary);
    margin-bottom: 1rem;
    background: var(--forest-light);
    border-radius: 0 12px 12px 0;
    transition: all var(--transition-speed);
}

.timeline-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--forest-primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--forest-light);
}

.timeline-item.security::before { background: #dc3545; }
.timeline-item.delivery::before { background: #ffc107; }
.timeline-item.maintenance::before { background: #0dcaf0; }

/* Votações */
.votacoes-grid {
    display: grid;
    gap: 1rem;
}

.votacao-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    transition: background-color 0.2s;
}

.votacao-card:hover {
    background: white;
}

.votacao-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.votacao-progress-bar {
    height: 100%;
    background: var(--forest-primary);
    border-radius: 4px;
}

/* Tabelas */
.table-container {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}

.table {
    margin: 0;
}

.table th {
    font-weight: 600;
    color: var(--forest-dark);
    border-bottom: 2px solid var(--forest-light);
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--forest-light);
}

.table tbody tr {
    transition: all var(--transition-speed);
}

.table tbody tr:hover {
    background: var(--forest-light);
    transform: scale(1.01);
}

/* Form */
.form-label {
    font-weight: 500;
    color: #495057;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 0.25rem rgba(27, 94, 32, 0.25);
}

/* Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 6px;
}

/* Icons */
.bi {
    line-height: 1;
}

/* Preview de Imagens */
.preview-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
}

/* Tabelas */
.table {
    margin-bottom: 0;
}

.table-hover tbody tr:hover {
    background-color: rgba(27, 94, 32, 0.05);
}

/* Toggle Sidebar */
.toggle-sidebar {
    display: block;
}

/* Estilos para Progresso das Áreas Comuns */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
}

/* Estilos para Lista de Manutenções */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Remover estilos do Status dos Serviços */
.service-status, .service-status:hover, .status-icon {
    display: none;
}

/* Estilos para Autorizações */
.qr-code-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.qr-code-container img {
    max-width: 200px;
    height: auto;
}

.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 0.75rem 1rem;
    margin-right: 1rem;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #198754;
}

.nav-tabs .nav-link.active {
    color: #198754;
    background: transparent;
    border-bottom: 2px solid #198754;
}

.table td {
    vertical-align: middle;
}

.btn-group .btn {
    padding: 0.25rem 0.5rem;
}

.btn-group .btn i {
    font-size: 1rem;
}

.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

.prestador-fields {
    transition: all 0.3s ease;
}

/* Estilos para os status */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.badge.bg-success {
    background-color: #198754 !important;
    color: #fff;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #fff;
}

/* Estilos para o formulário */
.form-control:focus,
.form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Estilos para QR Code Individual */
#qrCodeImage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

#qrCodeImage img,
#qrCodeImage canvas {
    max-width: 200px;
    height: auto;
    border: 1px solid #dee2e6;
    padding: 8px;
    border-radius: 4px;
}

.modal-body .text-muted {
    font-size: 0.875rem;
}

.btn-outline-success {
    color: #198754;
    border-color: #198754;
}

.btn-outline-success:hover {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.modal-header .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.visitante-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.visitante-info p {
    margin-bottom: 0.5rem;
}

.visitante-info strong {
    color: #495057;
}

/* Estilos para QR Code */
.modal-backdrop.show {
    opacity: 0.8;
}

/* Estilos para botão de votação em bloco */
#btnVotacaoBloco:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#btnVotacaoBloco.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

#btnVotacaoBloco.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Estilos para checkboxes da tabela */
.doc-checkbox {
    cursor: pointer;
}

.doc-checkbox:checked {
    background-color: var(--forest-primary);
    border-color: var(--forest-primary);
}

/* Estilos para linha selecionada */
.table tbody tr:has(.doc-checkbox:checked) {
    background-color: rgba(25, 135, 84, 0.05);
}

/* Estilos para votação ativa */
.badge.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Estilos para botão de votar ativo */
.btn-success:not(.btn-outline-success) {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border: none;
    box-shadow: 0 2px 4px rgba(25, 135, 84, 0.2);
}

.btn-success:not(.btn-outline-success):hover {
    background: linear-gradient(135deg, #157347 0%, #146c43 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

/* Estilos para botão de encerrar votação */
.btn-warning:not(.btn-outline-warning) {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    color: #000;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

.btn-warning:not(.btn-outline-warning):hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.3);
    color: #000;
}

.btn-warning:not(.btn-outline-warning):disabled {
    background: #6c757d;
    color: #fff;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

/* Animação para badge de votação ativa */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.badge.bg-primary {
    animation: pulse 2s infinite;
}

/* Estilos para coluna de votações */
.votacoes-container .card {
    transition: all 0.3s ease;
}

.votacoes-container .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.votacoes-container .card.border-success {
    border-color: var(--forest-primary) !important;
}

.votacoes-container .card.border-success .card-header {
    background-color: rgba(25, 135, 84, 0.1);
}

.votos-resultados .badge {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* Estilos para progresso da votação */
.progress {
    background-color: #e9ecef;
    border-radius: 0.375rem;
}

.progress-bar {
    transition: width 0.3s ease;
}

/* Estilos para tempo restante */
.badge.bg-warning {
    color: #000;
    font-weight: 600;
}

/* Estilos para botão de detalhes */
.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

/* Estilos para modal de detalhes */
#modalDetalhesVotacoes .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#modalDetalhesVotacoes .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#modalDetalhesVotacoes .list-unstyled li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f8f9fa;
}

#modalDetalhesVotacoes .list-unstyled li:last-child {
    border-bottom: none;
}

/* Responsividade para coluna de votações */
@media (max-width: 768px) {
    .votacoes-container .card-body .row {
        flex-direction: column;
    }
    
    .votacoes-container .card-body .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Estilos para abas do modal de votações */
.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    padding: 0.75rem 1rem;
    margin-right: 0.5rem;
    border-radius: 0.375rem 0.375rem 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--forest-primary);
    background-color: rgba(25, 135, 84, 0.1);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--forest-primary);
    background-color: white;
    border-bottom: 3px solid var(--forest-primary);
    font-weight: 600;
}

/* Estilos para cards de presença */
.card.bg-light {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.card.bg-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card.bg-light .card-body h3 {
    font-weight: 700;
    font-size: 2rem;
}

/* Estilos para listas de presentes/ausentes */
.list-group-item {
    border: none;
    border-bottom: 1px solid #f8f9fa;
    padding: 0.75rem 0;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: rgba(25, 135, 84, 0.05);
}

/* Estilos para progresso de presença */
.progress {
    background-color: #e9ecef;
    border-radius: 0.375rem;
}

.progress-bar.bg-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
}

.progress-bar.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Responsividade para abas */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }
    
    .nav-tabs .nav-link {
        margin-right: 0;
        margin-bottom: 0.25rem;
        border-radius: 0.375rem;
    }
    
    .nav-tabs .nav-link.active {
        border-bottom: none;
        border-left: 3px solid var(--forest-primary);
    }
}

/* Estilos para Toasts Melhorados */
.toast-container {
    z-index: 1055;
}

.toast {
    min-width: 350px;
    max-width: 450px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.toast.bg-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%) !important;
}

.toast.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.toast.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #000 !important;
}

.toast.bg-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%) !important;
}

.toast .toast-body {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.toast .toast-body strong {
    font-size: 1rem;
    font-weight: 600;
}

.toast .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.toast .btn-close:hover {
    opacity: 1;
}

/* Animação de entrada para toasts */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast {
    animation: slideInRight 0.3s ease-out;
}

/* Responsividade para toasts */
@media (max-width: 576px) {
    .toast-container {
        top: 0.5rem !important;
        right: 0.5rem !important;
        left: 0.5rem !important;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}

.qr-container {
    background: rgb(17 24 10 / 95%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1rem auto;
    text-align: center;
    max-width: 500px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-container .logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.qr-container h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.qr-code {
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.qr-container .info {
    color: white;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.qr-container .info strong {
    color: var(--forest-light);
}

.qr-container .alert-info {
    background-color: rgba(47, 69, 56, 0.1);
    border: none;
    color: white;
    border-radius: 12px;
}

.qr-container .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.qr-container .btn-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.qr-container .btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.qr-container .btn-success {
    background: var(--forest-light);
    border: none;
}

.qr-container .btn-success:hover {
    background: var(--forest-lighter);
}

@media (max-width: 576px) {
    .qr-container {
        margin: 0;
        padding: 1.5rem;
        border-radius: 15px;
    }

    .qr-container .logo {
        max-width: 150px;
    }

    .qr-container .info {
        font-size: 1rem;
    }

    .qr-container .btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Estilos para QR Code Modal */
#modalQRCodeIndividual .modal-dialog {
    max-width: 500px;
}

.qr-container {
    background: rgb(17 24 10 / 95%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1rem auto;
    text-align: center;
    max-width: 500px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-container .logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.qr-container h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.qr-code {
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.qr-container .info {
    color: white;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.qr-container .info strong {
    color: var(--forest-light);
}

.qr-container .alert-info {
    background-color: rgba(47, 69, 56, 0.1);
    border: none;
    color: white;
    border-radius: 12px;
}

.qr-container .btn-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.qr-container .btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.qr-container .btn-success {
    background: var(--forest-light);
    border: none;
}

.qr-container .btn-success:hover {
    background: var(--forest-lighter);
}

@media (max-width: 576px) {
    .qr-container {
        margin: 0;
        padding: 1.5rem;
        border-radius: 15px;
    }

    .qr-container .logo {
        max-width: 150px;
    }

    .qr-container .info {
        font-size: 1rem;
    }
}

/* Scrollbar Personalizada */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

/* Responsividade */
@media (max-width: 992px) {
    .sidebar {
        padding: 1rem 0.5rem;
    }

    .sidebar-header {
        padding: 0.5rem;
    }

    .sidebar-header img {
        max-width: 40px;
    }

    .nav-link span {
        display: none;
    }

    .nav-link {
        justify-content: center;
        padding: 1rem;
    }

    .nav-link i {
        margin: 0;
        font-size: 1.5rem;
    }

    .main-content {
        margin-left: var(--sidebar-width);
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .dashboard-header {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast {
    animation: fadeIn 0.3s ease-out;
}

/* Tooltips */
.tooltip-inner {
    background-color: #343a40;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before, 
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #343a40;
}

/* Mapa */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Status Indicators */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-dot.active { background-color: var(--forest-primary); }
.status-dot.warning { background-color: #ffc107; }
.status-dot.danger { background-color: #dc3545; }

/* Chart Containers */
.chart-wrapper {
    position: relative;
    margin: auto;
    height: 300px;
}

/* Modal Customizations */
.modal-content {
    border: none;
    border-radius: 10px;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem;
}

/* Form Elements */
.form-control {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--forest-primary);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Dropdown Customizations */
.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dropdown-item {
    padding: 0.75rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--forest-light);
}

/* Estilos para Eventos */
.evento-row {
    transition: background-color 0.2s;
}

.evento-row:hover {
    background-color: rgba(25, 135, 84, 0.05);
}

.evento-row .btn-group {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.evento-row:hover .btn-group {
    opacity: 1;
}

/* Estilos para Modal de Autenticação */
#modalAutenticacao .card {
    transition: all 0.3s ease;
    cursor: pointer;
}

#modalAutenticacao .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#modalAutenticacao .form-check-input:checked + .form-check-label .card {
    border-color: var(--forest-primary);
    background-color: rgba(25, 135, 84, 0.05);
}

#modalAutenticacao .form-check-input:checked + .form-check-label .card.border-primary {
    border-color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.05);
}

#modalAutenticacao .form-check-input:checked + .form-check-label .card.border-success {
    border-color: var(--forest-primary) !important;
    background-color: rgba(25, 135, 84, 0.05);
}

#modalAutenticacao .input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

#modalAutenticacao .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Animação para reconhecimento facial */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#btnIniciarFacial:disabled {
    animation: pulse 1s infinite;
}

/* Estilos para área de reconhecimento facial */
#areaFacial .border {
    border-color: #dee2e6 !important;
}

#areaFacial .bg-success.bg-opacity-10 {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

/* Estilos para Checklist de Inspeção */
#modalChecklistInspecao .form-check {
    margin-bottom: 0.5rem;
}

#modalChecklistInspecao .form-check-input:checked {
    background-color: var(--forest-primary);
    border-color: var(--forest-primary);
}

#modalChecklistInspecao .form-check-label {
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

#modalChecklistInspecao .form-check-input:checked + .form-check-label {
    color: var(--forest-primary);
    font-weight: 600;
}

#modalChecklistInspecao .card {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

#modalChecklistInspecao .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#modalChecklistInspecao .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#modalChecklistInspecao h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

#modalChecklistInspecao .text-primary {
    color: var(--forest-primary) !important;
}

#modalChecklistInspecao .text-success {
    color: var(--forest-primary) !important;
}

#modalChecklistInspecao .alert-info {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: var(--forest-dark);
}

#modalChecklistInspecao .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

#modalChecklistInspecao .form-control:focus {
    border-color: var(--forest-primary);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

#modalChecklistInspecao .form-select:focus {
    border-color: var(--forest-primary);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Animação para checkboxes */
#modalChecklistInspecao .form-check-input:checked {
    animation: checkmark 0.3s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsividade para checklist */
@media (max-width: 768px) {
    #modalChecklistInspecao .col-md-6 {
        margin-bottom: 0.5rem;
    }
    
    #modalChecklistInspecao .form-check {
        margin-bottom: 0.75rem;
    }
}

/* Estilos para Gerenciamento de Checklists */
#modalGerenciarChecklists .card {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

#modalGerenciarChecklists .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#modalGerenciarChecklists .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#modalGerenciarChecklists .table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--forest-dark);
}

#modalGerenciarChecklists .table td {
    vertical-align: middle;
}

#modalGerenciarChecklists .btn-group .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

#modalGerenciarChecklists .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
}

#modalGerenciarChecklists .badge.bg-secondary {
    background-color: #6c757d !important;
}

#modalGerenciarChecklists .badge.bg-success {
    background-color: var(--forest-primary) !important;
}

#modalGerenciarChecklists .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

#modalGerenciarChecklists .badge.bg-danger {
    background-color: #dc3545 !important;
}

/* Estilos para estatísticas */
#modalGerenciarChecklists .card.bg-primary.bg-opacity-10 {
    border-left: 4px solid #0d6efd;
}

#modalGerenciarChecklists .card.bg-success.bg-opacity-10 {
    border-left: 4px solid var(--forest-primary);
}

#modalGerenciarChecklists .card.bg-warning.bg-opacity-10 {
    border-left: 4px solid #ffc107;
}

#modalGerenciarChecklists .card.bg-info.bg-opacity-10 {
    border-left: 4px solid #0dcaf0;
}

#modalGerenciarChecklists .card h4 {
    font-weight: 700;
    font-size: 1.75rem;
}

/* Estilos para modal de item */
#modalItemChecklist .form-check-input:checked {
    background-color: var(--forest-primary);
    border-color: var(--forest-primary);
}

#modalItemChecklist .form-check-label {
    font-weight: 500;
    cursor: pointer;
}

#modalItemChecklist .form-check-label i {
    margin-right: 0.5rem;
    color: var(--forest-primary);
}

#modalItemChecklist .form-control:focus,
#modalItemChecklist .form-select:focus {
    border-color: var(--forest-primary);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Animação para tabela vazia */
#modalGerenciarChecklists .text-muted .bi {
    opacity: 0.5;
    animation: pulse 2s infinite;
}

/* Responsividade para gerenciamento de checklists */
@media (max-width: 768px) {
    #modalGerenciarChecklists .modal-dialog {
        margin: 0.5rem;
    }
    
    #modalGerenciarChecklists .btn-group {
        flex-direction: column;
    }
    
    #modalGerenciarChecklists .btn-group .btn {
        margin-bottom: 0.25rem;
    }
    
    #modalGerenciarChecklists .table-responsive {
        font-size: 0.875rem;
    }
}

/* Modal de Convidados */
#modalConvidados .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#modalConvidados .evento-info {
    border-left: 4px solid var(--bs-forest);
    padding-left: 1rem;
}

#modalConvidados .estatisticas {
    display: flex;
    gap: 0.5rem;
}

#modalConvidados .estatisticas .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

#listaConvidados tr {
    transition: background-color 0.2s;
}

#listaConvidados tr:hover {
    background-color: rgba(25, 135, 84, 0.05);
}

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, var(--forest-primary) 0%, var(--forest-dark) 100%);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

.dashboard-header:hover {
    transform: translateY(-5px);
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all var(--transition-speed);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.stat-card .icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-speed);
}

.stat-card:hover .icon-container {
    transform: scale(1.1);
}

/* Activity Feed */
.activity-feed {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Toasts */
.toast {
    z-index: 1050;
}

/* Modal de Encerramento */
.modal-header.bg-danger.bg-opacity-10 {
    border-bottom-color: #dc354522;
}

.modal-header .text-danger {
    color: #dc3545 !important;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-warning .bi {
    color: #856404;
    margin-right: 0.5rem;
}

.alert-warning ul {
    padding-left: 1.5rem;
}

/* Ajustes de Animação */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast {
    animation: fadeIn 0.3s ease-out;
}

/* Ajustes de Responsividade */
@media (max-width: 576px) {
    .toast {
        width: calc(100% - 2rem);
        max-width: none;
    }
}

/* Estilo para linha selecionada na tabela */
#listaPetsResidencia tr.selected {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    cursor: pointer;
}

#listaPetsResidencia tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    cursor: pointer;
}

/* Estilo para a etiqueta do pet */
#etiquetaPetPreview {
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
}

@media print {
    body * {
        visibility: hidden;
    }
    #etiquetaPetPreview, #etiquetaPetPreview * {
        visibility: visible;
    }
    #etiquetaPetPreview {
        position: absolute;
        left: 0;
        top: 0;
    }
}

/* Estilos para a página de notificações */
.notification-card {
    border: none;
    background-color: #fff;
    margin-bottom: 1rem;
}

.notification-card .card-body {
    padding: 1.5rem;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--forest-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--forest-color-dark);
}

.filter-bar .input-group-text {
    border: 1px solid #dee2e6;
    background-color: transparent;
}

.filter-bar .form-control,
.filter-bar .form-select {
    border: 1px solid #dee2e6;
    font-size: 0.875rem;
}

.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: var(--forest-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--forest-color-rgb), 0.25);
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.notification-item {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
} 