/* ========================================
   Administração - Tema 3
   Prefeitura de Bom Jesus da Penha
   ======================================== */
/* Estilos específicos para a página de administração */
.admin-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.admin-card .card-header {
    position: relative;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.admin-badge {
    transition: transform 0.3s ease;
}

.admin-card:hover .admin-badge {
    transform: scale(1.1);
}

.admin-photo-wrapper {
    position: relative;
    display: inline-block;
}

.admin-photo {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.admin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid #fff;
    transition: transform 0.3s ease;
}

.admin-card:hover .admin-photo img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-card:hover .photo-overlay {
    opacity: 1;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%) !important;
}

.bg-primary-subtle {
    background-color: rgba(34, 139, 34, 0.1) !important;
}

.bg-dark-subtle {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    background-color: rgba(34, 139, 34, 0.2) !important;
}

@media (max-width: 768px) {
    .admin-photo {
        width: 150px;
        height: 150px;
    }

    .admin-badge {
        width: 60px !important;
        height: 60px !important;
    }

    .admin-badge i {
        font-size: 1.5rem !important;
    }
}