/* Global styles for body and background */ body, html { height: 100%; width: 100%; margin: 0; padding: 0; font-family: "Roboto", sans-serif; font-weight: 500; font-style: normal; background-image: url('../assets/background.png'); background-size: cover; background-repeat: no-repeat; } /* Container starts hidden */ .container { opacity: 0; display: flex; flex-direction: row; justify-content: space-evenly; align-items: center; min-height: 100vh; text-align: center; } /* Container styling to match your previous design */ .user-management-container { background-color: rgba(83, 92, 145, 0.71); padding: 2rem; border-radius: 1rem; box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.2); color: white; width: 80%; max-width: 1000px; } /* User card styling */ .user-card { background-color: #fff; color: #333; border-radius: 10px; padding: 15px; margin: 15px 0; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; } .user-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); } /* User name */ .user-name { font-size: 1.5rem; font-weight: bold; margin-bottom: 10px; } /* User department */ .user-department { font-size: 1.2rem; color: #555; margin-bottom: 10px; } /* Delete button */ .delete-button { padding: 10px 20px; background-color: #f44336; border: none; border-radius: 5px; color: white; cursor: pointer; font-weight: bold; transition: background-color 0.3s ease, box-shadow 0.3s ease; text-transform: uppercase; } .delete-button:hover { background-color: #d32f2f; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); } /* Footer buttons */ button { margin: 0 1rem 0 1rem; width: 10vw; height: 5vh; border: none; border-radius: 10px; color: white; font-size: 1rem; font-weight: bold; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); outline: none; transition: background-color 0.3s ease; } button:hover { filter: brightness(85%); } button[name="back"] { background-color: #23BDEE; } /* Footer class */ .footer { margin-top: 20px; display: flex; justify-content: flex-end; } /* Scrollable user container */ #users-container { max-height: 50vh; overflow-y: auto; } #users-container::-webkit-scrollbar { width: 10px; } #users-container::-webkit-scrollbar-track { background: #1B1A55; } #users-container::-webkit-scrollbar-thumb { background: #535C91; border: 2px solid #1B1A55; } #users-container::-webkit-scrollbar-thumb:hover { background: #555; }