/* ========================================
   IDENTIDADE VISUAL - SISTEMA DE EQUIPAMENTOS
   Baseada na paleta de cores fornecida
   ======================================== */

/* ========================================
   PALETA DE CORES PRINCIPAL
   ======================================== */
:root {
    /* Cores Principais da Paleta */
    --primary-green: #00cc66;      /* Verde vibrante */
    --primary-dark-green: #2e8b57; /* Verde escuro */
    --primary-teal: #174a5b;       /* Azul-esverdeado escuro */
    --primary-dark-teal: #0c3e4e;  /* Azul-esverdeado muito escuro */
    
    /* Cores de Fundo */
    --bg-off-white: #d7d7d7;       /* Fundo off-white */
    --bg-light: #f8f9fa;           /* Fundo claro */
    --bg-white: #ffffff;           /* Branco puro */
    
    /* Cores de Texto */
    --text-dark: #174a5b;          /* Texto escuro */
    --text-muted: #6c757d;         /* Texto secundário */
    --text-light: #ffffff;         /* Texto claro */
    
    /* Cores de Status */
    --status-success: #00cc66;     /* Sucesso */
    --status-warning: #ffc107;     /* Aviso */
    --status-danger: #dc3545;      /* Perigo */
    --status-info: #174a5b;        /* Informação */
    
    /* Gradientes da Paleta */
    --gradient-primary: linear-gradient(135deg, #00cc66 0%, #2e8b57 100%);
    --gradient-secondary: linear-gradient(135deg, #174a5b 0%, #0c3e4e 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    
    /* Variações das Cores */
    --green-light: #33d679;        /* Verde mais claro */
    --green-lighter: #66e08c;      /* Verde ainda mais claro */
    --green-dark: #1f6b3f;         /* Verde mais escuro */
    --teal-light: #2a6b7a;         /* Teal mais claro */
    --teal-lighter: #418c9a;       /* Teal ainda mais claro */
    --teal-dark: #0a2d3a;          /* Teal mais escuro */
}

/* ========================================
   TIPOGRAFIA
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

/* ========================================
   NAVBAR PERSONALIZADA
   ======================================== */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 10px rgba(0, 204, 102, 0.2);
    border: none;
}

.navbar-brand {
    color: var(--text-light) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--text-light) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--text-light) !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* ========================================
   CARDS E COMPONENTES
   ======================================== */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(23, 74, 91, 0.1);
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(23, 74, 91, 0.15);
}

.card-header {
    background: var(--gradient-light);
    border-bottom: 2px solid var(--primary-green);
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
    color: var(--text-dark);
}

.summary-card {
    border-left: 4px solid var(--primary-green);
    background: var(--gradient-light);
}

.summary-card .card-body {
    padding: 1.5rem;
}

/* ========================================
   BOTÕES PERSONALIZADOS
   ======================================== */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 204, 102, 0.3);
}

.btn-success {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

.btn-info {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

.btn-secondary {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 8px;
    font-weight: 500;
}

/* ========================================
   TABELAS PERSONALIZADAS
   ======================================== */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background: var(--gradient-secondary);
    color: var(--text-light);
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(0, 204, 102, 0.05);
    transform: scale(1.01);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(23, 74, 91, 0.02);
}

/* ========================================
   BADGES E STATUS
   ======================================== */
.badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.badge.bg-success {
    background: var(--status-success) !important;
}

.badge.bg-warning {
    background: var(--status-warning) !important;
    color: var(--text-dark);
}

.badge.bg-danger {
    background: var(--status-danger) !important;
}

.badge.bg-info {
    background: var(--status-info) !important;
}

.badge.bg-secondary {
    background: var(--primary-dark-green) !important;
}

/* ========================================
   ELEMENTOS DECORATIVOS
   ======================================== */
.decorative-element {
    position: relative;
}

.decorative-element::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.3;
}

.decorative-element::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 15px;
    height: 15px;
    background: var(--primary-teal);
    border-radius: 50%;
    opacity: 0.3;
}

