body { font-family: Arial, sans-serif; background: linear-gradient(90deg, rgb(27,27,27), rgb(128,128,128)); display:grid; justify-content: center; align-items: center; height: 100vh; margin: 0; } /* Login Container */ .login-container { background-color: white; padding: 30px 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); width: 100%; max-width: 400px; text-align: center; position: relative; } .logo { width: 200px; height: 200px; object-fit: contain; margin-bottom: 20px; } Title { font-weight: 500; color: rgb(51, 50, 50); margin-bottom: 20px; } form { display: flex; flex-direction: column; } label { font-weight: 500; text-align: left; margin-bottom: 8px; font-size: 14px; color: rgb(51, 50, 50) ; } input { padding: 12px; margin-bottom: 20px; border: 1px solid rgb(202, 200, 200); border-radius: 8px; font-size: 16px; color: rgb(51, 50, 50); background-color: white; transition: border 0.3s ease; } input:focus { outline: none; border-color: #6c63ff; } button { padding: 14px; background-color: #6c63ff; color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease, transform 0.1s ease; } button:hover { background-color: #504ac2; transform: translateY(-2px); } .register-link { color: rgb(50, 50, 224); text-decoration: underline; margin-left: 15px; font-size: 14px; cursor: pointer; } .register-link:hover { text-decoration: none; } .message { margin-top: 15px; font-size: 14px; } @media (max-width: 768px) { .login-container { padding: 20px 30px; width: 90%; } } /* home.html */ .navbar { background-color: rgb(255,163,26); color: white; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 60px; z-index: 1000; } .navbar img { height: 50px; margin-left: 20px; } .navbar .logout-button { background-color: white; color: rgb(255,163,26); border: none; padding: 10px 20px; cursor: pointer; margin-right: 40px; } #container { position: relative; } .container { display: flex; margin-top: 60px; } .side-container { background-color: rgb(255,163,26); color: white; padding: 10px; width: 200px; display: flex; flex-direction: column; gap: 10px; } .side-container button { background-color: white; color: rgb(255,163,26); border: none; padding: 10px; cursor: pointer; } .main-container { position: flex; overflow: hidden; flex-grow: 1; background-color: lightgrey; position: relative; } .main-container #map { width: 100%; height: 100vh; object-fit: contain; } .draggable { background-color: rgba(0, 0, 255, 0.5); color: white; padding: 5px; cursor: move; position: absolute; } .form-popup { position: absolute; background-color: white; border: 2px solid black; padding: 20px; z-index: 1001; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); display: none; } .pole { position: absolute; transition: left 0.1s ease, top 0.1s ease; background-color: transparent; } .pole-icon { cursor: pointer; margin: 10px; background-color: transparent; border: none; } .pole-icon.draggable { border: 2px dashed transparent; } .pole-icon.draggable:hover { border-color: lightgray; } #tooltip { position: absolute; z-index: 10; } /* Admin.html */ .admin-body { font-family: Arial, sans-serif; background: linear-gradient(90deg, rgb(27,27,27), rgb(128,128,128)); display: absolute; justify-content: center; align-items: center; height: 100vh; margin: 0; } .admin-container { display: flex; flex-direction: row; height: 100vh; margin-top: 60px; } /* Sidebar Styles */ .admin-sidebar { width: 250px; background-color: rgb(255,163,26); color: black; padding: 20px; height: 100%; } .admin-sidebar h2 { font-size: 24px; margin-bottom: 30px; text-align: center; } .admin-sidebar nav ul { list-style: none; padding: 0; } .admin-sidebar nav ul li { margin: 20px 20px; } .admin-sidebar nav ul li a { color: black; text-decoration: none; font-size: 18px; display: block; padding: 10px; transition: background 0.3s ease; border-radius: 5px; } .admin-sidebar nav ul li a:hover { background-color: rgb(219, 141, 24); } .tab-container { display: absolute; justify-content: space-around; border-bottom: 2px solid #ccc; margin-bottom: 20px; } .tab { padding: 10px 20px; cursor: pointer; color: #333; font-weight: bold; } .tab.active { color: (219, 141, 24); border-bottom: 3px solid (219, 141, 24); } .tab-content { display: none; width: 100%; height: 100%; margin: 20px auto; padding: 20px; border: 2px solid #ccc; border-radius: 10px; box-sizing: border-box; font-size: 20px; } .tab-content h4 { padding-bottom: 10px; } .tab-content.active { display: block; } .admin-main-content { margin-left: 0px; padding: 20px; width: 100%; background-color: #ecf0f1; height: 100vh; overflow: auto; } .admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 10px; border-bottom: 2px solid #ddd; } .admin-header h1 { font-size: 28px; color: #2c3e50; } .admin-header button { padding: 10px 20px; background-color: #e74c3c; color: white; border: none; cursor: pointer; border-radius: 5px; font-size: 16px; } .admin-header button:hover { background-color: #c0392b; } .dashboard-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; } .dashboard-card { background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); text-align: center; } .dashboard-card h3 { font-size: 20px; color: #34495e; margin-bottom: 10px; } .dashboard-card p { font-size: 28px; font-weight: bold; color: #2c3e50; } .dashboard-statistics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } .dashboard-chart { background-color: #ecf0f1; height: 200px; border-radius: 8px; margin-top: 10px; text-align: center; line-height: 200px; color: #7f8c8d; } .dashboard-recent-activity { background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .dashboard-recent-activity ul { list-style: none; padding: 10px; } .dashboard-recent-activity ul li { padding: 10px; border-bottom: 1px solid #ddd; } .dashboard-recent-activity ul li:hover { background-color: #ecf0f1; } .account-list { display: flex; flex-direction: column; gap: 10px; max-height: 500px; overflow-y: auto; margin-top: 20px; } .account-box { background-color: #63a5f0; border-radius: 10px; padding: 15px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); margin: 0 10px; } .account-detail { display: flex; justify-content: space-between; margin-bottom: 10px; } .account-detail label { font-weight: bold; font-size: 18px; margin-right: 10px; text-align: right; } .account-detail span { font-size: 18px; color: #333; margin-left: 10px; } .account-box .account-detail { margin-bottom: 15px; } .employee-item { border: 1px solid #ddd; border-radius: 5px; padding: 10px; margin: 10px; background-color: #f9f9f9; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .employee-item p { margin: 5px 0; } #current { max-height: 600px; overflow-y: auto; } .popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; } .popup-content { background: white; padding: 20px; border-radius: 5px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); } .popup-content h3 { margin-top: 0; } .popup-content label { display: block; margin-top: 10px; } .popup-content button { margin-top: 20px; margin-right: 10px; }