:root {
    /* Paleta Core (Independente de Tema) */
    --primary-color: #007AFF;
    --secondary-color: #5856d6;
    --accent-color: #007AFF;
    --accent-strong: #0062cc;
    --success-color: #34c759;
    --warning-color: #ff9500;
    --danger-color: #ff3b30;
    --info-color: #5ac8fa;

    /* Variáveis de Tema (Light Mode Default) */
    --bg-body: #f5f5f7;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    --panel-bg: rgba(255, 255, 255, 0.92);
    --white: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --text-secondary: #86868b;
    --input-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(255, 255, 255, 0.6);

    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --shadow-hover: 0 12px 40px rgba(31, 38, 135, 0.2);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Gaps e Radius */
    --radius-lg: 24px;
    --radius-l: 24px;
    --radius-md: 16px;
    --radius-m: 16px;
    --radius-sm: 12px;

    --gradient-soft: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Tipografia Fluida (Clamp) */
    --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
}

/* Suporte Nativo a Dark Mode (Fase 5) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #1c1c1e;
        --glass-bg: rgba(30, 30, 30, 0.85);
        --glass-border: rgba(255, 255, 255, 0.1);
        --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

        --panel-bg: rgba(44, 44, 46, 0.92);
        --white: #ffffff;
        /* Mantido para textos em botões coloridos */
        --text-main: #f5f5f7;
        --text-muted: #a1a1a6;
        --text-secondary: #86868b;
        --input-bg: rgba(0, 0, 0, 0.3);
        --border-color: rgba(255, 255, 255, 0.1);

        --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    font-size: var(--text-base);

    /* Fundo Aurora Animado (Adaptativo) */
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0.5) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.5) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.5) 0, transparent 50%);
    background-size: 200% 200%;
    background-attachment: fixed;
}

/* Regra de Leitura (Fase 4 - Measure) */
p,
article,
.reading-content {
    max-width: 65ch;
    margin-left: 0;
}

/* Classe Utilitária de Vidro */
/* Classe Utilitária de Vidro */
.glass-panel {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-l);
    color: var(--text-main);
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-color);
}

a:hover {
    color: var(--accent-strong);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ==================== CARDS (Glassmorphism) ==================== */
/* ==================== CARDS (Glassmorphism) ==================== */
.card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    background: var(--panel-bg) !important;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.card-body {
    padding: 0;
}

/* ==================== BOTÕES (Estilo iOS) ==================== */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    outline: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.35);
}

.btn-primary:hover {
    background: var(--accent-strong);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(52, 199, 89, 0.35);
}

.btn-success:hover {
    background: #2db84d;
    transform: scale(1.02);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35);
}

.btn-danger:hover {
    background: #e6352b;
    transform: scale(1.02);
}

.btn-secondary {
    background: rgba(142, 142, 147, 0.2);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(142, 142, 147, 0.3);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.02);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ==================== FORMULÁRIOS (iOS Style) ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-base);
    transition: var(--transition);
    outline: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.form-control:disabled {
    background: rgba(142, 142, 147, 0.12);
    cursor: not-allowed;
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.form-select:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==================== ALERTAS (iOS Notifications) ==================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.alert-success {
    background: rgba(52, 199, 89, 0.15);
    color: #1e7e34;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.alert-danger {
    background: rgba(255, 59, 48, 0.15);
    color: #c82333;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.alert-warning {
    background: rgba(255, 149, 0, 0.15);
    color: #b36b00;
    border: 1px solid rgba(255, 149, 0, 0.3);
}

.alert-info {
    background: rgba(90, 200, 250, 0.15);
    color: #0c5460;
    border: 1px solid rgba(90, 200, 250, 0.3);
}

/* ==================== BADGES (iOS Pills) ==================== */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-primary {
    background: rgba(0, 122, 255, 0.15);
    color: var(--primary-color);
}

.badge-success {
    background: rgba(52, 199, 89, 0.15);
    color: var(--success-color);
}

.badge-warning {
    background: rgba(255, 149, 0, 0.15);
    color: var(--warning-color);
}

.badge-danger {
    background: rgba(255, 59, 48, 0.15);
    color: var(--danger-color);
}

.badge-secondary {
    background: rgba(142, 142, 147, 0.15);
    color: var(--text-muted);
}

.badge-info {
    background: rgba(90, 200, 250, 0.15);
    color: #0a84ff;
}

/* ==================== TABELAS (Glass Style) ==================== */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius-md);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table thead {
    background: rgba(0, 122, 255, 0.1);
    color: var(--text-main);
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table th {
    font-weight: 600;
    color: var(--primary-color);
}

.table tbody tr:hover {
    background: rgba(0, 122, 255, 0.05);
}

.table-striped tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== GRID ==================== */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* ==================== ESTATÍSTICAS (Glass Cards) ==================== */
.stats-card {
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-main);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    border: 1px solid #e5e5ea;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    background: #ffffff;
}

