/* Define altura mínima para que o footer fique sempre no fim */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* O conteúdo principal ocupa o espaço disponível */
.login-container {
    flex: 1; /* Faz o conteúdo crescer e empurrar o footer para baixo */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Footer fixo no final */
footer {
    background-color: #004080;
    color: white;
    padding: 20px 10%;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Empurra o footer para o final */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.footer-section p {
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Tamanho base para o Facebook */
.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Tamanho maior para o Instagram */
.social-icons a:last-child .social-icon {
    width: 70px; /* Aumentado para 60px */
    height: 70px; /* Aumentado para 60px */
}

/* Rodapé final */
.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* Links do footer */
.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD600;
    text-decoration: underline;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Responsividade */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-section {
        min-width: unset;
        width: 100%;
        margin-bottom: 10px;
    }
    .footer-section h3 {
        font-size: 17px;
    }
    .footer-section p {
        font-size: 13px;
    }
    .social-icons {
        gap: 15px;
    }
    .footer-bottom {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 20px 5%;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .footer-section {
        min-width: unset;
        width: 100%;
        margin-bottom: 10px;
    }
    .footer-section h3 {
        font-size: 16px;
    }
    .footer-section p {
        font-size: 12px;
    }
    .social-icons {
        gap: 10px;
    }
    .social-icon {
        width: 28px;
        height: 28px;
    }
    .social-icons a:last-child .social-icon {
        width: 45px;
        height: 45px;
    }
    .footer-bottom {
        font-size: 12px;
        padding-top: 5px;
    }
    .footer-links {
        gap: 8px;
        font-size: 12px;
    }
}
