.dropdown-menu:not(.show) {
    display: none;
}

.dropdown-item:active,
.dropdown-item.active {
    background-color: #58585a !important;
}

.body {
    font-family: 'Rubik', Arial, sans-serif;
}

.btn-dark {
    background: #58585a;
    border: none !important;
    box-shadow: none !important;
}

.btn-red {
    background: #91003C;
    color: #FFF;
    border: none !important;
    box-shadow: none !important;
}

.btn-red:hover,
button.btn-red:hover {
    background: #6d002c !important; /* Un rojo más oscuro */
    color: #FFF !important;
}

/* VERTICAL NAVBAR */
.sidebar-toggle-btn,
.sidebar-toggle-btn .bi {
    color: #91003C !important;
    transition: color 0.2s;
}

.sidebar-toggle-btn:hover,
.sidebar-toggle-btn:focus,
.sidebar-toggle-btn:hover .bi,
.sidebar-toggle-btn:focus .bi {
    color: #58585a !important;
}

#sidebarMenu .nav-link {
    color: #91003C !important;
    transition: color 0.2s;
}

#sidebarMenu .nav-link:hover,
#sidebarMenu .nav-link:focus {
    color: #58585a !important;
}

#sidebarMenu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 60px;
    z-index: 1061;
    background: #f8f9fa;
    transition: width 0.3s cubic-bezier(.4,0,.2,1), opacity 0.2s;
    overflow: hidden;
    opacity: 1;
}

#sidebarMenu.expanded {
    width: 260px !important;
}

.main-content-wrapper {
    margin-left: 5rem; /* igual al width del sidebar */
    transition: margin-left 0.3s;
}

#sidebarMenu.expanded ~ .main-content-wrapper {
    margin-left: 260px; /* igual al width expandido */
}


/***** Collapsed Bar *****/
#sidebarMenuExpanded .nav-link {
    justify-content: flex-start !important;
}

#sidebarMenuExpanded .nav-link {
    margin-right: 8px !important;
    font-size: 1rem !important;
    display: inline-block;
    width: auto;
    text-align: left;
    transition: font-size 0.3s;
}

#sidebarMenuExpanded .menu-text {
    display: inline !important;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #91003C !important;
}


/***** Expanded Bar *****/
#sidebarMenuCollapsed .nav-link {
    justify-content: center !important;
}

#sidebarMenuCollapsed .nav-link i {
    margin-right: 0 !important;
    font-size: 1.2rem !important;
    display: block;
    width: 100%;
    text-align: center;
    transition: font-size 0.3s;
}

#sidebarMenuCollapsed .menu-text {
    display: none !important;
}

#subCrew .nav-item {
    margin-bottom: 0 !important;
}

#subCrew .nav-link {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    min-height: 32px;
}

#subOperations .nav-item {
    margin-bottom: 0 !important;
}

#subOperations .nav-link {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    min-height: 32px;
}

#subCompany .nav-item {
    margin-bottom: 0 !important;
}

#subCompany .nav-link {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    min-height: 32px;
}


/* HORIZONTAL NAVBAR */
.body-nav {
    padding-top: 6rem;
}

.navbar-logo {
    padding-left: 5rem;
}

.navbar-nav .nav-link:hover {
    color: #91003C !important;
}

.icon-lower-lg {
    display: inline-block;
}

#navbarDropdownLang.dropdown-toggle::after,
#navbarDropdownUser.dropdown-toggle::after {
    vertical-align: middle;
}

.flag-shadow {
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.25);
    border-radius: 0.25rem;
}


/* HORIZONTAL NAVBAR DIVIDER */
.dropdown-divider-custom {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: 0.5rem; /* Divider Height */
}

.divider-red {
    width: 25%;
    height: 0.1rem; /* Divider Height */
    background: #91003C;
    border-radius: 2px 0 0 2px;
    display: block;
}

.divider-black {
    width: 75%;
    height: 0.052rem;
    background: #58585a;
    border-radius: 0 1px 1px 0;
    display: block;
    margin-left: 0;
}

