/* Top Bar Styles */
/* General Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Top Bar Styling */
.top-bar {
    background: #0056b3; /* Adjust with your preferred color */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    max-height: 40px; /* Adjust if necessary */
}

.news-alert {
    padding: 5px 10px;
    background: #f1c40f; /* Highlight color */
    border-radius: 5px;
    font-size: 0.9em;
}

.top-bar-right select,
.top-bar-right a {
    margin: 0 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.top-bar-right select:hover,
.top-bar-right a:hover {
    background: rgba(255, 255, 255, 0.5);
}

.shopping-cart {
    position: relative;
    text-decoration: none;
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 8px;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 0.75em;
}

/* Search Container Styling */
.search-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.search-container input[type="text"] {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Navigation Menu Styling */
.navigation-menu {
    background: #333;
    text-align: center;
    padding: 10px 0;
}

.navigation-menu a {
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.navigation-menu a:hover {
    background: #555;
    color: #fff;
}

/* Media Query for smaller screens */
@media screen and (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }

    .top-bar > * {
        margin: 5px 0; /* Add some space between stacked items */
    }

    .news-alert {
        order: 1;
        flex-basis: 100%;
    }

    .top-bar-right {
        order: 2;
        flex-basis: 100%;
    }

    .logo {
        order: 0; /* Logo goes first */
    }

    .navigation-menu a {
        display: block; /* Stack the links */
        margin: 5px 0; /* Add some space between links */
    }
}








.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f2f2f2;
}
.total {
    text-align: right;
    font-weight: bold;
}
.actions {
    margin-top: 20px;
    text-align: right;
}
button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
