/* Custom UOLRA Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Force Static Fixed Header (Disable JS Animation Stutter) */
.fix-header .topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
}
.fix-header .page-wrapper {
    padding-top: 70px !important;
}

/* Sidebar Menu Font Size */
.sidebar-nav > ul > li > a {
    font-size: 17px !important;
}

.sidebar-nav ul li ul li a {
    font-size: 16px !important;
}

/* Cards Modernization (No Hover Zoom!) */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: none;
    transition: none !important; /* Removed hover zoom */
}
.card:hover {
    transform: none !important;
}

/* Buttons Modernization */
.btn {
    border-radius: 6px;
    font-weight: 500;
}

.company-name-truncate {
    max-width: 500px; /* Increased to give priority */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: bottom;
}

/* Shrink locality to save space */
.locality-truncate {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: bottom;
}

/* Tables styling */
.table th {
    font-weight: 600;
    color: #455a64;
    border-bottom: 2px solid #e9ecef;
}

/* Uppercase all data in the empresas list table */
#empresas tbody td {
    text-transform: uppercase;
}

/* Removed any scroll animations or zoom on hover for table rows */
.table tbody tr {
    transition: background-color 0.2s ease;
}
.table tbody tr:hover {
    background-color: #f8f9fa !important;
    transform: none !important; /* Force no zoom */
}

/* Premium Celeste Sidebar */
.left-sidebar {
    background: linear-gradient(180deg, #0077b6 0%, #00b4d8 100%) !important;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}
.sidebar-nav > ul > li > a {
    color: #e0fbfc !important;
    transition: all 0.3s ease;
}
.sidebar-nav > ul > li.active > a,
.sidebar-nav > ul > li.active > a:hover,
.sidebar-nav > ul > li > a.active,
.sidebar-nav > ul > li > a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 6px;
    margin: 0 8px;
    padding-left: 10px;
}
.sidebar-nav > ul > li > a i {
    color: #caf0f8 !important;
}
.sidebar-nav ul li ul li a {
    color: #caf0f8 !important;
}
.sidebar-nav ul li ul li a:hover {
    color: #ffffff !important;
}

/* Aggressive override for sidebar active/hover states */
.sidebar-nav ul li.active,
.sidebar-nav ul li:hover,
.sidebar-nav > ul > li.active,
.sidebar-nav > ul > li:hover,
.sidebar-nav ul li a:hover,
.sidebar-nav ul li.active > a {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}


/* FINAL AGGRESSIVE FIX FOR ACTIVE MENU ITEM */
.sidebar-nav > ul > li > a.active,
.sidebar-nav > ul > li > a:hover,
.sidebar-nav ul li > a.active,
.sidebar-nav ul li > a:hover,
.sidebar-nav ul li.active > a {
    background: rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