/* ========================================
   DASHBOARD ESPECÍFICO
   ======================================== */
.dashboard-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(23, 74, 91, 0.1);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.dashboard-stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.dashboard-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

/* ========================================
   FORMULÁRIOS PERSONALIZADOS
   ======================================== */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 204, 102, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ========================================
   ALERTAS PERSONALIZADAS
   ======================================== */
.alert {
    border: none;
    border-radius: 10px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(0, 204, 102, 0.1) 0%, rgba(46, 139, 87, 0.1) 100%);
    color: var(--primary-dark-green);
    border-left: 4px solid var(--status-success);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    color: #856404;
    border-left: 4px solid var(--status-warning);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
    color: #721c24;
    border-left: 4px solid var(--status-danger);
}

.alert-info {
    background: linear-gradient(135deg, rgba(23, 74, 91, 0.1) 0%, rgba(12, 62, 78, 0.1) 100%);
    color: var(--primary-teal);
    border-left: 4px solid var(--status-info);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    .dashboard-stat {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.text-primary {
    color: var(--primary-green) !important;
}

.text-secondary {
    color: var(--primary-teal) !important;
}

.bg-primary {
    background-color: var(--primary-green) !important;
}

.bg-secondary {
    background-color: var(--primary-teal) !important;
}

.border-primary {
    border-color: var(--primary-green) !important;
}

.border-secondary {
    border-color: var(--primary-teal) !important;
}

/* ========================================
   VARIAÇÕES DE CORES
   ======================================== */
.text-green-light {
    color: var(--green-light) !important;
}

.text-green-lighter {
    color: var(--green-lighter) !important;
}

.text-green-dark {
    color: var(--green-dark) !important;
}

.text-teal-light {
    color: var(--teal-light) !important;
}

.text-teal-lighter {
    color: var(--teal-lighter) !important;
}

.text-teal-dark {
    color: var(--teal-dark) !important;
}

.bg-green-light {
    background-color: var(--green-light) !important;
}

.bg-green-lighter {
    background-color: var(--green-lighter) !important;
}

.bg-green-dark {
    background-color: var(--green-dark) !important;
}

.bg-teal-light {
    background-color: var(--teal-light) !important;
}

.bg-teal-lighter {
    background-color: var(--teal-lighter) !important;
}

.bg-teal-dark {
    background-color: var(--teal-dark) !important;
}

/* ========================================
   GRADIENTES ADICIONAIS
   ======================================== */
.gradient-green-light {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--primary-green) 100%);
}

.gradient-green-dark {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--green-dark) 100%);
}

.gradient-teal-light {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--primary-teal) 100%);
}

.gradient-teal-dark {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--teal-dark) 100%);
}

/* ========================================
   ELEMENTOS DECORATIVOS AVANÇADOS
   ======================================== */
.decorative-semicircles {
    position: relative;
}

.decorative-semicircles::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 15px;
    background: var(--primary-green);
    border-radius: 15px 15px 0 0;
    opacity: 0.6;
}

.decorative-semicircles::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 20px;
    height: 10px;
    background: var(--primary-teal);
    border-radius: 0 0 10px 10px;
    opacity: 0.6;
}

/* ========================================
   CARDS COM VARIAÇÕES
   ======================================== */
.card-green {
    border-left: 4px solid var(--primary-green);
}

.card-teal {
    border-left: 4px solid var(--primary-teal);
}

.card-green-light {
    border-left: 4px solid var(--green-light);
}

.card-teal-light {
    border-left: 4px solid var(--teal-light);
}

/* ========================================
   BOTÕES COM VARIAÇÕES
   ======================================== */
.btn-green-light {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--primary-green) 100%);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    color: white;
}

.btn-teal-light {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--primary-teal) 100%);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    color: white;
}

.btn-green-dark {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--green-dark) 100%);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    color: white;
}

.btn-teal-dark {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--teal-dark) 100%);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    color: white;
} 