/* ===========================================
   GRUPO 6 - Sistema de Gestão
   Design Profissional e Moderno
   =========================================== */

:root {
    /* Paleta de Cores - Tema Espiritual Elegante */
    --primary: #2c5282;
    --primary-light: #4299e1;
    --primary-dark: #1a365d;
    --secondary: #38a169;
    --secondary-light: #68d391;
    --accent: #d69e2e;
    --accent-light: #f6e05e;
    
    /* Cores de Status */
    --success: #38a169;
    --warning: #dd6b20;
    --danger: #e53e3e;
    --info: #3182ce;
    
    /* Neutros */
    --dark: #1a202c;
    --gray-900: #171923;
    --gray-800: #2d3748;
    --gray-700: #4a5568;
    --gray-600: #718096;
    --gray-500: #a0aec0;
    --gray-400: #cbd5e0;
    --gray-300: #e2e8f0;
    --gray-200: #edf2f7;
    --gray-100: #f7fafc;
    --white: #ffffff;
    
    /* Backgrounds */
    --bg-gradient: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    --bg-card: rgba(255, 255, 255, 0.98);
    --bg-body: #f0f4f8;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Borders */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-body);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================
   TELA DE LOGIN
   ============================================ */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.login-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.login-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.error-message {
    color: var(--danger);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
    flex: 1;
}

.form-group.flex-2 {
    flex: 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    min-width: 150px;
}

.form-section-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.file-info {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #2f855a;
}

.btn-secondary {
    background: var(--gray-500);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--gray-600);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #c53030;
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-warning:hover {
    background: #c05621;
}

.btn-info {
    background: var(--info);
    color: var(--white);
}

.btn-info:hover {
    background: #2b6cb0;
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128c7e;
}

.btn-email {
    background: #ea4335;
    color: var(--white);
}

.btn-email:hover {
    background: #c5221f;
}

.btn-print {
    background: #6b7280;
    color: var(--white);
}

.btn-print:hover {
    background: #4b5563;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: var(--bg-gradient);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.brand-icon {
    font-size: 1.75rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
}

.nav-item {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-config {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.btn-config:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

.btn-logout {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Config Section */
.config-section {
    margin-bottom: 1.5rem;
}

.config-section h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.config-description {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */
.main-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.section-header p {
    color: var(--gray-600);
    margin-top: 0.25rem;
}

/* ============================================
   DASHBOARD CARDS
   ============================================ */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-stat {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-left: 5px solid transparent;
}

.card-stat.card-blue { border-left-color: var(--primary); }
.card-stat.card-green { border-left-color: var(--success); }
.card-stat.card-yellow { border-left-color: var(--warning); }
.card-stat.card-red { border-left-color: var(--danger); }

.card-icon {
    font-size: 2.5rem;
    margin-right: 1.25rem;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
}

.card-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.dashboard-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-wide,
.card-full {
    padding: 1.5rem;
}

.card-wide h3,
.card-full h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.list-container {
    max-height: 250px;
    overflow-y: auto;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    background: var(--gray-100);
    transition: var(--transition-fast);
}

.list-item:hover {
    background: var(--gray-200);
}

.list-item-name {
    font-weight: 600;
    color: var(--gray-800);
}

.list-item-info {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.list-empty {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
    font-style: italic;
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: var(--white);
    min-width: 200px;
}

.search-bar input {
    flex: 1;
    min-width: 300px;
}

.search-bar input:focus,
.search-bar select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

/* ============================================
   TABELAS
   ============================================ */
.table-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: var(--primary);
    color: var(--white);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.data-table tbody tr {
    transition: var(--transition-fast);
}

.data-table tbody tr:hover {
    background: var(--gray-100);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-ativo {
    background: rgba(56, 161, 105, 0.15);
    color: var(--success);
}

.badge-irregular {
    background: rgba(221, 107, 32, 0.15);
    color: var(--warning);
}

.badge-inativo {
    background: rgba(229, 62, 62, 0.15);
    color: var(--danger);
}

.badge-sim {
    background: rgba(56, 161, 105, 0.15);
    color: var(--success);
}

.badge-nao {
    background: rgba(160, 174, 192, 0.3);
    color: var(--gray-600);
}

.badge-urgente {
    background: rgba(229, 62, 62, 0.15);
    color: var(--danger);
    animation: pulseUrgent 2s infinite;
}

@keyframes pulseUrgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-action:hover {
    background: var(--gray-200);
    transform: scale(1.1);
}

.btn-action.view:hover { background: var(--info); color: var(--white); border-color: var(--info); }
.btn-action.edit:hover { background: var(--warning); color: var(--white); border-color: var(--warning); }
.btn-action.delete:hover { background: var(--danger); color: var(--white); border-color: var(--danger); }

/* ============================================
   RELATÓRIOS GRID
   ============================================ */
.month-grid {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.month-grid h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.relatorios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.relatorio-card {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.relatorio-card.entregue {
    border-color: var(--success);
    background: rgba(56, 161, 105, 0.1);
}

.relatorio-card.pendente {
    border-color: var(--warning);
    background: rgba(221, 107, 32, 0.1);
}

.relatorio-card-nome {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.relatorio-card-status {
    font-size: 1.5rem;
}

/* ============================================
   RELATÓRIOS GERENCIAIS
   ============================================ */
.gerenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.card-report {
    padding: 1.5rem;
}

.card-report h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.card-report > p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.report-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.report-controls input,
.report-controls select {
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
}

.report-result {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: var(--radius);
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.9rem;
    white-space: pre-line;
}

.report-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* ============================================
   MODALS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.modal-content.modal-large {
    max-width: 800px;
}

.modal-content.modal-small {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--gray-200);
    background: var(--gray-100);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.modal-content form {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-top: 2px solid var(--gray-200);
    background: var(--gray-100);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ============================================
   DETALHES MEMBRO/VISITA
   ============================================ */
.membro-detalhes,
.visita-detalhes {
    padding: 1.5rem;
}

.detalhe-grupo {
    margin-bottom: 1.5rem;
}

.detalhe-grupo h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.detalhe-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detalhe-item {
    margin-bottom: 0.75rem;
}

.detalhe-item label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.detalhe-item span {
    color: var(--gray-800);
    font-size: 0.95rem;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
    min-width: 280px;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(50px); }
}

.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-warning { background: var(--warning); }
.toast-info { background: var(--info); }

/* ============================================
   UTILITIES
   ============================================ */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0.75rem;
    }
    
    .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-row {
        grid-template-columns: 1fr;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .search-bar input,
    .search-bar select {
        width: 100%;
        min-width: auto;
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .gerenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 0.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 2rem 1.5rem;
    }
    
    .nav-brand .brand-text {
        font-size: 1.25rem;
    }
    
    .card-stat {
        flex-direction: column;
        text-align: center;
    }
    
    .card-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    #toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    
    .toast {
        min-width: auto;
    }
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.1), rgba(66, 153, 225, 0.05));
    border: 2px solid var(--primary-light);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.info-box p {
    margin: 0;
    font-size: 0.95rem;
}

/* Form Help Text */
.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-style: italic;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: var(--transition-fast);
    background: var(--gray-100);
}

.checkbox-label:hover:not(.disabled) {
    background: var(--gray-200);
}

.checkbox-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    position: relative;
    transition: var(--transition-fast);
    background: var(--white);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:disabled + .checkbox-custom {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.checkbox-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
}

.checkbox-label input[type="checkbox"]:disabled ~ .checkbox-text {
    color: var(--gray-400);
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: var(--radius);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