/* VERTICAL NAVBAR DIVIDER */
.main-dropdown-divider {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.main-divider-red {
    width: 25%;
    height: 0.15rem; /* Divider Height */
    background: #91003C;
    border-radius: 2px 0 0 2px;
    display: block;
}

.main-divider-black {
    width: 75%;
    height: 0.052rem;
    background: #58585a;
    border-radius: 0 1px 1px 0;
    display: block;
    margin-left: 0;
}


/* SIDE BAR OFFCANVAS RIGHT */
#onlineUsersCount {
    font-size: 0.6em;
    z-index: 1;
}

.page-right-sidebar-inner {
    background: var(--bs-light);
    min-width: 320px;
    max-width: 350px;
    height: 100%;
    box-shadow: -2px 0 8px rgba(0,0,0,0.07);
}

.right-sidebar-top {
    background: #fff;
}

.chat-title {
    font-size: 1rem;
    color: #58585a;
}

.chat-list {
    max-height: 70vh;
    overflow-y: auto;
}

.chat-item {
    transition: background 0.2s;
    border-radius: 0.5rem;
}

.chat-item:hover {
    background: var(--bs-gray-200);
}

.right-sidebar-close {
    font-size: 1.2rem;
}

/* CARD & CARD BODY */
.card {
    transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
}

.card:hover {
    box-shadow: 0 0.5px 3px 0px rgba(145, 0, 60, 0.25);
}

.header-title {
    color: #91003C;
    font-size: 18px;
    font-weight: 600;
    margin-top: 0 !important;
    margin-bottom: 20px;
    padding-bottom: 0;
    line-height: 22px;
    position: relative;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: none !important;
}

.header-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1.1vh;
    width: 30%;
    height: 0.5vh;
    background: linear-gradient(
        to right,
        #91003C 0%,
        #91003C 25%,
        transparent 25%,
        transparent 100%
    );
    border-radius: 5px;
    z-index: 1;
    pointer-events: none;
    transition: right 0.3s cubic-bezier(.4,0,.2,1), width 0.3s cubic-bezier(.4,0,.2,1);
    right: 0;
    box-shadow: none;
}

.card:hover .header-title::after {
    width: 40%;
    right: -3%;
}

.header-title::before {
    content: "";
    position: absolute;
    left: 0.1vh;
    bottom: -1.1vh;
    width: 100%;
    height: 0.1vh;
    background: linear-gradient(
        to right,
        #6D6E71 25%,
        #6D6E71 100%,
        transparent 0%,
        transparent 25%
    );
    border-radius: 3px;
    z-index: 1;
    pointer-events: none;
}


