/* General page setup */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ff7f32;
    padding: 15px;
    color: white;
    text-align: center;
    font-size: 24px;
}

.container {
    padding: 20px;
}

/* Search and filters section */
.search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-container input[type="date"],
.search-container input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 200px;
}

.search-container button {
    background-color: #ff7f32;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.search-container button:hover {
    background-color: #e76a28;
}

/* Orders list */
.orders-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-item .order-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.order-item .order-info p {
    margin: 0;
}

.order-item .order-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-item .order-actions button {
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.order-item .order-actions button.fulfill {
    background-color: #28a745;
    color: white;
}

.order-item .order-actions button.refund {
    background-color: #dc3545;
    color: white;
}

.order-item .order-actions button.archive {
    background-color: #ffc107;
    color: white;
}

/* Details page layout */
.order-details {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-details .order-items {
    width: 60%;
}

.order-details .order-info {
    width: 35%;
}

.order-details .order-info p {
    margin: 5px 0;
}

.order-details .order-items .order-item {
    margin-bottom: 10px;
}

.order-details .order-items button {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.order-details .order-items button:hover {
    background-color: #0056b3;
}

/* Form styles */
.form-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="address"],
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-container button {
    background-color: #ff7f32;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #e76a28;
}
/* Button Styling */
.main-button {
    background-color: #000;
    color: white;
    border-radius: 20px;
    padding: 15px 30px;
    margin: 10px;
    font-size: 18px;
    width: 80%;
    cursor: pointer;
    border: none;
}

.main-button:hover {
    background-color: #ff7f32;
}

.badge {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 14px;
    position: none;
    top: -5px;
    right: -10px;
}

/* Content Area */
#content {
    margin-top: 20px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

/* Styling for Create Customer Page */
.container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form label {
    font-size: 14px;
    font-weight: bold;
}

form input {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

form button {
    padding: 12px;
    font-size: 16px;
    background-color: #ff7f32;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

form button:hover {
    background-color: #e76a28;
}

p {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

a {
    text-align: center;
    display: block;
    margin-top: 20px;
    color: #ff7f32;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/* Styling for the Flavoureak Logo and text */
.flavoureak-logo {
    position: fixed;
    bottom: 10px; /* Position at the bottom */
    right: 10px; /* Position to the right */
    background-color: #22577a; /* Background color */
    padding: 10px;
    border-radius: 5px; /* Small rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.flavoureak-logo img {
    width: 30px; /* Logo width */
    height: auto;
    margin-right: 5px; /* Space between logo and text */
}

.flavoureak-text {
    font-weight: bold;
    color: white;
    font-size: 12px; /* Adjust the font size */
}


/* Mobile responsiveness */
@media (max-width: 768px) {
    .order-details {
        flex-direction: column;
    }

    .order-details .order-items {
        width: 100%;
        margin-bottom: 20px;
    }

    .order-details .order-info {
        width: 100%;
    }

    .search-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-container input[type="date"],
    .search-container input[type="text"] {
        margin-bottom: 10px;
        width: 100%;
    }

    .orders-list {
        padding: 0;
    }
    /* Custom styles for the black top bar */
    .navbar-custom {
        background-color: #000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        padding: 10px;
    }

    .navbar-custom a {
        color: white !important;
    }

    .navbar-custom i {
        font-size: 20px;
    }

    body {
        padding-top: 60px; /* Prevent content from being hidden under the fixed navbar */
    }

    /* Styling for the main buttons */
    .buttons-container {
        margin-top: 20px;
        text-align: center;
    }

    .main-button {
        margin: 10px;
        padding: 10px 20px;
        font-size: 16px;
        background-color: #da5500;
        color: white;
        border: none;
        border-radius: 5px;
        text-decoration: none;
    }

    .main-button:hover {
        background-color: #da5500;
    }

    /* Styling for error messages */
    .error-message {
        color: red;
        font-weight: bold;
    }

    /* Orders content styling */
    .order-item {
        margin-bottom: 10px;
        padding: 10px;
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    /* Loading spinner */
    .loading {
        display: none;
    }

    .loading.show {
        display: inline-block;
    }

    /* Bottom-left timestamp */
    #timestamp {
        position: fixed;
        left: 10px;
        bottom: 10px;
        font-size: 14px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 5px;
        border-radius: 5px;
    }
}