.stats-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0;
    color: #1d1d1f;
}

.stats-label {
    font-size: 0.95rem;
    color: #333333;
    font-weight: 600;
}

.stats-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    opacity: 1;
}

/* ==================== LOADING ==================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== UTILITÁRIOS ==================== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.p-1 {
    padding: 10px;
}

.p-2 {
    padding: 20px;
}

.p-3 {
    padding: 30px;
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 10px;
}

.gap-2 {
    gap: 20px;
}

.text-muted {
    color: var(--text-muted);
    font-weight: 500;
}

.text-success {
    color: var(--success-color);
    font-weight: 600;
}

.text-danger {
    color: var(--danger-color);
    font-weight: 600;
}

.text-warning {
    color: var(--warning-color);
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-normal {
    font-weight: 400;
}

/* ==================== RESPONSIVO (Ajustes Finos / Art Direction) ==================== */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .card {
        padding: 15px;
    }

    .btn {
        padding: 10px 20px;
    }

    .table th,
    .table td {
        padding: 10px;
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    .card-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==================== CORREÇÕES DE LEGIBILIDADE ==================== */

/* Formulários mais visíveis */
.form-label {
    color: #000000;
    font-weight: 600;
}

.form-control,
.form-select {
    background: #ffffff !important;
    border: 1px solid #d1d1d6;
    color: #000000;
    font-weight: 500;
}

.form-control:focus,
.form-select:focus {
    background: #ffffff !important;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
}

/* Tabelas mais legíveis */
.table {
    background: rgba(255, 255, 255, 0.95);
}

.table th {
    color: #000000;
    font-weight: 800;
    background: rgba(0, 122, 255, 0.1);
}

.table td {
    color: #333;
    font-weight: 500;
}

/* ==================== COMPONENTE STAT-WIDGET UNIFICADO ==================== */
/* Substitui .stats-card e .stat-card - Use este componente em todo o sistema */

.stat-widget {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.stat-widget:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Variantes de Gradiente */
.stat-widget.gradient-purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.stat-widget.gradient-pink {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    border: none;
}

.stat-widget.gradient-blue {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border: none;
}

.stat-widget.gradient-green {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    border: none;
}

.stat-widget.gradient-dark {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
}

.stat-widget.gradient-orange {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
    border: none;
}

/* Elementos do Stat Widget */
.stat-widget .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 1;
    color: var(--text-main);
}

.stat-widget .value {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-main);
}

.stat-widget .label {
    font-size: var(--text-sm);
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.stat-widget .description {
    font-size: var(--text-xs);
    margin-top: 8px;
    opacity: 0.85;
    color: var(--text-secondary);
}

/* Texto branco para variantes com gradiente */
.stat-widget[class*="gradient-"] .value,
.stat-widget[class*="gradient-"] .label,
.stat-widget[class*="gradient-"] .icon,
.stat-widget[class*="gradient-"] .description,
.stat-widget[class*="gradient-"] small {
    color: white !important;
}

/* Badge dentro do stat widget */
.stat-widget .stat-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    margin-left: 5px;
    color: inherit;
}

/* Responsivo para stat-widget */
@media (max-width: 768px) {
    .stat-widget {
        padding: 20px;
    }

    .stat-widget .value {
        font-size: 1.75rem;
    }

    .stat-widget .icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stat-widget {
        padding: 16px;
    }

    .stat-widget .value {
        font-size: 1.5rem;
    }
}

