.employee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    margin-top: 40px;
}

.employee-tile {
    width: 100%;
    background: var(--bg-surface);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.employee-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.photo-wrapper {
    height: 220px !important;
    width: 220px !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: 20px;
}

.image {
    width: 220px !important;
    height: 220px !important;
    border-radius: 10px;
    object-fit: cover;
    image-rendering: auto;
}

.default-photo {
    height: 220px !important;
    width: 220px !important;
    font-size: 220px !important;
    color: var(--button-primary-bg-disabled);
}

.content {
    height: calc(100% - 220px);
}

.info {
    margin-left: 10px;
    margin-right: 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
    max-height: 28px !important;
}

.code {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 400;
}

.actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-height: 28px !important;
}

.contact {
    display: flex;
    gap: 5px;
    align-items: center;
}

.contact mat-icon {
    height: 28px !important;
    width: 28px !important;
    font-size: 22px !important;
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    border-radius: 10px;
    padding-top: 3px;
}

button[mat-icon-button] {
    background: var(--bg-subtle);
    border-radius: 10px;
    max-height: 28px !important;
    transition: background 0.2s;
}

button[mat-icon-button]:hover {
    background: var(--bg-hover);
}

@media (max-width: 1200px) {
    .employee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .employee-grid {
        grid-template-columns: 1fr;
    }
}