* { margin: 0; padding: 0; box-sizing: border-box; } /* html, body { height: 100%; }*/ body { font-family: Arial, sans-serif; background-color: #073b4c; display: flex; /*flex-direction: column;*/ } h1,h2 { text-align: center; padding: 20px 0; color: #ffd166; } .content { flex: 1; padding: 20px; } .footer { position: fixed; left: 0; bottom: 0; width: 100%; background-color: #022532; color: white; text-align: center; padding: 8px 0; } #main { transition: margin-left 0.5s; padding: 16px; } /* .menu-item { background: #fdfdfd; border: 1px solid #ddd; padding: 15px; border-radius: 8px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7); font-weight: bold; color: black; }*/ /* .inventory-container { width: 40%; margin: auto; background: transparent; border-radius: 12px; /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9); overflow: hidden;*/ /*} .inventory-form { padding: 20px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; } .inventory-form input { font-size: 16px; background: #fdfdfd; border: 1px solid #ddd; padding: 15px; border-radius: 5px; border: none; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7); letter-spacing: 1px; } .inventory-form button { margin-top: 5px; color: white; border: none; padding: 12px; width: 50%; border-radius: 25px; font-size: 18px; font-weight: 600; cursor: pointer; margin-left: 25%; transition: background 0.3s ease; } .inventory-form button:hover { background-color: #a90a24; } .inventory-list ul { list-style-type: none; padding: 0; } .inventory-list li { /*display: flex; justify-content: space-between; color: white; padding: 10px; border-bottom: 1px solid #ddd; border-radius: 4px; margin-bottom: 10px; background-color: #550000; font-size: 16px;*/ /* display: flex; margin-bottom: 10px; justify-content: space-between; background: #ffffff; font-size: 16px; padding: 20px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); letter-spacing: 1px; font-weight: bold; } .inventory-list li span { flex: 1; } .inventory-list li button { background: #00796b; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; margin: 0 5px; } .inventory-list li button:hover { background-color: #004d40; }*/ /**New Design Start**/ section { background-color: transparent; /*#022532;*/ padding: 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); margin-bottom: 20px; } /* Stats Boxes Styling */ .stats { display: flex; justify-content: space-between; gap: 20px; } .stat-box { background-color: #f8f9fa; padding: 20px; border-radius: 10px; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); width: 30%; flex: 1; } .stat-box h3 { margin-bottom: 10px; color: #343a40; } .stat-box p { font-size: 24px; color: #343a40; } .low-stock { background-color: #ffbdbd; } /* Table Styling */ table { width: 100%; border-collapse: collapse; margin-top: 20px; background-color: #e0e0e0; } thead { background-color: #022532; color: #ffffff; } th, td { padding: 12px; text-align: left; border: 1px solid #939393; } /*tr:hover { background-color: #f1f1f1; }*/ /* Buttons and Forms */ button { background-color: #5c7cfa; color: #ffffff; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; font-size: 16px; margin-top: 10px; } button:hover { background-color: #3c61f5; } input { margin-bottom: 10px; padding: 10px; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 14px; font-weight: bold; } /* Add/Hide Forms */ #add-stock-form, #add-menu-item-form { background-color: transparent; padding: 20px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } /**New Design End**/ /* Auto Search START*/ .autocomplete-wrapper { position: relative; width: 100%; } .autocomplete-items { position: absolute; top: 100%; /* Position just below the input */ left: 0; right: 0; max-height: 200px; overflow-y: auto; z-index: 99; border-radius: 8px; margin-bottom: 10px; /* Ensure it's not transparent */ } .autocomplete-items div { width: 18%; padding: 10px; cursor: pointer; background-color: #66ddbd; } /* Auto Search END*/