#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(117, 114, 113, 0.8) 10%, rgba(40, 49, 77, 0.8) 30%, rgba(29, 35, 71, 0.8) 50%, rgba(19, 25, 28, 0.8) 80%, rgba(15, 14, 14, .8) 100%), url(https://38.media.tumblr.com/tumblr_m00c3czJkM1qbukryo1_500.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: -1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.content-wrapper {
    background-color: white;
    margin: 20px auto;
    padding: 20px;
    width: 95%;
    max-width: 1200px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #418ADE;
    color: white;
}

header h1 {
    font-size: 1.5rem;
}

.greeting {
    margin-bottom: 20px;
}

.greeting h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.greeting p {
    color: gray;
    font-size: 0.9rem;
}

.statistics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 20px;
}

.stat-card {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    width: 100%;
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: gray;
}

.lists {
    display: flex;
    flex-direction: column;
}

.list {
    background-color: white;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.list h3 {
    font-size: 1.2rem;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

button {
    background-color: #418ADE;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

button:hover {
    background-color: #3570B8;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

.modal-edit {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-overlay.show {
    visibility: visible;
    opacity: 1;
}

.modal-edit input,
.modal-edit select {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-edit button {
    margin: 5px;
    padding: 8px 12px;
}

.user-logout {
    background-color: #3b8beb;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.user-logout:hover {
    background-color: #2f76c1;
}

.main-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    margin: 50px auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.form-section {
    padding: 2rem;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

#signin-form {
    display: flex;
    flex-direction: column;
}

#signin-form label {
    margin-top: 1rem;
    font-weight: bold;
}

#signin-form input {
    padding: 0.75rem;
    margin-top: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#signin-form button {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background-color: #418ADE;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#signin-form button:hover {
    background-color: #3570B8;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header h1 {
        margin-bottom: 10px;
    }

    .stat-card {
        width: 100%;
    }

    .list-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-header button {
        margin-top: 10px;
    }

    table {
        font-size: 0.9rem;
    }

    table th {
        display: none;
    }

    table td {
        display: block;
        padding: 5px 10px;
    }

    table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 100px;
    }

    .action-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

    .action-buttons button {
        width: 48%;
    }
}