#loadable_content {
    display: none;
}

/* === ANALYTICS MEETING ROOMS - METRIC CARDS === */
.metric-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7E57C2, #5E35B1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(126, 87, 194, 0.15) !important;
}

.metric-card-appointments::before {
    background: linear-gradient(90deg, #7E57C2, #5E35B1);
}

.metric-card-billing::before {
    background: linear-gradient(90deg, #4DB6AC, #26A69A);
}

.metric-card h2 {
    color: #2c3e50;
    font-size: 2rem;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.metric-card:hover h2 {
    color: #7E57C2;
}

.metric-card-billing:hover h2 {
    color: #26A69A;
}

/* Loading overlay para gráficos */
.chart-loading {
    position: relative;
}

.chart-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Estado vacío mejorado */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state h6 {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.875rem;
    margin: 0;
}

/* Botones de periodo mejorados */
.indicator-period-btn,
.period-btn,
.billing-period-btn {
    transition: all 0.2s ease;
    font-weight: 500;
    border-width: 2px;
}

.indicator-period-btn:not(.btn-primary):hover,
.period-btn:not(.btn-primary):hover,
.billing-period-btn:not(.btn-primary):hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Selectores de fecha */
#month_selector,
#year_selector {
    flex: 1;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

#month_selector:focus,
#year_selector:focus {
    border-color: #7E57C2;
    box-shadow: 0 0 0 0.2rem rgba(126, 87, 194, 0.25);
}

/* === END ANALYTICS STYLES === */

img {
    object-fit: cover;
    object-position: center;
}

.content {
    margin-bottom: 50px;
}

#accordion_collapsed {
    background-color: white;
}

.min_width_max {
    min-width: max-content;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
}

.pagination>* {
    margin-top: 0.5rem;
}

.swal2-actions {
    gap: 0.5rem;
}

.swal2-actions>button+button {
    margin: 0;
}

tr.odd {
    background-color: ghostwhite;
}

#user_image {
    border: solid 2px rgba(255, 255, 255, 0.85);
}


.secondary_background {
    background: linear-gradient(135deg, #5D7280, #0a0a0a 200%);
}

#id_lang_flags_container img {
    object-fit: contain;
}

.visualization_mode_card {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.visualization_mode_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.visualization_mode_img {
    width: 100%;
}

/* BOTONES DEL INDEX */
.buttons_section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    place-content: center;
}

.button_container {
    text-align: center;
}

.button_container button {
    font-size: 2.25rem;
    font-weight: 500;
    padding: 2rem;
    border: solid white 0.3rem;
    border-radius: 4rem;
    color: white;
    background: radial-gradient(at 50% -150%, #ffc69e, #D25600);
    box-shadow: black 0px 0px 0px 0px;
}

.button_container button:hover:not(:active) {
    scale: 1.02;
    transition: 0.2s;
}

/* //BOTONES DEL INDEX */

.profile_image {
    aspect-ratio: 1;
}

.cls-hidden {
    display: none;
}

#create_group_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#create_group_name {
    max-width: 20rem;
}

#create_group_button {
    width: fit-content;
}

#delivery_cost_container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#delivery_cost_container input {
    width: 5rem;
}

#modify_group_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#profile_username {
    color: white;
}

#profile_button:hover #profile_username {
    color: black;
}

.gallery-container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.gallery-item {
    position: relative;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

.image-container {
    position: relative;
    /* margin-bottom: 10px; */
    margin: 0 20px 0 0px;
}

.delete-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    /* Puedes ajustar el color según tus preferencias */
    cursor: pointer;
    /* Hace que el cursor cambie a una mano cuando pasa sobre el icono de borrar */
}

.image-container:hover .delete-icon {
    display: block;
}

/* ANALYTICS - TOP PRODUCTS */
.top_products_img_container {
    border: solid #d83f13;
    border-radius: 25%;
    overflow: hidden;
}

.top_products_img_container img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product_div {
    padding: 1rem;
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
}

.top_products_info_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.top_products_total {
    font-weight: bold;
    margin: 0;
}

.top_products_category {
    color: grey;
}

.top_products_name {
    font-weight: bold;
}

/* end ANALYTICS - TOP PRODUCTS */

.icon_button {
    border: solid;
    display: flex;
    flex-direction: column;
    height: fit-content;
    aspect-ratio: 1;
    place-content: center;
    border-radius: 0.6rem;
    outline: solid #727272 0.1rem;
}

.list-group-item {
    cursor: pointer;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

#products_list .card {
    transition: all 0.3s ease;
}

#products_list .card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-login {
    /* Fondo apilado: gradiente semitransparente encima de la imagen para dar un tinte morado */
    background-image: linear-gradient(180deg, #aa74c5 0%, #6F3D94 50%, #452e80 100%), url('../images/backgrounds/Bg_Krondoc.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    /* Opcional: controla cómo se mezclan las capas (ajusta si necesitas otro efecto) */
    background-blend-mode: overlay;
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}


.logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.logo img {
    height: 6rem;
}

.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
}

.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: left;
    margin-bottom: 2rem;
}

h1 {
    color: #452e80;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

h2 {
    color: #452e80;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.login-header p {
    color: #452e80;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1rem;
}

input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--gradient-end);
}

input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

input[type="password"]:focus {
    outline: none;
    border-color: var(--gradient-end);
}

button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"] {
    margin-bottom: 1rem;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

.forgot-password {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.forgot-password a {
    color: var(--gradient-end);
    text-decoration: none;
    margin-left: 0.25rem;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.google-login,
.sso-login {
    background-color: white;
    border: 1px solid #e0e0e0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.google-login img,
.sso-login img {
    width: 1.25rem;
    height: 1.25rem;
}

.create-account {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.create-account a {
    color: var(--gradient-end);
    text-decoration: none;
    margin-left: 0.25rem;
}


@media (max-width: 768px) {
    .container {
        justify-content: center;
        padding: 1rem;
    }

    .logo {
        position: static;
        text-align: center;
        margin: 2rem 0;
    }

    .login-card {
        padding: 2rem;
    }
}


.required:after {
    content: " *";
    color: red;
}

.btn-krondoc {
    background-color: #DCC3E2;
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-krondoc-black {
    background-color: rgb(180, 123, 196);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-clear {
    background-color: #F8F9FA;
    color: black;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Botones de formularios: ajustar tamaño y espaciado para consistencia */
.form-actions {
    gap: 0.5rem;
}

.form-actions .btn {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Tamaños recomendados: cancelar más pequeño, guardar principal */
.form-actions #cancel_department_btn {
    flex: 0 0 auto;
    min-width: 110px;
}

.form-actions #save_department_btn {
    flex: 1 1 auto;
    max-width: 360px;
    /* evita que crezca demasiado en pantallas amplias */
}

/* Alineación y comportamiento en pantallas pequeñas */
@media (max-width: 576px) {
    .form-actions {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
    }

    .form-actions #cancel_department_btn,
    .form-actions #save_department_btn {
        width: 100%;
        max-width: none;
    }
}


.password-group { position: relative; }
	.password-group .password-input {
		padding-right: 56px; /* espacio para el toggle */
		/* asegurar altura/line-height consistentes */
		box-sizing: border-box;
	}
	.password-group .password-toggle {
		position: absolute;
		right: -140px;
		top: 50%;
		transform: translateY(-50%);
		border: none;
		background: transparent;
		padding: 2px;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: calc(100% - 8px); /* adaptar a la altura del input */
		z-index: 3; /* sobre el texto */
	}
	.password-group .password-toggle svg { display:block; width:18px; height:18px; }
	.password-group .password-toggle { -webkit-appearance: none; }
	.password-group .password-toggle:focus { outline: none; }
	/* si el input tiene altura mayor (por Bootstrap), asegúrate que el toggle se centre */
	.password-group .form-control { vertical-align: middle; }

progress {
    position: relative;
    z-index: 0;
    left: 15px;
    top: 8px;
    height: 25px;
    width: 200px;
    border-radius: 5px;
}

progress::-webkit-progress-bar {
    background-color: #f0f0f0;
    border-radius: 5px;
}

progress::-webkit-progress-value {
    background-color: #4CAF50;
    border-radius: 5px;
}

progress::-moz-progress-bar {
    background-color: #4CAF50;
    border-radius: 5px;
}

.loading-pulse {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #7157a1;
    animation: pulse 1.2s ease-in-out infinite;
    position: relative;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(113, 87, 161, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(113, 87, 161, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(113, 87, 161, 0);
    }
}

/* Badges personalizados - Nueva paleta */
.custom-badge-success {
    background: linear-gradient(45deg, #7E57C2, #5E35B1);
    /* Morado profundo */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

.custom-badge-warning {
    background: linear-gradient(45deg, #FFB74D, #FF9800);
    /* Naranja cálido */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

.custom-badge-info {
    background: linear-gradient(45deg, #4DB6AC, #26A69A);
    /* Turquesa */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

.custom-badge-danger {
    background: linear-gradient(45deg, #F06292, #E91E63);
    /* Rosa/Fucsia */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

.custom-badge-office {
    background: linear-gradient(45deg, #9575CD, #7986CB);
    /* Violeta suave */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

.custom-badge-remote {
    background: linear-gradient(45deg, #81C784, #4CAF50);
    /* Verde fresco */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

.custom-badge-field {
    background: linear-gradient(45deg, #64B5F6, #2196F3);
    /* Azul cielo */
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}

/* Mejora de efectos visuales */
.badge {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

/* .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
} */

.badge i {
    transition: transform 0.3s ease;
}

.badge:hover i {
    transform: scale(1.2) rotate(5deg);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.btn-light {
    border-color: #dee2e6;
    background-color: #fff;
    transition: all 0.2s ease;
}

.btn-light:hover {
    background-color: #f8f9fa;
    border-color: #cbd3da;
}

.gap-2 {
    gap: 0.5rem !important;
}

/* Estilos para los botones de informes */
.datatable-header .btn-light {
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 0.875rem;
    padding: 0.4375rem 0.875rem;
    transition: all 0.2s ease;
}

.datatable-header .btn-light:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.datatable-header .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.datatable-header .dropdown-item {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Ajustar espaciado del filtro */
.dataTables_filter {
    margin-right: 1rem;
}

.datatable-buttons {
    display: flex;
    gap: 1rem;
}


.datatable-buttons-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    flex-direction: center;
    justify-content: center;
}

.dataTables_length {
    margin-bottom: auto;
}

.fixed-height-card {
    height: 250px !important;
    /* Ajusta esta altura según necesites */
}

/* Hacer que el contenido de la card sea scrolleable */
.fixed-height-card .card-body {
    height: calc(100% - 56px);
    /* Resta la altura del header */
    overflow-y: auto;
}

/* Estilizar la barra de scroll */
.fixed-height-card .card-body::-webkit-scrollbar {
    width: 6px;
}

.fixed-height-card .card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.fixed-height-card .card-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.nav_custom_hover:hover {
    background-color: #a981ee9c !important;
}

/* Contenedor general */
#report_buttons_wrapper {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    padding-bottom: 1rem;
    flex-wrap: nowrap;
}

/* Grupos de botones (columnas) */
#report_buttons_wrapper .button-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 220px;
}

/* Modo móvil: apilar grupos verticalmente */
@media (max-width: 991.98px) {
    #report_buttons_wrapper {
        flex-direction: column;
        align-items: center;
    }

    #report_buttons_wrapper .button-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
}

@media (min-width: 992px) {
    .datatable-header {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
        /* para navegadores que lo soporten */
    }
}



.dropdown-header {
    font-weight: 600;
    color: #495057 !important;
    padding: 0.5rem 1rem;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item:focus {
    outline: none;
    background-color: #e9ecef;
}

.dropdown-divider {
    margin: 0.25rem 0;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #198754 !important;
}

.report-buttons-wrapper .button-group {
    margin-bottom: 10px;
    margin-top: 25px;
}

.report-buttons-wrapper .dropdown {
    margin-right: 10px;
}

/* Estilos específicos para botones dentro de dropdowns */
.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    transition: background-color 0.15s ease-in-out;
}

.dropdown-menu .dropdown-item i {
    width: 16px;
    text-align: center;
}

.swal2-close {
    z-index: 9999 !important;
}


/* Los elementos de módulos se muestran luego si los módulos están activos */
[data-module] {
    display: none;
}




.clock-container {
    max-width: 420px;
    margin: 18px auto;
    padding: 18px;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #e5e7eb
}

.display {
    height: 56px;
    background: #111827;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 28px;
    letter-spacing: 3px
}

.display .value {
    flex: 1;
    text-align: center
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px
}

.key {
    background: #fff;
    border: 1px solid #d1d5db;
    padding: 14px 0;
    border-radius: 6px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
    user-select: none
}

.key.action {
    background: #0ea5a4;
    color: #fff;
    border-color: transparent
}

.key.wide {
    grid-column: span 2
}

.key:active {
    transform: translateY(1px)
}

.status {
    margin-top: 12px;
    font-size: 14px;
    color: #374151;
    text-align: center;
    min-height: 20px
}

@media (max-width:480px) {
    .clock-container {
        margin: 12px;
        padding: 12px
    }
}

.action-button {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    grid-column: 1 / -1
}

.action-button .key {
    flex: 1;
    border-radius: 6px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0
}

.action-button .key.action {
    font-weight: 600
}

.enter-btn {
    background: linear-gradient(90deg, #7E57C2, #5E35B1);
    color: #fff
}

.enter-btn:hover {
    filter: brightness(1.02)
}

.exit-btn {
    background: linear-gradient(90deg, #F06292, #E91E63);
    color: #fff
}

.exit-btn:hover {
    filter: brightness(1.02)
}

/* Selectores más específicos para sobreescribir .key.action */
.key.action.enter-btn {
    background: linear-gradient(90deg, #7E57C2, #5E35B1);
    color: #fff
}

.key.action.enter-btn:hover {
    filter: brightness(1.02)
}

.key.action.exit-btn {
    background: linear-gradient(90deg, #F06292, #E91E63);
    color: #fff
}

.key.action.exit-btn:hover {
    filter: brightness(1.02)
}

#year-calendar .month-card {
    min-height: 260px;
}

#year-controls {
    gap: 6px;
    flex-wrap: nowrap;
}

.year-control-button {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

#year-display {
    min-width: 96px;
    padding: 6px 10px;
    background: #f8f9fb;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

#year-controls,
#year-display {
    white-space: nowrap;
}

#year-controls .btn {
    box-shadow: none;
}

@media (max-width: 576px) {
    .year-control-button {
        width: 36px;
        height: 36px;
    }

    #year-display {
        min-width: 64px;
        padding: 4px 8px;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    #year-calendar .month-card {
        min-height: 300px;
    }
}

/* Ajustes para que FullCalendar dentro de cada tarjeta se muestre correctamente */
.year-month-container {
    height: 100%;
}

.year-month-container .fc {
    box-shadow: none;
}


.fab-container {
	 display: flex;
	 flex-direction: column;
	 justify-content: flex-end;
	 align-items: center;
	 user-select: none;
	 position: absolute;
	 bottom: 30px;
	 right: 30px;
}
 .fab-container:hover {
	 height: 100%;
}
 .fab-container:hover .sub-button:nth-child(2) {
	 transform: translateY(-80px);
}
 .fab-container:hover .sub-button:nth-child(3) {
	 transform: translateY(-140px);
}
 .fab-container:hover .sub-button:nth-child(4) {
	 transform: translateY(-200px);
}
 .fab-container:hover .sub-button:nth-child(5) {
	 transform: translateY(-260px);
}
 .fab-container:hover .sub-button:nth-child(6) {
	 transform: translateY(-320px);
}
 .fab-container .fab {
	 position: relative;
	 height: 70px;
	 width: 70px;
	 background-color:#a374be;
	 border-radius: 50%;
	 z-index: 2;
}
 .fab-container .fab::before {
	 content: " ";
	 position: absolute;
	 bottom: 0;
	 right: 0;
	 height: 35px;
	 width: 35px;
	 background-color: inherit;
	 border-radius: 0 0 10px 0;
	 z-index: -1;
}
 .fab-container .fab .fab-content {
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 height: 100%;
	 width: 100%;
	 border-radius: 50%;
}
 .fab-container .fab .fab-content .material-icons,
 .fab-container .fab .fab-content i {
 	color: white;
 	font-size: 48px;
}
 .fab-container .sub-button {
	 position: absolute;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 bottom: 10px;
	 right: 10px;
	 height: 50px;
	 width: 50px;
	 background-color: #A37EE3;
	 border-radius: 50%;
	 transition: all 0.3s ease;
}
 .fab-container .sub-button:hover {
	 cursor: pointer;
}
 .fab-container .sub-button .material-icons,
 .fab-container .sub-button i {
 	color: white;
 	padding-top: 6px;
}

/* Asegurar que los enlaces dentro del FAB mantengan el color blanco */
.fab-container .sub-button a {
    color: #fff;
}
 


.btn_fichar,
.btn-fichar {
    background: linear-gradient(180deg, #f7de80 0%, #f7bf59 100%);
    color: #fff;
}

.swal2-popup .btn-group, .swal2-popup .multiselect-native-select, .swal2-popup .select2-container {
    margin-top: 0rem;
}


.fc-bg-event.holiday-general {
  background: linear-gradient(90deg, #FFD6A5 0%, #F39C12 100%) !important;
  opacity: 0.9;
  border-radius: 8px;
}

.fc-bg-event.holiday-company {
  background: linear-gradient(90deg, #b388ff 0%, #6F5B8A 100%) !important;
  opacity: 0.9;
  border-radius: 8px;
}

.fc-daygrid-day {
  border-radius: 8px;
}

/* === RESPONSIVE HEADER BUTTONS === */
/* En móvil, los botones solo muestran iconos */
@media (max-width: 991.98px) {
  .btn-icon-mobile {
    padding: 0.5rem 0.75rem !important;
    min-width: auto !important;
  }
  
  .btn-icon-mobile i,
  .btn-icon-mobile img {
    margin: 0 !important;
  }
  
  .btn-icon-mobile .btn-text {
    display: none !important;
  }
  
  /* Ajustar contenedor de botones en móvil */
  .card-header .col-12.col-lg-6 {
    gap: 0.35rem !important;
  }
  
  /* Hacer el botón de perfil más compacto en móvil */
  #profile_button {
    padding: 0.25rem !important;
  }
  
  #profile_button .ms-2 {
    margin-left: 0 !important;
  }
}

/* En desktop, mostrar texto completo */
@media (min-width: 992px) {
  .btn-icon-mobile .btn-text {
    display: inline !important;
  }
}