@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; } .modal input[type="text"], input[type="password"], input[type="role"] { border: none; border-radius: 5px; padding: 5px; width: 100%; color: #c90076; font-size: 13px; } .modal form { padding: 20px; justify-content: space-between; font-family: 'Montserrat', sans-serif; background: #a64d79; border: none; border-radius: 5px; color: #fff; cursor: pointer; transition: background-color 0.3s ease; } .modal input[type="submit"], input[type="button"] { border: none; border-radius: 5px; padding: 10px; width: 45%; background: #3d85c6; } .modal input[type="submit"]:hover { background-color: #c82333; /* Darker red on hover */ transform: translateY(-2px); } .modal input[type="submit"]:active { transform: translateY(0); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .modal input[type="button"]:hover:hover { background-color: #c82333; /* Darker red on hover */ transform: translateY(-2px); } .modal input[type="button"]:hover: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: #e06666; } /* 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 { margin-left: auto; padding:0 10px; } .input_main { padding: 10px 20px; border: none; border-radius: 5px; background-color: #3d85c6; color: #fff; font-size: 1em; cursor: pointer; transition: background-color 0.3s ease; } .input_main:hover { background-color: #c27ba0; } .input_logout { padding: 10px 20px; border: none; border-radius: 5px; background-color: #f44336; color: #fff; font-size: 1em; cursor: pointer; transition: background-color 0.3s ease; } .input_logout:hover { background-color: #c27ba0; } input { font-family: 'Montserrat', sans-serif; background: #f4f4f4; font-size: 15px;} /* CSS for the Delete button */ .input_de { padding: 5px 20px; border: none; border-radius: 5px; background-color: red; /* Red background */ color: #fff; /* White text */ cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_de:hover { background-color: #c82333; /* Darker red on hover */ 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: 5px 20px; border: none; border-radius: 5px; background-color: blue; /* Red background */ color: #fff; /* White text */ cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_ed:hover { background-color: #c82333; /* 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: #6aa84f; /* Red background */ color: #fff; /* White text */ cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; } .input_add:hover { background-color: #c82333; /* 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: 'Roboto', 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; } }