body{ font-family: "Caveat", cursive; margin: 30px; } #content{ display: flex; gap: 50px; } #main-part{ display: flex; flex-direction: column; width:420px; gap: 30px; } #container{ display: flex; justify-content: center; align-items: center; height: 300px; gap: 50px; border: 1px solid #ccc; border-radius: 5px; background-color: #f9f9f9; padding: 10px; } #container p{ font-weight:bold; margin: 0; padding-bottom: 10px; } button { margin-right: 13px; margin-bottom: 5px; border:0; border-radius: 5px; padding: 10px; } #block-account{ background-color: #ff6666; color: white; } #edit-profile{ background-color: royalblue; color: white; } #saveChanges{ background-color: #4CAF50; color: white; } #left-side, #right-side { display: flex; flex-direction: column; gap: 15px; } #stat-table { height: 320px; width: 420px; border-collapse: collapse; table-layout: fixed; } #additional-table{ border-collapse: collapse; table-layout: fixed; } #active-tableHead > tr > th, #active-table > tr > td{ width: fit-content; } #stat-table th, #stat-table td, #active-tableHead > tr > th, #active-table > tr > td { text-align: center; border: 1px solid #ddd; padding: 12px; } #stat-table th, #active-tableHead > tr > th { background-color: lightslategray; color: #fff; font-weight: bold; } #table-part > p{ font-size: 20px; } #statusDropdown{ margin-bottom: 25px; } #authButton{ position: absolute; left: 1145px; top: 21px; width: 150px; color: white; background-color: red; padding: 10px; border: none; border-radius: 5px; } .modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 9999; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */ align-items: center; justify-content: center; } /* Modal Content Box */ .modal-content { background-color: #fefefe; margin: auto; padding: 20px; border-radius: 8px; width: 300px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); text-align: center; position: relative; } .close { position: absolute; top: 10px; right: 15px; color: #aaa; font-size: 24px; font-weight: bold; cursor: pointer; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; } /* Modal Heading */ h2 { margin-bottom: 15px; font-size: 20px; } /* Input Field */ #userInput { width: 100%; padding: 8px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } /* Buttons */ .buttons { display: flex; justify-content: space-between; } .buttons button { width: 48%; padding: 10px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; } #cancelBtn { background-color: #f44336; color: white; } #approveBtn { background-color: #4CAF50; color: white; } .buttons button:hover { opacity: 0.8; }