/* ============================================
   ESTILOS GLOBAIS DO SISTEMA
   ============================================ */

:root {
    --primary-color: #1a73e8;
    --primary-dark: #0d47a1;
    --sidebar-width: 260px;
    --navbar-height: 56px;
}

/* Reset e base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f0f2f5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.main-content {
    padding: 20px;
    min-height: calc(100vh - var(--navbar-height));
    transition: margin-left 0.3s ease;
    background: #f0f2f5;
}

/* ============================================
   CARDS E COMPONENTES
   ============================================ */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============================================
   RESPONSIVIDADE GERAL
   ============================================ */
@media (max-width: 768px) {
    .main-content {
        padding: 12px;
    }
    
    .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}