/* styles.css */

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    margin-top: 0px;

}

.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.card-header {
    background-color: #0d5c7d;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-body {
    padding: 20px;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
}

.mt-3 {
    margin-top: 1rem;
}


.othertabs{


    margin-top: 20px;
}


.product-category h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.product-category h3 i {
    margin-right: 10px;
    color: #0c2e53;
}
.product-category {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease;
}
.product-category {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}




    .search {
        width: 100%;
        position: relative;
        display: flex;
    }

    .searchTerm {
        width: 100%;
        border: 3px solid #00B4CC;
        border-right: none;
        padding: 5px;
        height: 36px; /* Updated from 20px to match button height */
        border-radius: 5px 0 0 5px;
        outline: none;
        color: #9DBFAF;
    }

    .searchTerm:focus {
        color: #00B4CC;
    }

    .searchButton {
        width: 40px;
        height: 36px;
        border: 1px solid #00B4CC;
        background: #00B4CC;
        text-align: center;
        color: #fff;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Resize the wrap to see the search bar change! */
    .wrap {
        width: 30%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }



    .img-fluid {
        max-width: 100%;
        height: auto;
    }



   /* admin.css */

/* Dashboard Links Styling */
.container {
    margin-top: 20px;
}

.welcome-message {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.dashboard-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.dashboard-item {
    text-align: center;
    margin: 10px;
    flex: 1 1 20%;
    max-width: 200px;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dashboard-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.dashboard-item p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

.dashboard-item a {
    text-decoration: none;
    color: inherit;
}

.dashboard-item-content {
    padding: 10px;
}


.error-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f9fa;
}

.error-message {
    text-align: center;
}

.error-message h1 {
    font-size: 10rem;
    color: #dc3545;
}

.error-message h2 {
    font-size: 2rem;
    color: #343a40;
}

.error-message p {
    font-size: 1.25rem;
    color: #6c757d;
}

.error-message .btn {
    margin-top: 20px;
}


/* Add this CSS to your main CSS file or within a <style> tag in your dashboard blade file */
.dashboard-links {
    display: flex;
    flex-wrap: wrap;
}

.dashboard-item {
    margin-bottom: 20px;
}

.dashboard-item-content {
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.dashboard-item-content:hover {
    background-color: #f1f1f1;
}

.dashboard-item img {
    max-width: 100px;
    margin-bottom: 10px;
}


.text-center {
    text-align: center;
    margin-top: 20px;
}

.modern-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.modern-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.divider {
    font-weight: bold;
    margin: 0 10px;
    color: #555;
}

/* Sidebar Default */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #343a40;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.sidebar .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .sidebar-menu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

/* Hide Sidebar on Small Screens */
@media (max-width: 768px) {
    .sidebar {
        width: 0;
        overflow: hidden;
    }

    .sidebar.open {
        width: 250px;
    }
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #343a40;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }
}

.dashboard-links {
    margin-top: 20px;
}

.dashboard-item {
    margin-bottom: 20px;
}

.dashboard-item-content {
    background: #f8f9fa;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.dashboard-item-content:hover {
    transform: scale(1.05);
}
