/* Arquivo CSS principal - Design profissional IrDigital */

:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1d4ed8;
    --light-blue: #3b82f6;
    --dark-blue: #1e40af;
    --accent-blue: #60a5fa;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Remove outline/borda vermelha padrão do navegador */
*:focus {
    outline: none;
}

/* Remove borda vermelha quando elemento é alvo de âncora */
*:target {
    outline: none !important;
    border: none !important;
}

/* Estilo específico para o formulário quando é alvo */
#pedido:target {
    outline: none !important;
    border: none !important;
    box-shadow: var(--shadow-lg);
    animation: highlight 0.6s ease-out;
}

@keyframes highlight {
    0% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), var(--shadow-xl);
    }
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: 
        linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(37, 99, 235, 0.9) 25%, rgba(59, 130, 246, 0.9) 50%, rgba(96, 165, 250, 0.9) 75%, rgba(147, 197, 253, 0.9) 100%),
        url('img/hospedagem.jpeg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
}

/* Overlay para melhor legibilidade do conteúdo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.1);
    pointer-events: none;
    z-index: -1;
    padding-right: 2px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1remrem 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.logo {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-1px);
}

/* Main Content */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Hero Section */
.hero {
    margin-bottom: 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Formulário como seção separada */
.form-section {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.lead {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    margin-right: 1rem;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-100);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.3;
}

.card-description {
    color: var(--gray-600);
    font-size: 1rem;
    margin-top: 0.15rem;
    line-height: 1.5;
}

.card p {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-muted {
    margin: 1rem 0;
    color: var(--gray-600) !important;
}

/* Features List */
.features {
    list-style: none;
    margin: 2rem 0;
}

.features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
    font-size: 1.05rem;
}

.features li::before {
    content: '✓';
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Blockquote */
blockquote {
    background: var(--gray-50);
    border-left: 4px solid var(--primary-blue);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--gray-700);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Price Display */
.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 1.5rem 0;
    line-height: 1.2;
}

.price-small {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 400;
}

.price-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Form Styles */
.field {
    margin-bottom: 2rem;
}

.field label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 1.05rem;
}

.field input,
.field select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    background: var(--white);
    line-height: 1.5;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

/* Grid para campos lado a lado */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Total display */
#total {
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    height: 58px; /* Mesma altura dos inputs */
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
    border-radius: 12px;
    padding: 0 1.25rem;
    border: 2px solid var(--gray-300);
    margin-top: 0rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 56px;
    width: 100%;
    margin-top: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--secondary-blue), var(--dark-blue));
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq {
    margin-top: 1rem;
}

.faq h3 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-size: 2.25rem;
    font-weight: 700;
}

details {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

summary {
    padding: 2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
    transition: all 0.2s ease;
    font-size: 1.125rem;
}

summary:hover {
    background: rgba(37, 99, 235, 0.1);
}

details[open] summary {
    background: var(--primary-blue);
    color: var(--white);
}

details .text-muted {
    padding: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 1.05rem;
}



/* Utility Classes */
.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

.d-none {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wrap {
        padding: 1rem 1rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .header-content {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        gap: 1rem;
    }
    
       
    .card-title {
        font-size: 1.5rem;
    }
    
    .form-section {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 1.5rem 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
       
    .card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.375rem;
    }
    
    nav {
        flex-direction: column;
        width: 100%;
    }
    
    nav a {
        text-align: center;
    }
    
    .field input,
    .field select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    #total {
        height: 52px;
        font-size: 1.25rem;
    }
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Seção com imagem de registro */
.registro-section {
    background: 
        linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(37, 99, 235, 0.8) 100%),
        url('img/registro.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    margin: 5rem 0;
    border-radius: 20px;
    overflow: hidden;
}

.registro-section .card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

/* Melhorias para ícones e logomarca */
.brand-icon {
    width: 24px;
    height: 24px;
    background: url('img/icone.png') center/contain no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Efeitos hover para cards com imagens */
.card-with-bg {
    position: relative;
    overflow: hidden;
}

.card-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/hospedagem.jpeg') center/cover;
    opacity: 0.05;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.card-with-bg:hover::before {
    opacity: 0.1;
}

/* Estilos específicos para páginas orders */
.order-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--gray-200);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--gray-700);
    min-width: 140px;
}

.detail-value {
    font-weight: 500;
    color: var(--gray-900);
    text-align: right;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Responsividade para detalhes do pedido */
@media (max-width: 768px) {
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-label {
        min-width: auto;
    }
    
    .detail-value {
        text-align: left;
        font-size: 1.1rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group .btn {
        width: 100%;
        text-align: center;
    }
}
    }
    
    .form-section {
        margin-bottom: 3rem;
    }
}

       

        .toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .toolbar h2 {
            color: var(--dark);
            font-size: 1.5rem;
            font-weight: 600;
        }

        

        .table-container {
            overflow-x: auto;
            border-radius: 8px;
            border: 1px solid var(--border);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
        }

        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }

        th {
            background: var(--light);
            font-weight: 600;
            color: var(--dark);
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        td {
            color: var(--gray);
        }

        tr:hover {
            background: rgba(37, 99, 235, 0.05);
        }

        .status-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            text-transform: uppercase;
        }

        .status-pendente {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning);
        }

        .status-pago {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }

        .status-cancelado {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger);
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .page-subtitle {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            margin-bottom: 2em;
        }

        

/* Selects melhorados */
select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: white;
    color: var(--dark);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

select:hover {
    border-color: var(--primary);
    background-color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: white;
}

/* Select específico para admin */
.admin-select {
    background: white;
    border: 2px solid #e5e7eb;
    color: var(--dark);
    font-weight: 600;
}

.admin-select:hover {
    border-color: var(--primary);
    background-color: #f9fafb;
}

