:root {
    --cor-primaria: #4CAF50;
    --cor-secundaria: #8BC34A;
    --cor-texto: #33691E;
    --cor-borda: #C5E1A5;
    --cor-sombra: rgba(76, 175, 80, 0.2);
    --cor-hover: #388E3C;
    --cor-fundo: #ffffff;
    --cor-destaque: #FF9800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--cor-secundaria), var(--cor-primaria));
    color: var(--cor-texto);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

body .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    background: transparent;
    color: white;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.titulo-pagina {
    margin: 0;
    color: var(--cor-primaria);
    font-size: 1.5rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Animação da borda */
@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Efeito de borda animada para links do header */
.header-link {
    position: relative;
    padding: 0.5rem 1.2rem;
    color: #FFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9rem;
    background: linear-gradient(45deg, var(--cor-secundaria), var(--cor-primaria));
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.header-link span {
    display: block;
    position: absolute;
}

.header-link span:nth-child(1) {
    height: 2px;
    right: -100%;
    top: 0;
    width: 100%;
    background: linear-gradient(to left, transparent, var(--cor-secundaria));
    animation: border-anim-1 2s linear infinite;
}

.header-link span:nth-child(2) {
    height: 100%;
    width: 2px;
    bottom: -100%;
    right: 0;
    background: linear-gradient(to top, transparent, var(--cor-secundaria));
    animation: border-anim-2 2s linear infinite;
    animation-delay: 0.5s;
}

.header-link span:nth-child(3) {
    height: 2px;
    left: -100%;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--cor-secundaria));
    animation: border-anim-3 2s linear infinite;
    animation-delay: 1s;
}

.header-link span:nth-child(4) {
    height: 100%;
    width: 2px;
    top: -100%;
    left: 0;
    background: linear-gradient(to bottom, transparent, var(--cor-secundaria));
    animation: border-anim-4 2s linear infinite;
    animation-delay: 1.5s;
}

.header-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

.header-link:hover span {
    animation-play-state: paused;
}

@keyframes border-anim-1 {
    0% { right: -100%; }
    100% { right: 100%; }
}

@keyframes border-anim-2 {
    0% { bottom: -100%; }
    100% { bottom: 100%; }
}

@keyframes border-anim-3 {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes border-anim-4 {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Efeito de borda animada para o input CPF */
.cpf-container {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 2px;
    background: transparent;
    border-radius: 5px;
    overflow: hidden;
}

.cpf-container span {
    display: block;
    position: absolute;
}

.cpf-container span:nth-child(1) {
    height: 2px;
    right: -100%;
    top: 0;
    width: 100%;
    background: linear-gradient(to left, transparent, var(--cor-primaria));
    animation: border-anim-1 2s linear infinite;
}

.cpf-container span:nth-child(2) {
    height: 100%;
    width: 2px;
    bottom: -100%;
    right: 0;
    background: linear-gradient(to top, transparent, var(--cor-primaria));
    animation: border-anim-2 2s linear infinite;
    animation-delay: 0.5s;
}

.cpf-container span:nth-child(3) {
    height: 2px;
    left: -100%;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--cor-primaria));
    animation: border-anim-3 2s linear infinite;
    animation-delay: 1s;
}

.cpf-container span:nth-child(4) {
    height: 100%;
    width: 2px;
    top: -100%;
    left: 0;
    background: linear-gradient(to bottom, transparent, var(--cor-primaria));
    animation: border-anim-4 2s linear infinite;
    animation-delay: 1.5s;
}

.cpf-container:focus-within span {
    animation-play-state: paused;
}

#cpf {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: #fff;
    position: relative;
    z-index: 1;
}

#cpf:focus {
    outline: none;
}

body .info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 auto !important;
    margin-bottom: 1rem !important;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0.2rem 2rem !important;
}

.info-box {
    background: white;
    padding: 0.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-box h2 {
    margin: 0;
    color: var(--cor-primaria);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
}

.info-box .valor {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--cor-texto);
    margin-top: 0.3rem;
}

.status-parque {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background-color: var(--cor-primaria);
    color: white;
    min-width: 180px;
    margin-right: 1rem;
}

.status-parque .status-texto {
    font-weight: bold;
    font-size: 1.2em;
    color: white;
    text-transform: uppercase;
}

.status-parque .hora-atual {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    margin-top: 0.25rem;
    line-height: 1;
}

body .valor-padrao-container {
    background: rgba(255, 255, 255, 0.9) !important;
    margin: 0 auto 1rem auto !important;
    padding: 0.2rem 2rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 1200px !important;
}

