.header-green {
    background-color: #02548f;
    color: white;
    text-align: center;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.header-content .logo {
    height: 40px;
    width: auto;
}

.main-container {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.main-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.search-container {
    position: relative;
    z-index: 2;
    width: 95%;
    margin: 0 auto;
    margin-top: 2em
}

.search-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-content {
    display: flex;
    min-height: 400px;
}

.logo-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #184cb9;
    width: 27em;
}

.emblem {
    width: 320px;
    height: 450px;
    margin-bottom: 10px;
}

.logo-text {
    text-align: center;
}

.municipalidad {
    font-size: 22px;
    font-weight: bold;
}

.provincial {
    font-size: 22px;
    font-weight: bold;
}

.provincial span {
    color: #02548f;
}

.gestion {
    font-size: 12px;
    color: #02548f;
    margin-top: 5px;
}

/* Sección del formulario */
.form-section {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    width: 27em
}

.form-section h2 {
    color: #02548f;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #444;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn-search {
    background-color: #02548f;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-search:hover {
    background-color: #1c6626;
}

/* Mensaje de error */
.error-message {
    margin-top: 20px;
    text-align: center;
    display: none;
}

.error-message p {
    color: #ff0000;
    font-weight: bold;
    margin-bottom: 10px;
}

.sad-face {
    font-size: 48px;
    color: #ff0000;
}

/* Pie de página amarillo */
.footer-white {
    background-color: #02548f;
    color: #fff;
    text-align: center;
    width: 100%;
}

@media (max-width: 900px) {
    .search-content {
        flex-direction: column;
    }
        
    .municipalidad, .provincial {
        font-size: 18px;
    }
}

.button-ingresar {
    top: 7em;
    left: 20px;
    padding: 10px 20px;
    background-color: #02548f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

a:hover{
    color: white;
}
