/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0d3b66 0%, #1d4ed8 100%);
    color: #333;
    padding: 5px 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Container Principal */
.main-container {
    width: 100%;
    max-width: 720px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
}

/* Cabeçalho com Imagem Ajustada */
.header-img {
    width: 100%;
    line-height: 0;
    background: #092c4c;
}

.header-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Formulário Wrapper */
.form-wrapper {
    padding: 15px 25px;
    background: #f8fafc;
}

.form-title {
    background: #1d4ed8;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    margin-bottom: 6px; /* Espaço bem curto abaixo do título */
    box-shadow: 0 3px 5px rgba(29, 78, 216, 0.15);
}

.form-title i {
    font-size: 1.4rem;
    color: #facc15;
}

/* Grupos de Inputs */
.input-group {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 7px 14px;
    margin-bottom: 6px; /* Espaço menor entre cada campo do formulário */
    transition: all 0.2s ease;
}

.input-group:focus-within {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.15);
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.input-group label i {
    color: #1d4ed8;
    font-size: 1rem;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #334155;
    background: transparent;
}

.input-group input::placeholder, 
.input-group textarea::placeholder {
    color: #94a3b8;
}

.input-group textarea {
    resize: vertical;
    min-height: 40px;
}

/* Botão Enviar com margem superior bem reduzida */
.btn-submit {
    width: 100%;
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.25);
    margin-top: 4px; /* Quase encostado no último campo */
}

.btn-submit:hover {
    background: #15803d;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Rodapé em 2 Colunas com Linha Vertical Divisória */
.footer {
    background: #ffffff;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #e2e8f0;
}

.footer-left {
    flex: 1;
    padding-right: 15px;
}

.footer-left p {
    font-size: 0.95rem;
    color: #1d4ed8;
    font-weight: bold;
    line-height: 1.45;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    border-left: 2px solid #cbd5e1;
}

.gestor-info {
    display: flex;
    flex-direction: column;
}

.gestor-info strong {
    font-size: 1.05rem;
    color: #0f172a;
}

.gestor-info span {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 3px;
}

.gestor-info a {
    color: #16a34a;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.gestor-info a:hover {
    text-decoration: underline;
}

.footer-logo {
    text-align: right;
    color: #1d4ed8;
}

.footer-logo i {
    font-size: 1.4rem;
    display: block;
    margin-left: auto;
}

.footer-logo small {
    font-size: 0.65rem;
    font-weight: 600;
    color: #475569;
}

/* Responsividade para telas menores */
@media (max-width: 580px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .footer-left {
        padding-right: 0;
    }
    .footer-right {
        width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-top: 15px;
    }
}