/* Base styles */ body { font-family: Arial, sans-serif; background-color: #121212; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; height: 100vh; overflow: hidden; } /* Usercontainer styling */ .usercontainer { width: 70%; max-width: 1200px; margin-top: 20px; /* Space from the top for the filter */ display: flex; flex-direction: column; align-items: center; overflow-y: auto; } /* Filter container styles */ .filter { width: 100%; /* Full width of the usercontainer */ background: #1e1e1e; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); padding: 10px; position: sticky; /* Keeps it fixed at the top */ top: 0; /* Stick to the top */ margin-bottom: 20px; /* Space below the filter */ } /* Tabs container styles */ .tabs { display: grid; grid-auto-flow: column; gap: 10px; /* Space between tabs */ width: 100%; } /* Radio button input styles */ .input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: none; } /* Radio button label styles */ .label { padding: 10px 20px; cursor: pointer; text-align: center; background: #333; border-radius: 8px; color: #fff; transition: background 0.3s, color 0.3s; } .input:checked + .label { background: #aa00ff; color: #fff; } .input:not(:checked) + .label:hover { background: #444; } /* Search input styles */ .search-input { width: 100%; /* Full width of the filter */ background-color: #1a1a1a; border: none; padding: 10px; border-radius: 10px; outline: none; color: white; margin-top: 10px; /* Space between the tabs and search input */ box-sizing: border-box; } /* Usercards container */ .usercards { padding: 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 10px; /* Spacing between items */ width: 100%; /* Full width of the usercontainer */ } /* Usercard styling */ .usercard { max-width: 360px; border-radius: 1rem; background-color: rgba(20, 20, 20, 1); padding: 1rem; } .biocard { max-width: 460px; border-radius: 1rem; background-color: rgb(118, 36, 194); padding: 4rem; margin-top: 1rem; } .infos { display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; } .image { height: 7rem; width: 7rem; border-radius: 0.5rem; background-color: rgb(118, 36, 194); background: linear-gradient(to bottom right, rgb(118, 36, 194), rgb(185, 128, 240)); } .info { height: 7rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; } .name { font-weight: 500; color: rgba(255, 255, 255, 1); } .userid { font-size: 0.75rem; color: rgba(156, 163, 175, 1); } .stats { width: 100%; border-radius: 0.5rem; background-color: rgba(255, 255, 255, 1); display: flex; align-items: center; justify-content: space-around; font-size: 0.75rem; line-height: 1rem; color: rgba(0, 0, 0, 1); } .flex { display: flex; flex-direction: column; align-items: center; margin: 0 4px; } .state-value { font-weight: 700; color: rgb(118, 36, 194); } .request { margin-top: 1rem; width: 100%; border: 1px solid transparent; border-radius: 0.5rem; padding: 0.5rem 1rem; font-size: 1rem; line-height: 1.5rem; transition: all .3s ease; } .request:hover { background-color: rgb(118, 36, 194); color: #fff; }