body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #74ebd5, #9face6);
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.whole-container {
    display: flex;
}

h1 {
    text-align: center;
    color: #333;
    font-size: 32px;
    font-weight: 600;
}

p {
    text-align: center;
}

.container {
    display: flex;
    margin-right: 10rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 50px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
}

.container-input {
    width: 100%;
    padding: 20px;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 12px;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-group label {
    font-size: 16px;
    color: #555;
    flex: 1;
    margin-right: 10px;
}

.input-group input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #007bff;
    outline: none;
}

.buttons-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

button {
    width: 30%;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

#simulate-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
}

#retry-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
}

#stop-btn {
    background: linear-gradient(135deg, #4ec01d, #43c027);
    color: white;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.time-info {
    margin-top: 20px;
    font-size: 16px;
    color: #555;
    text-align: center;
}

.table-container {
    margin-top: 30px;
    width: 100%;
    height: 40rem;
    overflow-y: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

table thead {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: white;
    text-transform: uppercase;
}

table th,
table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

table tbody tr:nth-child(odd) {
    background-color: #f4f4f4;
}

table tbody tr:nth-child(even) {
    background-color: #fff;
}

table tbody tr:hover {
    background-color: #e0f7fa;
}

@media (max-width: 600px) {

    .whole-container {
        display: block;
    }

    h1 {
        font-size: 20px;
    }

    p {
        text-align: center;
    }

    .container {
        padding: 10px;
        margin-right: 0;
        margin-left: 0;
    }

    .container-input {
        width: 100%;
        padding: 20px;
    }

    .input-group {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        padding: 8px;
        border-radius: 10px;
        background: #f9f9f9;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .input-group label {
        font-size: 12px;
        margin-right: 5px;
    }

    .input-group input {
        font-size: 12px;
        padding: 6px;
    }

    .input-group input:focus {
        border-color: #007bff;
        outline: none;
    }

    .buttons-container {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }

    button {
        width: 45%;
        padding: 8px;
        font-size: 12px;
    }

    #simulate-btn {
        background: linear-gradient(135deg, #6a11cb, #2575fc);
        color: white;
    }

    #retry-btn {
        background: linear-gradient(135deg, #ff416c, #ff4b2b);
        color: white;
    }

    #stop-btn {
        background: linear-gradient(135deg, #4ec01d, #43c027);
        color: white;
    }

    button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .time-info {
        font-size: 12px;
    }

    .table-container {
        overflow-x: auto;
    }

    table {
        font-size: 10px;
    }

    table thead {
        background: linear-gradient(135deg, #2575fc, #6a11cb);
        color: white;
        text-transform: uppercase;
    }

    table th,
    table td {
        padding: 8px;
        text-align: center;
        border: 1px solid #ddd;
    }

    table tbody tr:nth-child(odd) {
        background-color: #f4f4f4;
    }

    table tbody tr:nth-child(even) {
        background-color: #fff;
    }

    table tbody tr:hover {
        background-color: #e0f7fa;
    }
}