.valor-padrao-grupo {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.valor-padrao-label {
    color: var(--cor-primaria) !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.valor-padrao-input {
    width: 80px !important;
    padding: 0.2rem !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    text-align: center !important;
    background-color: #f8f8f8 !important;
    height: 25px !important;
}

.botao {
    background: var(--cor-primaria);
    color: #FFF;
    border: none;
    padding: 0.3rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    margin-left: auto;
    height: 25px !important;
}

.botao:hover {
    background: var(--cor-hover);
}

.painel-principal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.painel-bilheteria,
.painel-visitante {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
}

.painel-visitante table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.painel-visitante th {
    background: var(--cor-texto);
    color: white;
    padding: 0.75rem;
    text-align: left;
}

.painel-visitante td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
}

.painel-visitante tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.status-badge.liberado {
    background: var(--cor-primaria);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 0.25rem;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.status-online {
    background-color: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-left: 10px;
}

.status-parque.aberto {
    border-left: 4px solid #28a745;
}

.status-parque.fechado {
    border-left: 4px solid #dc3545;
}

.status-parque.manutencao {
    border-left: 4px solid #ffc107;
}

.status-parque .status-texto {
    font-weight: bold;
    font-size: 1em;
}

.status-parque .motivo-fechamento {
    font-size: 0.8em;
    color: #dc3545;
    margin-top: 3px;
}

.hora-atual {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.motivo-fechamento {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .info-container {
        grid-template-columns: 1fr;
    }
}

h1 {
    color: var(--cor-primaria);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--cor-secundaria);
    border-radius: 2px;
}

.linha {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    min-width: 250px;
}

.col.textarea-col {
    flex: 1 1 100%;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--cor-primaria);
    font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--cor-secundaria);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--cor-fundo);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--cor-secundaria);
    box-shadow: 0 0 5px rgba(139, 195, 74, 0.2);
}

input[readonly] {
    background-color: #f8f8f8;
    cursor: not-allowed;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    background-color: var(--cor-secundaria);
    color: var(--cor-fundo);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto;
    width: 200px;
}

button:hover {
    background-color: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

.mensagem {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mensagem.sucesso {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensagem.erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos para a tabela de atendimento */
.tabela-container {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--shadow-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--cor-fundo);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--cor-secundaria);
}

th {
    background-color: var(--cor-primaria);
    color: var(--cor-fundo);
    font-weight: 600;
}

tr:hover {
    background-color: #f8f8f8;
}

/* Estilos para os botões de navegação */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-button {
    background-color: var(--cor-secundaria);
    color: var(--cor-fundo);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #7cb342;
    transform: translateY(-2px);
}

/* Logo */
.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 150px;
    height: auto;
    z-index: 1;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Container principal */
.solicitar-container {
    background: rgba(20, 24, 35, 0.95);
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    position: relative;
    margin-top: 80px;
}

/* Header Section */
.header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.solicitar-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.solicitar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--cor-secundaria);
}

/* Botões */
.botoes-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.btn-nav {
    background: linear-gradient(45deg, var(--cor-secundaria), var(--cor-primaria));
    color: var(--cor-fundo);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
    color: var(--cor-fundo);
}

