/* Estilos personalizados */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 20px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}
/*.container
{
    margin-top:1rem
}*/
/* Ajustes para o FullCalendar */
.fc-event {
    cursor: pointer;
}

.fc-event-time {
    font-weight: bold;
}

/* Estilização dos cards */
.card {
    transition: transform 0.2s;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .card:hover {
        transform: translateY(-5px);
    }

.card-title {
    font-weight: 600;
}

/* Botões personalizados */
.btn-outline-primary {
    border-width: 2px;
}

    .btn-outline-primary:hover {
        background-color: #007bff;
        color: white;
    }

/* Estilização da página de confirmação */
.bi-check-circle-fill {
    color: #28a745;
}

/* Responsividade para telas pequenas */
@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }

    .fc-header-toolbar {
        flex-direction: column;
    }

    .fc-toolbar-chunk {
        margin-bottom: 10px;
    }
}

:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --success: #4cc9f0;
    --danger: #f72585;
    --warning: #f8961e;
    --info: #4895ef;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fb;
    color: #333;
    padding-top: 80px;
    min-height: 100vh;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
}

    .navbar-light .navbar-nav .nav-link:hover {
        color: var(--primary);
    }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

    .btn-primary:hover {
        background-color: var(--secondary);
        border-color: var(--secondary);
    }

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

    .btn-outline-primary:hover {
        background-color: var(--primary);
        border-color: var(--primary);
    }

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .card:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

.card-header {
    background-color: white;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
    }

.page-header {
    margin-bottom: 30px;
}

    .page-header h1 {
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
    }

    .page-header p {
        color: #6c757d;
    }

.table {
    border-radius: 10px;
    overflow: hidden;
}

    .table th {
        border-top: none;
        background-color: #f8f9fa;
        font-weight: 600;
    }

footer {
    background-color: white;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin-top: 50px;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Service cards */
.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-card .card-body {
        flex-grow: 1;
    }

/* Dashboard stats */
.stat-card {
    text-align: center;
    padding: 20px;
}

    .stat-card i {
        font-size: 36px;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .stat-card .stat-value {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .stat-card .stat-label {
        font-size: 14px;
        color: #6c757d;
    }


.success-animation {
    margin: 20px auto;
    width: 80px;
    height: 80px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4BB543;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4BB543;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4BB543;
    fill: none;
    animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4BB543;
    }
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media print {
    .dropdown, .btn-group, .card-footer, #notificacoesContainer {
        display: none !important;
    }

    .col-lg-8 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .col-lg-4 {
        display: none !important;
    }
}

/* Estilos para o calendário */
.fc-event {
    cursor: pointer;
    border-radius: 4px;
}

.fc-event-title {
    font-weight: 500;
}

.fc-daygrid-day-number {
    font-weight: 500;
}

.fc-daygrid-day.fc-day-today {
    background-color: rgba(67, 97, 238, 0.1);
}

.fc-button-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

    .fc-button-primary:hover {
        background-color: var(--secondary) !important;
        border-color: var(--secondary) !important;
    }

/* Estilos para abas */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 500;
}

    .nav-tabs .nav-link.active {
        border: none;
        border-bottom: 3px solid var(--primary);
        color: var(--primary);
    }

    .nav-tabs .nav-link:hover {
        border-color: transparent;
        border-bottom: 3px solid #e9ecef;
    }

    .nav-tabs .nav-link.active:hover {
        border-bottom: 3px solid var(--primary);
    }

/* Avatar circle */
.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para o calendário */
#bloqueiosCalendar {
    height: 400px;
}

.fc-event {
    cursor: pointer;
    border-radius: 4px;
}

.fc-event-title {
    font-weight: 500;
}

.fc-daygrid-day-number {
    font-weight: 500;
}

.fc-daygrid-day.fc-day-today {
    background-color: rgba(67, 97, 238, 0.1);
}

.fc-button-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

    .fc-button-primary:hover {
        background-color: var(--secondary) !important;
        border-color: var(--secondary) !important;
    }


/* Animação de pulsação para o ícone de alerta */
.alert .fas.fa-exclamation-triangle {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Adicione ao seu arquivo site.css */
.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f8f9fa;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f8f9fa;
}

.modal-title i {
    margin-right: 0.5rem;
}

/* Animação de entrada para modal */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.9);
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Cores para diferentes tipos de modals */
.modal-danger .modal-header {
    background-color: #dc3545;
    color: white;
}

.modal-warning .modal-header {
    background-color: #ffc107;
    color: #212529;
}

.modal-success .modal-header {
    background-color: #28a745;
    color: white;
}

.modal-info .modal-header {
    background-color: #17a2b8;
    color: white;
}

/* Classe para estilos de shake quando há erro */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}
/* Correção para o dropdown */
.dropdown-menu {
    display: none;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

    .dropdown-menu.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(67, 97, 238, 0.1);
        color: var(--primary);
    }

    .dropdown-item i {
        margin-right: 0.5rem;
        color: var(--primary);
    }

/* Certifica-se que o dropdown aparece na frente de outros elementos */
.dropdown {
    position: relative;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


