/* 
  Custom Styles
  Extracted from index.asp
*/

.icon-blue {
    color: #ff0000; /* Fixed from font-color to color */
}

.zebra tbody tr:nth-child(odd) {
    background-color: #f0f0f0;
    background-position: 0 -80px;
    background-repeat: repeat-x;
}

.AlertaErro {
    color: #ff0000;
    font-weight: bold;
}

input {
    padding-left: 15px !important;
}

.BadgeTotal {
    vertical-align: middle;
    margin-left: -15px;
    margin-top: -20px;
    font-size: 9px;
}

.banner-visible {
    padding-bottom: 60px; /* Ajusta conforme o tamanho do banner */
}

.ios-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff3cd;
    color: #856404;
    border-top: 2px solid #ffeeba;
    z-index: 1000;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.ios-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    text-align: left;
}

.ios-banner-icon {
    width: 36px;
    height: 36px;
}

.icon-share {
    font-size: 1.2em;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .ios-banner-content {
        font-size: 16px;
    }
}

.navbar-brand-custom {
    min-width: 0;
}

.navbar-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.navbar-title-wrapper {
    line-height: 1.1;
}

.navbar-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: #6c757d;
    display: block;
}

.navbar-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #343a40;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 360px;
}

/* Ajustes mobile */
@media (max-width: 768px) {
    .navbar-title {
        max-width: 200px;
        font-size: 0.95rem;
    }
}

/* Sidebar Sophisticated Effects */
.main-sidebar .nav .nav-item .nav-link {
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 4px 8px; 
    padding: 10px 15px;
}

.main-sidebar .nav .nav-item .nav-link:hover {
    background-color: #f8f9fa; /* Light background on hover */
    color: #007bff; /* Accent color */
    transform: translateX(4px); /* Slight shift to the right */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Soft shadow */
}

.main-sidebar .nav .nav-item .nav-link i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.main-sidebar .nav .nav-item .nav-link:hover i {
    transform: scale(1.15); /* Slightly enlarge icon */
    color: #007bff;
}

/* Active State Styles */
.main-sidebar .nav .nav-item .nav-link.active {
    background-color: #e9ecef;
    font-weight: 600;
    color: #0056b3;
    border-left: 4px solid #007bff;
    border-radius: 0 6px 6px 0;
    margin-left: 0;
}

/* Dropdown Menu Improvements */
.main-sidebar .dropdown-menu {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 5px;
}

.main-sidebar .dropdown-item {
    transition: all 0.2s ease;
    padding: 8px 20px;
    border-radius: 4px;
    margin: 2px 8px;
    width: auto;
}

.main-sidebar .dropdown-item:hover {
    background-color: #f1f5f9;
    color: #007bff;
    transform: translateX(3px); /* Move text slightly right inside dropdown */
}