/* BOXES */
.widget-desk {
    position: relative;
    overflow: hidden;
    background: var(--bs-light, #f4f5fa);
    border: 1px solid var(--bs-border-color, #e9ebec);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(81, 140, 229, 0.08);
    padding: 1rem 1rem;
    /*margin-bottom: 1.5rem;*/
    min-height: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1);
}

.widget-desk .widget-icon-bg {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 3rem;
    color: #58585a;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
    transition: color 0.3s, opacity 0.3s, bottom 0.4s;
}

.widget-desk:hover .widget-icon-bg {
    color: black;
    opacity: 0.16;
    bottom: 100px;
    transition: color 0.3s, opacity 0.3s, bottom 0.4s;
}

.widget-desk .header,
.widget-desk .description {
    position: relative;
    z-index: 1;
    color: #91003C;
    text-align: left;
    width: 100%;
}

.widget-desk .header {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.widget-desk .description {
    font-size: 0.80rem;
    font-weight: 400;
}


/* BREADCUMBS BAR + TIMER */
.custom-breadcrumb {
    font-size: 1.2rem;
    background: transparent;
    padding: 0;
}

.custom-breadcrumb .breadcrumb-item {
    color:#495057;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.custom-breadcrumb .breadcrumb-item.fw-bold {
    color: black;
    font-weight: 700;
}

.custom-breadcrumb .breadcrumb-separator {
    color: black;
    font-size: 1.1em;
    padding-left: 0.6rem;
    margin-top: -0.2rem;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #6D6E71;
    font-weight: 700;
    padding-left: 0.5rem;
}

#time-badges .badge {
    font-size: 0.7rem;
    padding: 0.6em 1em;
    margin-right: 0.3em;
}

/*******************************************************************
/*START INDIVIDUAL CSS STYLES PAGES*/

/*LOGIN & CREATE ACCOUNT & RECOVER CREDENTIALS*/
/*FORMS ELEMENTS*/
.coolinput {
    display: flex;
    flex-direction: column;
    position: static;
}

.coolinput label.text {
    font-size: 0.75rem;
    color: #91003C;
    font-weight: 700;
    position: relative;
    top: 0.5rem;
    margin: 0 0 0 7px;
    padding: 0 3px;
    background: #ffffffff;
    width: fit-content;
    z-index: 2;
}

.coolinput input[type=text].input {
    padding: 11px 10px;
    font-size: 0.75rem;
    border: 2px #91003C solid;
    border-radius: 5px;
    background: transparent;
}

.coolinput input[type=text].input:focus {
    outline: none;
}

.coolinput input.input {
    padding: 11px 10px;
    font-size: 0.75rem;
    border: 2px #91003C solid;
    border-radius: 5px;
    background: transparent;
}

.coolinput input.input:focus {
    outline: none;
}

.coolinput textarea.input {
    padding: 11px 10px;
    font-size: 0.75rem;
    border: 2px #91003C solid;
    border-radius: 5px;
    background: transparent;
}

.coolinput textarea.input:focus {
    outline: none;
}

.coolinput textarea.input.is-invalid {
    border-color: #dc3545;
}

.coolinput-dropdown {
    border: 2px solid #91003C !important;
    font-size: 0.75rem !important;
    border-radius: 5px;
}

.coolinput-checkbox {
    border: 2px solid #91003C !important;
    border-radius: 5px;
}

button {
    font-family: inherit;
    background: #91003C;
    color: white;
    padding: 0.7em 1em;
    padding-left: 0.9em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

button span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

button svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

button:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

button:hover svg {
    transform: translateX(3em) rotate(45deg) scale(1.1);
}

button:hover span {
    transform: translateX(8em);
}

button:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
    transform: translateY(0.1em);
    }

    to {
    transform: translateY(-0.1em);
    }
}

.verify-text {
    text-align: center;
}

/*HOME PAGE*/
.text-corp {
    color: #91003C !important;
}

.bg-corp {
    background-color: #91003C !important;
    color: #fff !important;
}

.airport-link:hover {
    color: #91003C !important;
}

.link:hover {
    color: #91003C !important;
}

/*FLIGHT SHOW PAGE*/
.nav-tabs .nav-link.link {
    color: #000000 !important;
}
.nav-tabs .nav-link.link:hover,
.nav-tabs .nav-link.link:focus {
    color: #91003c !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
}
.nav-tabs .nav-link.link.active {
    color: #91003c !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
}

/*MARKET PAGE*/
.market-item-card {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 1px solid #e9ecef;
}

.market-item-card:hover {
    box-shadow: 0 12px 32px 0 rgba(145, 0, 60, 0.25);
    transform: translateY(-4px);
    border-color: #91003C;
}

.market-item-card .market-item-image-container {
    border-radius: 0.75rem 0.75rem 0 0;
    position: relative;
}

.market-item-card:hover .market-item-image {
    transform: scale(1.1);
}

.market-item-card .market-item-image {
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.market-item-card .badge {
    box-shadow: 0 2px 8px rgba(145, 0, 60, 0.4);
    transition: all 0.3s ease;
    font-size: 0.7rem;
    padding: 0.4em 0.8em;
    backdrop-filter: blur(10px);
}

.market-item-card:hover .badge {
    transform: scale(1.05);
}

.market-item-card .btn {
    transition: all 0.2s ease;
}

.market-item-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(145, 0, 60, 0.3);
}

