/* Employee Management Frontend Styles */
.em-employee-list-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.em-employee-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.em-employee-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.em-employee-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.em-employee-photo {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.em-employee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.em-employee-item:hover .em-employee-photo img {
    transform: scale(1.05);
}

.em-employee-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.em-employee-placeholder .dashicons {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.8);
}

.em-employee-content {
    padding: 24px;
}

.em-employee-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.em-employee-position {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.em-employee-contact {
    margin-bottom: 20px;
}

.em-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.em-contact-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.em-contact-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.em-contact-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.em-employee-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.em-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.em-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.em-social-link:hover::before {
    opacity: 1;
}

.em-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.em-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d6efd 100%);
}

.em-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* No Employees State */
.em-no-employees {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.em-no-employees-icon {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 24px;
}

.em-no-employees h3 {
    font-size: 24px;
    color: #333;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.em-no-employees p {
    font-size: 16px;
    margin: 0;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .em-employee-list-wrapper {
        padding: 15px;
    }
    
    .em-employee-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .em-employee-photo {
        height: 180px;
    }
    
    .em-employee-content {
        padding: 20px;
    }
    
    .em-employee-name {
        font-size: 18px;
    }
    
    .em-employee-position {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .em-employee-list-wrapper {
        padding: 10px;
    }
    
    .em-employee-photo {
        height: 160px;
    }
    
    .em-employee-content {
        padding: 16px;
    }
    
    .em-employee-name {
        font-size: 16px;
    }
    
    .em-employee-social {
        gap: 8px;
    }
    
    .em-social-link {
        width: 36px;
        height: 36px;
    }
}

/* Animation for loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.em-employee-item {
    animation: fadeInUp 0.6s ease forwards;
}

.em-employee-item:nth-child(1) { animation-delay: 0.1s; }
.em-employee-item:nth-child(2) { animation-delay: 0.2s; }
.em-employee-item:nth-child(3) { animation-delay: 0.3s; }
.em-employee-item:nth-child(4) { animation-delay: 0.4s; }
.em-employee-item:nth-child(5) { animation-delay: 0.5s; }
.em-employee-item:nth-child(6) { animation-delay: 0.6s; }

/* Hover effects for better UX */
.em-employee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.em-employee-item:hover::before {
    opacity: 1;
}

/* Focus states for accessibility */
.em-contact-link:focus,
.em-social-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .em-employee-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .em-employee-item:hover {
        transform: none;
    }
    
    .em-employee-social {
        display: none;
    }
} 