@font-face { font-family: Montserrat; src: url(./fonts/Montserrat-VariableFont_wght.ttf) format('truetype') } /* Global font and box-sizing */ body { height: 100vh; /* Full viewport height */ font-family: 'Montserrat', sans-serif; background: #f4f4f4; } .main2 { justify-content: center; align-items: center; } /* Modal styles */ .modal { padding-top: 10px; justify-content: center; display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; font-size: 13px; } .modal input[type="text"], .modal input[type="password"], .modal select[name="role"] { border: none; border-radius: 5px; padding: 5px; width: 100%; color: #073763; font-size: 13px; } .modal form { padding: 20px; justify-content: space-between; font-family: 'Montserrat', sans-serif; background: #134f5c; border: none; border-radius: 5px; color: #fff; transition: background-color 0.3s ease; } .modal input[type="submit"], .modal input[type="button"] { border: none; border-radius: 5px; padding: 10px; width: 45%; background: #3d85c6; cursor: pointer; /* Show hand cursor on hover */ } .modal input[type="submit"]:hover, .modal input[type="button"]:hover { background-color: #0b5394; /* Darker red on hover */ transform: translateY(-2px); } .modal input[type="submit"]:active, .modal input[type="button"]:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .modal-content { justify-content: space-between; background-color: #f9cb9c; margin: 10% auto; border: 1px solid #888; width: 600px; } .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: black; text-decoration: none; cursor: pointer; } tr, td { padding: 5px; backgroung: #e06666; } tr td button{ backgroung: #e06666; } h1 { margin-bottom: 10px; font-size: 2em; color: #3d85c6; } .main-content { Width: 100%; margin: 0;} h2 { font-size: 1.5em; color: #b10f56; } /* General styles */ .container { justify-content: space-between; align-items: center; } .container2 { display: flex; justify-content: space-between; align-items: center; } .left-buttons { display: flex; margin-bottom: 10px; padding: 0 10px; } .right-button { display: flex; margin-left: auto; padding:0 10px; } .input_main { padding: 10px 20px; border: none; border-radius: 5px; background-color: #3d85c6; color: #fff; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_main:hover { background-color: #0b5394; transform: translateY(-2px); } .input_logout { padding: 10px 20px; border: none; border-radius: 5px; background-color: #c82333; color: #fff; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_logout:hover { background-color: #940311; transform: translateY(-2px); } input { font-family: 'Montserrat', sans-serif; background: #f4f4f4; font-size: 12px;} /* CSS for the Delete button */ .input_de { padding: 3px 5px; border: none; border-radius: 5px; background-color: #cc0000; /* Red background */ color: #fff; /* White text */ cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_de:hover { background-color: #990000; transform: translateY(-2px); } .input_de:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* CSS for the Edit button */ .input_ed { padding: 3px 5px; border: none; border-radius: 5px; background-color: #134f5c; /* Red background */ color: #fff; /* White text */ cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_ed:hover { background-color: #0c343d; /* Darker red on hover */ transform: translateY(-2px); } .input_ed:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* CSS for the ADD button */ .input_add { padding: 10px 20px; border: none; border-radius: 5px; background-color: #2e7e0b; /* Red background */ color: #fff; /* White text */ cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_add:hover { background-color: #246608; /* Darker red on hover */ transform: translateY(-2px); } .input_add:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* Stylish Table */ .styled-table { border-collapse: collapse; margin-top: 5px; margin-bottom: 25px; font-size: 1em; font-family: 'Montserrat', sans-serif; min-width: 400px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); width: 100% } .styled-table thead tr { background-color: #009879; color: #ffffff; text-align: left; } .styled-table th, .styled-table td { padding: 12px 15px; text-align: left; } .styled-table tbody tr { border-bottom: 1px solid #dddddd; } .styled-table tbody tr:nth-of-type(even) { background-color: #f3f3f3; } .styled-table tbody tr:last-of-type { border-bottom: 2px solid #009879; } .styled-table tbody tr.active-row { font-weight: bold; color: #009879; } /* Hover effect */ .styled-table tbody tr:hover { background-color: #f1f1f1; } select { width: 50%; padding: 10px; background:#f4cccc; border-radius: 5px; } /* Change Password Button */ #changePasswordBtn { padding: 10px 20px; border: none; border-radius: 5px; background-color: #3a811b; color: #fff; cursor: pointer; transition: background-color 0.3s ease; } #changePasswordBtn:hover { background-color: #24560e; transform: translateY(-2px); } /* Popup Background */ .popup { display: none; /* Hidden by default */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */ justify-content: center; align-items: center; } /* Popup Content */ .popup-content { background-color: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center; width: 100%; max-width: 400px; position: relative; } /* Close Button */ .close-btn { position: absolute; top: 10px; right: 15px; font-size: 1.5em; cursor: pointer; } .popup-content h2 { margin-bottom: 20px; font-size: 1.5em; color: #333; } .popup-content input[type="password"] { width: 100%; padding: 15px; margin: 10px 0; border: 1px solid #ddd; border-radius: 5px; font-size: 1em; box-sizing: border-box; } .popup-content button { width: 100%; padding: 15px; border: none; border-radius: 5px; background: #007bff; color: #fff; font-size: 1.2em; cursor: pointer; transition: background 0.3s ease; } .popup-content button:hover { background: #0056b3; } .popup-content input[type="password"]:focus { border-color: #007bff; box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); outline: none; } .footer { background: -webkit-gradient(linear, left top, right top, color-stop(2.8%, #b10f56), color-stop(96.83%, #d00846)); background: linear-gradient(90deg, #b10f56 2.8%, #c30541 96.83%); color: #fff; text-align: left; font-size: 13px; padding: 3px 0; } .footer a { color: tomato; text-decoration: none; } .footer a:hover { text-decoration: underline } .footer p { padding-left: 20px }