/* Modal Gift Styles */
.modal-content .btn-close-white:hover {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.modal-content .form-select:focus {
    border-color: #91003C !important;
    box-shadow: 0 0 0 0.25rem rgba(145, 0, 60, 0.15) !important;
}

.modal-content .btn-success:hover {
    background: #6d002c !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(145, 0, 60, 0.4);
}

.modal-content .btn-outline-secondary:hover {
    transform: translateY(-2px);
}

/*AIRLINES PAGE*/
.airline-card {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 1px solid #e9ecef;
}

.airline-card:hover {
    box-shadow: 0 12px 32px 0 rgba(145, 0, 60, 0.25);
    transform: translateY(-2px);
}

.airline-card .airline-header {
    border-radius: 0.5rem 0.5rem 0 0;
    position: relative;
}

.airline-card .airline-name {
    transition: color 0.3s ease;
}

.airline-card:hover .airline-name {
    color: #6d002c !important;
}

.airline-card .stat-box {
    transition: all 0.2s ease;
}

.airline-card:hover .stat-box {
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(145, 0, 60, 0.1);
}

.airline-card .btn-outline-dark:hover {
    background: #91003C !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(145, 0, 60, 0.3);
}

/*HUBS PAGE*/
.hub-card {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 1px solid #e9ecef;
}

.hub-card:hover {
    box-shadow: 0 12px 32px 0 rgba(145, 0, 60, 0.25);
    transform: translateY(-2px);
}

.hub-card .hub-header {
    border-radius: 0.5rem 0.5rem 0 0;
    position: relative;
}

.hub-card .hub-name {
    transition: color 0.3s ease;
}

.hub-card:hover .hub-name {
    color: #6d002c !important;
}

.hub-card .btn-outline-dark:hover {
    background: #91003C !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(145, 0, 60, 0.3);
}

/*DOCUMENTATION MODULE*/
/* Shelf Cards  */
.card:has(.card-header[style*="border-left"]):hover {
    box-shadow: 0 8px 24px 0 rgba(145, 0, 60, 0.15);
}

.card:has(.card-header[style*="border-left"]):hover .card-header {
    border-left-width: 6px !important;
}

.card:has(.card-header[style*="border-left"]):hover h4 {
    color: #91003C;
}

.card:has(.card-header[style*="border-left"]) .badge {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

/* Documentation Book Cards */
.card:has(.card-header[style*="background: linear-gradient"]) {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
}

.card:has(.card-header[style*="background: linear-gradient"]):hover {
    box-shadow: 0 8px 20px 0 rgba(145, 0, 60, 0.2);
}

.card:has(.card-header[style*="background: linear-gradient"]):hover .card-header a {
    color: #91003C !important;
}

.card:has(.card-header[style*="background: linear-gradient"]):hover .card-body small {
    color: #91003C !important;
}

.card:has(.card-header[style*="background: linear-gradient"]) .card-footer .btn {
    background: #91003C;
    color: #fff;
    border: none;
}

.card:has(.card-header[style*="background: linear-gradient"]):hover .card-footer .btn {
    background: #6d002c !important;
}

/* Documentation Chapter Cards */
.doc-chapter-card {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
    border-left: 4px solid #91003C !important;
}

.doc-chapter-card:hover {
    box-shadow: 0 6px 16px 0 rgba(145, 0, 60, 0.15);
    border-left-width: 6px !important;
}

.doc-chapter-card:hover h5 {
    color: #91003C !important;
}

/* Documentation Page Items */
.doc-page-item {
    border-left: 3px solid transparent !important;
}

.doc-page-item:hover {
    background: #fcfcfc !important;
    border-left-color: #91003C !important;
}

.doc-page-item:hover span {
    color: #91003C !important;
}

.doc-page-item:hover .fa-chevron-right {
    color: #6d002c !important;
}

.list-group-item.active {
    background-color: #91003C !important;
    border-color: #91003C !important;
}


/*END INDIVIDUAL CSS STYLES PAGES*/
/*******************************************************************