.admin-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Select para status */
.status-select {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #d1d5db;
    color: var(--dark);
    font-weight: 600;
    min-width: 140px;
}

.status-select:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.status-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

/* Select para status em vermelho */
.status-select-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #ef4444;
    color: #dc2626;
    font-weight: 600;
    min-width: 140px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23dc2626' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.status-select-red:hover {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.status-select-red:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    outline: none;
}

/* Botão Delete ajustado para coluna separada */
.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0 auto;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.btn-delete:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.btn-delete:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Centralizar conteúdo da coluna excluir */
td:last-child {
    text-align: center;
}

/* Select para ciclo */
.ciclo-select {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid #bfdbfe;
    color: var(--dark);
    font-weight: 600;
    min-width: 120px;
}

.ciclo-select:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.ciclo-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}
       /* Footer melhorado */
    .footer {
        background-color: rgba(31, 41, 55, 0.95);
        backdrop-filter: blur(10px);
        color: white;
        padding: 1rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h3 {
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .footer-section p {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .img-fluid{
      display: flex;  
      max-width: 500px;
        margin: 9px;
        padding: 0 1rem;
    }

    .footer-link {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 0.25rem 0;
        border-radius: 4px;
    }

    .footer-link:hover {
        color: white;
        padding-left: 0.5rem;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
        text-align: center;
    }

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.875rem;
    }

    .footer a:active {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.875rem;
        text-decoration: none;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .social-link:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .footer-links {
            align-items: center;
        }

        .social-links {
            justify-content: center;
        }
    }

    /* Estilos específicos para formulários administrativos */
    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--gray-700);
        font-size: 1rem;
    }

    .form-group .input,
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 0.875rem 1rem;
        border: 2px solid var(--gray-300);
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.2s ease;
        background: var(--white);
        color: var(--gray-800);
        line-height: 1.5;
    }

    .form-group .input:focus,
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        transform: translateY(-1px);
    }

    .form-group select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.75rem center;
        background-repeat: no-repeat;
        background-size: 1.25em 1.25em;
        padding-right: 2.5rem;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 80px;
    }

    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-container {
        padding: 2rem;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        box-shadow: var(--shadow-md);
    }

    /* Estilos para tabelas administrativas */
    .table-container {
        overflow-x: auto;
        border-radius: 8px;
        border: 1px solid var(--gray-200);
        background: var(--white);
    }

    .table-container table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
    }

    .table-container th,
    .table-container td {
        padding: 0.875rem 1rem;
        text-align: left;
        border-bottom: 1px solid var(--gray-200);
    }

    .table-container th {
        background: var(--gray-50);
        font-weight: 600;
        color: var(--gray-700);
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.025em;
    }

    .table-container tr:hover {
        background: var(--gray-50);
    }

    .table-container .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        min-height: auto;
        width: auto;
        margin: 0 0.25rem;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        min-height: auto;
        border-radius: 6px;
    }

    .btn-danger {
        background: linear-gradient(135deg, #dc2626, #b91c1c);
        color: var(--white);
    }

    .btn-danger:hover {
        background: linear-gradient(135deg, #b91c1c, #991b1b);
        transform: translateY(-1px);
    }

    .btn-warning {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: var(--white);
    }

    .btn-warning:hover {
        background: linear-gradient(135deg, #d97706, #b45309);
        transform: translateY(-1px);
    }

    /* Status badges */
    .status-badge {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.025em;
    }

    .status-badge.active {
        background: #dcfce7;
        color: #166534;
    }

    .status-badge.inactive {
        background: #fef2f2;
        color: #991b1b;
    }

    /* Responsive para formulários administrativos */
    @media (max-width: 768px) {
        .form-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .form-container {
            padding: 1.5rem;
        }
        
        .table-container {
            font-size: 0.8rem;
        }
        
        .table-container th,
        .table-container td {
            padding: 0.5rem;
        }
    }

    /* Modal Styles */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .modal-content {
        background: var(--white);
        border-radius: 16px;
        box-shadow: var(--shadow-xl);
        max-width: 600px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-20px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .modal-header h3 {
        margin: 0;
        color: var(--gray-800);
        font-size: 1.25rem;
        font-weight: 600;
    }

    .modal-close {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--gray-400);
        cursor: pointer;
        padding: 0.25rem;
        border-radius: 4px;
        transition: all 0.2s ease;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-close:hover {
        background: var(--gray-100);
        color: var(--gray-600);
    }

    .modal-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--gray-200);
    }

    .modal-actions .btn {
        width: auto;
        margin: 0;
        min-width: 120px;
    }

    /* Responsive para modal */
    @media (max-width: 768px) {
        .modal {
            padding: 0.5rem;
        }
        
        .modal-content {
            max-height: 95vh;
        }
        
        .modal-header {
            padding: 1rem 1.5rem;
        }
        
        .modal-actions {
            flex-direction: column;
        }
        
        .modal-actions .btn {
            width: 100%;
        }
    }

    /* Estilos específicos do login */
        .login-card { color: #111; }
        .login-card h2,
        .login-card label { color: #111; }

        .login-card .form-group label {
            display: block;
            margin-bottom: .5rem;
            font-weight: 600;
        }

        .login-card .input {
            width: 100%;
            height: 44px;
            padding: 0.75rem 0.875rem;
            font-size: 1rem;
            color: #111;
            background: #fff;
            border: 1px solid #d1d5db; /* gray-300 */
            border-radius: 10px;
            transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
        }
        .login-card .input::placeholder { color: #6b7280; } /* gray-500 */
        .login-card .input:focus {
            outline: none;
            border-color: #0ea5e9; /* sky-500 */
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25); /* sky-500 glow */
            background-color: #fff;
        }

        
 