@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #333;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    height: 100vh;
    color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    padding: 10px 20px;
    color: white;
}

.navbar-left a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}

.navbar-left a:hover {
    background-color: #3b3b3b;
}

.navbar-right {
    font-size: 14px;
    color: #ccc;
}

/* Container that holds content in the center */
.container {
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    height: 100%;
}

.content {
    text-align: center; /* Optional: centers text within content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Keeps it centered vertically */
    width: 100%;
    padding-top: 60px; /* Optional: Add padding to prevent overlap with navbar */
    box-sizing: border-box;
    text-align: center; /* To center text content */
    color: white;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.form-container {
    max-width: 400px;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #222;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

.form-container h2 {
    padding-bottom: 10px;
}
.logo-large {
    margin-bottom: 40px;
    max-width: 450px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 15px;
}

.input-group label {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.input-group input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

input[type="submit"], .btn {
    background: #1d7bf7;
    border: none;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="submit"]:hover, .btn:hover {
    background: #1053aa;
}

.message, .error {
    margin-bottom: 15px;
}

.message {
    color: white;
}

.error {
    color: red;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 0px;
    width: 100%;
}

.register-btn,
.login-btn {
    flex: 1;
    margin: 0 5px;
}

/*     Order Pages     */
.item-list {
    margin-bottom: 20px;
}

.item-list label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
}

.center-container form {
    width: 100%;
    max-width: 400px;
}

.btn-group {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-group a, .btn-group button {
    flex: 1;
}

.scrollable-list {
    max-height: 300px; /* Increased from 150px to 300px */
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #444;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #2b2b2b;
    width: 100%;
}

.scrollable-list label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.scrollable-list input[type="number"] {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #111;
    color: white;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.order-table th,
.order-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #222;
}

.order-table th {
    background-color: #222;
    text-align: left;
}

.order-table td:last-child,
.order-table th:last-child {
    text-align: right;
}

.timestamp {
    font-size: 0.9rem;
    color: #888;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Footer styling */
footer {
    position: absolute;
    bottom: 6px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

footer a {
    text-decoration: none;
    color: white;
}