/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    
}

/* Main Wrapper */
.main_wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Menubar */
.menubar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #13293d;
    padding: 10px 20px;
    color: white;
}

#menu {
    display: flex;
    list-style: none;
}

#menu li {
    margin-right: 20px;
}

#menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

#menu li a:hover {
    text-decoration: underline;
    color: yellow;
}

/* Search Form */
#form form {
    display: flex;
}

#form input[type="text"] {
    padding: 5px;
    border-radius: 3px;
    border: none;
    margin-right: 5px;
}

#form input[type="submit"] {
    padding: 5px 10px;
    border: none;
    background-color: white;
    color: #a00000;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
}

#form input[type="submit"]:hover {
    background-color: yellow;
}

/* Header */
.header {
    background-color: #60c6fc;
    color: black;
    text-align: center;
    padding: 20px 0;
    font-size: 24px;
    font-weight: bold;
}

/* Content and Sidebar */
.content_wrapper {
    display: flex;
    flex: 1;
}

.content_area {
    background-color: #0b75c9;
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.sidebar {
    background-color: #41f3c1;
    flex: 1;
    text-align: center;
    padding: 20px;
    font-weight: bold;
}

/* Product Form Centered */
.product_form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 500px;
    min-height: 500px;
}

.product_form input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

/* Footer */
.footer {
    background-color: #13293d;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
}

.admin-warning {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    text-align: center;
    color: red;
    font-size: 30px;
}


/* product detail styles start =========================================*/


.product_details_card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.product_image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}


.product_details_card h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #13293d;
}

.product_details_card p {
    margin-bottom: 10px;
    font-size: 1em;
}

.product_details_card .price {
    font-size: 1.2em;
    color: #0ba74d;
    font-weight: bold;
    margin-bottom: 20px;
}

.product_buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Back button (already styled) */
.back-btn {
    background-color: #a00000;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #750000;
}

/* Buy button */
.buy-btn {
    background-color: #0ba74d;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.buy-btn:hover {
    background-color: #08803a;
}

.login-logout {
    text-decoration: none;
    color: #fff;
    border: 1px #fff solid;
    margin-top: 5px;
    display: inline-block;
    padding: 6px;
    border-radius: 5px;
    background-color: #08803a;
}

.login-logout:hover {
    background-color: #25a75b;
}

.shopping-cart {
    position: relative;;
    padding: 5px;
}

.shopping-cart a {
    font-size: 30px;
}

.user_name {
    color: #fff;
}

.notification-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #34b3ee;
}


.notification-red {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #d64a43;
}

.notification-yellow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #e8e87c;
}


/* Product Details Card end  *==============================/




/* Responsive */
@media (max-width: 768px) {
    .content_wrapper {
        flex-direction: column;
    }

    .sidebar {
        flex: none;
        width: 100%;
        height: auto;
    }

    .content_area {
        flex: none;
        width: 100%;
    }
}
