/* app/Views/assets/css/style.css */
:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --success: #10b981;
    --danger: #ef4444;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    overflow: hidden;
    margin: 1rem;
}

.card-header {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: #fff;
    border-bottom: none;
    padding: 1.5rem;
    text-align: center;
}

.card-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.5rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.form-control, .form-select {
    border-radius: .75rem;
    padding: .75rem 1rem;
    border: 1px solid #d1d5db;
    transition: all .3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(59,130,246,.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-submit {
    
    
    border-radius: .75rem;
    padding: .75rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all .3s ease;
    box-shadow: 0 4px 6px rgba(59,130,246,.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(59,130,246,.4);
}

.horario-row {
    background: #f9fafb;
    border-radius: .75rem;
    padding: .75rem;
    margin-bottom: .5rem;
    transition: all .3s ease;
}

.horario-row:hover {
    background: #f3f4f6;
}

.alert {
    border-radius: .75rem;
    border: none;
}

.form-label {
    font-weight: 500;
    color: #374151;
}

/* CABEÇALHO OFICIAL */
.header-official {
    background: #003366;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brasao {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.prefeitura-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.prefeitura-subtitle {
    text-align: center;
    font-size: 1.0rem;
    margin: 0;
}

/* RODAPÉ OFICIAL */
.footer-official {
    background: #003366;
    color: white;
    padding: 2rem 1rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-contact {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-official a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 500;
}

.footer-official a:hover {
    text-decoration: underline !important;
}

/* SUCESSO CARD CENTRALIZADO */
.success-container {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.card-success {
    max-width: 520px;
    width: 100%;
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    overflow: hidden;
    background: white;
}

.card-header-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: none;
}

.card-header-success i {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.protocolo {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 0.75rem;
    letter-spacing: 1.2px;
}

.card-body-success {
    padding: 2rem;
    text-align: center;
}

.btn-home {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: .75rem;
    padding: .75rem 2rem;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-home:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .card { margin: 1rem; border-radius: 1rem; }
    .card-header-success i { font-size: 2.8rem; }
    .protocolo { font-size: 1rem; padding: 0.5rem 1rem; }
}