/* 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 */
}

/* Fix black background on active single menu items (Inicio) */
.sidebar-nav > ul > li > a.active {
    background: transparent !important;
    color: #1976d2 !important;
}

.sidebar-nav > ul > li > a:hover {
    background: rgba(0,0,0,0.02) !important;
}

/* Make dropdown arrows more visible */
.sidebar-nav .has-arrow::after {
    width: 9px !important;
    height: 9px !important;
    border-width: 2px 0 0 2px !important;
    border-color: #1976d2 !important; /* Make it blue to stand out */
    right: 1.2em !important;
}

/* Change menu text color */
.sidebar-nav > ul > li > a,
.sidebar-nav ul li ul li a,
.sidebar-nav > ul > li > a i {
    color: #525252 !important;
}

.sidebar-nav > ul > li > a:hover,
.sidebar-nav ul li ul li a:hover,
.sidebar-nav > ul > li > a:hover i {
    color: #1976d2 !important;
}

/* Active menu item color */
.sidebar-nav > ul > li.active > a,
.sidebar-nav > ul > li.active > a i,
.sidebar-nav ul li ul li.active > a,
.sidebar-nav ul li a.active,
.sidebar-nav ul li a.active i {
    color: #1976d2 !important;
    font-weight: 600 !important;
}
