body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #3c6e87, #2575fc);
    margin: 0;
    padding: 0;
    color: #333;
}

h1 {
    text-align: center;
    color: #fff;
    padding: 20px;
    background-color: #007BFF;
    margin: 0;
    font-size: 28px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.back-to-profile {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #FFC107;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.back-to-profile:hover {
    background: #E0A800;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.create-employee-btn {
position: fixed; /* Giữ nút cố định */
bottom: 20px; /* Cách đáy màn hình 20px */
right: 20px; /* Cách mép phải màn hình 20px */
background: #28a745;
color: white;
padding: 12px 24px;
border: none;
border-radius: 50px; /* Bo tròn nút */
font-size: 16px;
font-weight: bold;
cursor: pointer;
text-decoration: none;
transition: background 0.3s ease, transform 0.2s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
z-index: 1000; /* Đảm bảo nút luôn nằm trên các phần tử khác */
}

.create-employee-btn:hover {
background: #218838;
transform: scale(1.05);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}



.employee-list {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.employee-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #f1f1f1;
    align-items: center;
    transition: background-color 0.3s;
}

.employee-item:last-child {
    border-bottom: none;
}

.employee-item:hover {
    background-color: #f9f9f9;
}

.employee-details {
    width: 70%;
}

.employee-details span {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

.employee-details span strong {
    color: #007BFF;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.action-buttons a,
.delete-btn {
    margin-bottom: 10px;
    text-decoration: none;
    color: #007BFF;
    font-size: 16px;
}

.action-buttons a:hover,
.delete-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}

.delete-btn {
    color: #f44336;
    cursor: pointer;
    font-weight: bold;
}

.delete-btn:hover {
    color: #e53935;
}

/* Responsive */
@media (max-width: 768px) {
    .employee-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .employee-details {
        width: 100%;
    }

    .action-buttons {
        align-items: flex-start;
        margin-top: 10px;
    }

    .back-to-profile,
    .create-employee-btn {
        position: static;
        transform: none;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
}