/* Media Queries */
@media (max-width: 768px) {
    .logo {
        width: 100px;
        top: 15px;
        left: 15px;
    }

    .solicitar-container {
        margin: 15px;
        padding: 30px 20px;
        margin-top: 70px;
    }

    .header-section {
        margin-bottom: 20px;
    }

    .solicitar-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .botoes-container {
        flex-direction: row;
        gap: 10px;
    }

    .btn-nav {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 80px;
        top: 10px;
        left: 10px;
    }

    .solicitar-container {
        padding: 20px 15px;
        margin-top: 60px;
    }

    .solicitar-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .botoes-container {
        gap: 8px;
    }

    .btn-nav {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Botões de navegação e ação */
.botoes-navegacao,
.botoes-acoes {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.btn-voltar,
.btn-action,
.btn-solicitar {
    background: linear-gradient(45deg, var(--cor-secundaria), var(--cor-primaria));
    color: var(--cor-fundo);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: auto;
    margin: 0;
}

.btn-voltar:hover,
.btn-action:hover,
.btn-solicitar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1rem;
    }

    .linha {
        flex-direction: column;
    }

    .col {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    body .logo,
    .solicitar-container .logo,
    .container .logo {
        width: 80px !important;
        top: 10px !important;
        left: 10px !important;
    }

    .botoes-navegacao,
    .botoes-acoes {
        position: static;
        display: flex;
        gap: 10px;
        justify-content: center;
        width: auto;
        flex-wrap: nowrap;
    }

    .btn-voltar,
    .btn-action,
    .btn-solicitar {
        width: auto;
        white-space: nowrap;
        padding: 8px 15px;
        font-size: 12px;
        height: auto;
    }

    .solicitar-container {
        margin-top: 60px;
    }

    .header {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .header h1 {
        margin-bottom: 15px;
        font-size: 20px;
    }

    .botoes-navegacao {
        position: static;
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body .logo,
    .solicitar-container .logo,
    .container .logo {
        width: 60px !important;
        top: 8px !important;
        left: 8px !important;
    }

    .btn-voltar,
    .btn-action,
    .btn-solicitar {
        padding: 6px 12px;
        font-size: 11px;
        height: auto;
    }

    .header h1 {
        font-size: 18px;
    }

    .solicitar-container {
        margin-top: 50px;
        padding: 20px;
    }

    .botoes-navegacao button,
    .botoes-acoes button {
        padding: 5px 8px;
        font-size: 11px;
        min-width: auto;
    }
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.solicitar-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.solicitar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--cor-secundaria);
}

.botoes-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    z-index: 0;
}

.btn-voltar,
.btn-solicitar {
    background: linear-gradient(45deg, var(--cor-secundaria), var(--cor-primaria));
    color: var(--cor-fundo);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-voltar:hover,
.btn-solicitar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

@media (min-width: 769px) {
    .header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 40px;
        margin-top: 30px;
        padding-top: 20px;
    }

    .solicitar-title {
        margin-bottom: 20px;
        text-align: center;
        width: auto;
    }

    .botoes-container {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        margin-top: 60px;
    }

    .botoes-container {
        margin-top: 15px;
    }

    .btn-voltar,
    .btn-solicitar {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header {
        margin-top: 50px;
    }

    .botoes-container {
        gap: 8px;
    }

    .btn-voltar,
    .btn-solicitar {
        padding: 6px 12px;
        font-size: 11px;
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    cursor: help;
    margin-left: 10px;
    white-space: nowrap;
}

.status-badge.liberado {
    background-color: var(--cor-primaria);
    color: white;
}

.status-badge.alerta {
    background-color: #FFC107;
    color: black;
}

.status-badge.bloqueado {
    background-color: #F44336;
    color: white;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.form-check input[type="radio"] {
    margin: 0;
}

.form-check-label {
    margin: 0;
    white-space: nowrap;
}

#statusContainer {
    margin: 0;
    display: flex;
    align-items: center;
}

/* Ajuste para o campo CPF e status */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--cor-borda);
    border-radius: 5px;
    font-size: 14px;
}

/* Ajuste para os tipos de pagamento */
.tipo-pagamento-container {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
}

/* Estilos para o cabeçalho e botões */
.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn i {
    margin-right: 5px;
}

.btn-config {
    background-color: #2196F3;
    color: white;
}

.btn-config:hover {
    background-color: #1976D2;
}

.btn-warning {
    background-color: #ff9800;
    color: white;
}

.btn-warning:hover {
    background-color: #f57c00;
}

.btn-info {
    background-color: #00bcd4;
    color: white;
}

.btn-info:hover {
    background-color: #00acc1;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #e53935;
}

/* Estilos para o status do parque */
.info-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-box h2 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #666;
}

.info-box .valor {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.status-texto {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.hora-atual {
    font-size: 36px;
    font-weight: bold;
}

.motivo-fechamento {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Status colors */
.status-aberto {
    color: #4CAF50;
}

.status-fechado {
    color: #f44336;
}

/* Container de informações */
.info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px;
}

@media (max-width: 768px) {
    .info-container {
        grid-template-columns: 1fr;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos específicos para a página cachoeira.php */
.painel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.painel-principal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.painel-bilheteria,
.painel-visitante {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .painel-principal {
        grid-template-columns: 1fr;
    }
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--cor-texto);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--cor-borda);
    border-radius: 5px;
    font-size: 1rem;
}

.area-ingressos {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    overflow: hidden;
}

.area-ingressos table {
    width: 100%;
    border-collapse: collapse;
}

.area-ingressos th {
    background: var(--cor-primaria);
    color: white;
    padding: 1rem;
    text-align: left;
}

.area-ingressos td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--cor-borda);
}

.area-ingressos tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.info-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    text-align: center;
}

.info-box h2 {
    color: var(--cor-texto);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-box .valor {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cor-primaria);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.mensagem {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: none;
}

.mensagem.sucesso {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensagem.erro {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mensagem.alerta {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Ajustes para responsividade */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .info-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Estilos do cabeçalho */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2ecc71;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.header-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-label {
    font-size: 0.9rem;
    color: #2ecc71;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-link {
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.header-link.config {
    background-color: rgba(46, 204, 113, 0.2);
}

.header-link.ocorrencia {
    background-color: rgba(241, 196, 15, 0.2);
}

.header-link.dashboard {
    background-color: rgba(52, 152, 219, 0.2);
}

.header-link.sair {
    background-color: rgba(231, 76, 60, 0.2);
}

.status-parque {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    background-color: #2ecc71;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-parque.aberto {
    background-color: #2ecc71;
}

.status-parque.fechado {
    background-color: #e74c3c;
}

.status-parque.manutencao {
    background-color: #f1c40f;
}

/* Container para CPF e Status */
.cpf-status-container {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
}

.cpf-container {
    flex: 1 !important;
    position: relative;
    display: inline-block;
    padding: 2px;
    background: transparent;
    border-radius: 5px;
    overflow: hidden;
}

#statusContainer {
    display: none;
    align-items: center !important;
}

/* Status Badges */
.status-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 15px !important;
    font-size: 0.8rem !important;
    font-weight: bold !important;
    white-space: nowrap !important;
}

.status-badge.liberado {
    background-color: var(--cor-primaria) !important;
    color: white !important;
}

.status-badge.alerta {
    background-color: #FFC107 !important;
    color: #000 !important;
}

.status-badge.bloqueado {
    background-color: #F44336 !important;
    color: white !important;
} 