/* ========== FOOTER CSS ========== */
/* Estilos específicos para o footer do sistema */

.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 0;
    margin-top: 40px;
    width: 100%;
    position: relative;
    z-index: 100;
}

.footer-container {
    padding: 40px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

/* Seção Sobre */
.footer-section.about {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3f51b5;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #3f51b5;
    transform: translateY(-3px);
}

/* Seção Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    margin-right: 5px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Seção Contato */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact-info i {
    margin-right: 10px;
    color: #3f51b5;
    width: 16px;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-developed {
    color: rgba(255, 255, 255, 0.6);
}

.developer-link {
    color: #3f51b5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.developer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Adaptações para diferentes níveis de acesso */
/* Modo Administrador - Tom azul padrão */
.admin-theme .footer-title::after,
.admin-theme .social-icon:hover,
.admin-theme .footer-contact-info i,
.admin-theme .developer-link {
    background-color: #3f51b5;
    color: #3f51b5;
}

/* Modo Gerente - Tom verde água */
.gerente-theme .footer-title::after,
.gerente-theme .social-icon:hover,
.gerente-theme .footer-contact-info i,
.gerente-theme .developer-link {
    background-color: #009688;
    color: #009688;
}

/* Modo Veterinário - Tom verde */
.veterinario-theme .footer-title::after,
.veterinario-theme .social-icon:hover,
.veterinario-theme .footer-contact-info i,
.veterinario-theme .developer-link {
    background-color: #4caf50;
    color: #4caf50;
}

/* Modo Recepcionista - Tom laranja */
.recepcionista-theme .footer-title::after,
.recepcionista-theme .social-icon:hover,
.recepcionista-theme .footer-contact-info i,
.recepcionista-theme .developer-link {
    background-color: #ff9800;
    color: #ff9800;
}

/* Modo Auxiliar - Tom roxo */
.auxiliar-theme .footer-title::after,
.auxiliar-theme .social-icon:hover,
.auxiliar-theme .footer-contact-info i,
.auxiliar-theme .developer-link {
    background-color: #9c27b0;
    color: #9c27b0;
}

/* Responsividade */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section.about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section.about {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}