/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #f4f4f4;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Button container styles */
div:first-of-type {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Employee details container */
#employeesDetails {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
}

/* Styles for dynamically added employee information */
.employee-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #fff;
}

.employee-card h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.employee-info {
    margin: 5px 0;
    color: #666;
}

/* Total salary display */
.total-salary {
    font-size: 1.2em;
    font-weight: bold;
    color: #28a745;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #e9f7ef;
    border-radius: 5px;
}

/* Responsive design */
@media screen and (max-width: 600px) {
    body {
        padding: 10px;
    }

    div:first-of-type {
        flex-direction: column;
    }

    button {
        width: 100%;
        margin-bottom: 10px;
    }

    #employeesDetails {
        padding: 15px;
    }
}