/* ==================== STATS GRID & STAT CARD ==================== */
/* Classes faltantes para admin/meu-batalhao.php */

.stats-grid {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #1d1d1f;
}

.stat-card .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
}

/* Variante gradient laranja */
.stat-card.gradient-orange {
    background: linear-gradient(135deg, #FF9966, #FF5E62);
    border: none;
}

.stat-card.gradient-orange .value,
.stat-card.gradient-orange .label,
.stat-card.gradient-orange small {
    color: white !important;
}

/* Card com scroll */
.card-scrollable {
    max-height: 500px;
    overflow-y: auto;
}

/* Alert com gradiente azul */
.alert-gradient-blue {
    background: linear-gradient(to right, #e3f2fd, #bbdefb);
    border: 1px solid rgba(33, 150, 243, 0.3);
}

/* Utilitários extras */
.pl-3 {
    padding-left: 1rem;
}

.pr-3 {
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.flex-grow-1 {
    flex-grow: 1;
}

.h4 {
    font-size: 1.5rem;
    margin: 0;
}

.small {
    font-size: 0.875rem;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 5;
}

.bg-white {
    background: #fff !important;
}

.bg-light {
    background: rgba(248, 249, 250, 0.95) !important;
}

.border-0 {
    border: 0 !important;
}

.border-bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pb-0 {
    padding-bottom: 0;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.p-0 {
    padding: 0;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.opacity-50 {
    opacity: 0.5;
}

.table-sm th,
.table-sm td {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.w-100 {
    width: 100%;
}

/* ==================== DASHBOARD UTILITIES ==================== */
/* Additional utilities for dashboard.php */

/* Font sizes */
.fs-1-25 {
    font-size: 1.25rem;
}

.fs-1-75 {
    font-size: 1.75rem;
}

.fs-2 {
    font-size: 2rem;
}

/* Animation delays */
.anim-delay-1 {
    animation-delay: 0.1s;
}

.anim-delay-2 {
    animation-delay: 0.2s;
}

.anim-delay-3 {
    animation-delay: 0.3s;
}

.anim-delay-4 {
    animation-delay: 0.4s;
}

.anim-delay-5 {
    animation-delay: 0.5s;
}

/* Border accents */
.border-left-primary {
    border-left: 4px solid #667eea;
}

.border-left-accent {
    border-left: 4px solid #667eea;
}

/* Widths */
.w-40 {
    width: 40px;
}

.w-42 {
    width: 42px;
    height: 42px;
}

.w-60 {
    min-width: 60px;
}

.w-30 {
    min-width: 30px;
}

.w-80 {
    width: 80px;
}

.w-100px {
    width: 100px;
}

/* Text alignment */
.text-right {
    text-align: right;
}

/* ==================== LOGS.PHP UTILITIES ==================== */
/* Additional utilities for logs.php */

.cursor-pointer {
    cursor: pointer;
}

.d-inline-flex {
    display: inline-flex;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.pl-4 {
    padding-left: 1.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.w-fit {
    width: fit-content;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    gap: 0.25rem;
}

.pagination li {
    list-style: none;
}

.list-none {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ==================== DISCIPLINAS.PHP UTILITIES ==================== */

.d-inline {
    display: inline;
}

.grid-col-span-2 {
    grid-column: span 2;
}

.flex-2 {
    flex: 2;
}

.flex-1 {
    flex: 1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.fs-0-9 {
    font-size: 0.9em;
}

.modulo-header {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

/* ==================== NOTAS.PHP UTILITIES ==================== */

.form-control-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

.w-auto {
    width: auto;
}

.stats-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 200px;
}

.section-divider {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.avaliacao-card {
    border: 1px solid #e5e7eb;
    box-shadow: none;
    padding: 15px;
}

.avaliacao-title {
    margin: 0;
    font-size: 1.1rem;
}

.avaliacao-desc {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.fs-0-7 {
    font-size: 0.7em;
}

.fs-0-8 {
    font-size: 0.8em;
}

.bg-light-blue {
    background: #e3f2fd;
}