﻿
:root {
    /*--main-color: #de2a1c;*/
    --primary-color: #0445FD;
    --main-color: #3b4ef8;
    --disabled-color: #6272f9;
    --siteFColor: #ff4f1e;
    --siteBGColor: #003764;
    --siteFColor: #fff200;
    --siteFColor-2: VAR(--siteFColor);
}

@font-face {
    font-family: "IRAN Sans Web";
    font-style: normal;
    src: url("../fonts/IRANSansWeb.ttf") format("truetype");
}

html,
body {
    direction: rtl;
    font-size: 14px;
    font-family: 'IRAN Sans Web';
    background: #F8FAFD;
    overflow-x: hidden;
}

a, button {
    cursor: pointer;
}

h1:focus {
    outline: none;
}

.content {
    /* padding-top: 1.1rem;*/
}

.required-field::after {
    content: "*";
    color: red;
}

.valid.modified:not([type="checkbox"]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.btn-primary {
    background: #3b4ef8 !important;
    color: #fff;
    transition: 0.3s;
    border-radius: 5px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

    .btn-primary:hover {
        background: #0a22f6 !important;
    }
/*Custom Css*/
.modern-sidebar .sidebar-widget-v2 {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 55, 100, 0.05);
    border: 1px solid #e9ecef;
}

.modern-sidebar .sidebar-widget-title-v2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #003764; /* Primary dark blue */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff200; /* Accent yellow */
    display: inline-block;
}

.sidebar-post-list {
    margin-top: 1rem; /* Add some space below the widget title */
}

.sidebar-post-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 0; /* Increased padding for better spacing */
    border-bottom: 1px solid #f0f2f5; /* Lighter, more subtle border */
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    border-radius: 6px; /* Slight rounding for hover effect */
}

    .sidebar-post-item:last-child {
        border-bottom: none;
        padding-bottom: 0; /* Remove bottom padding for the last item if no border */
    }

    .sidebar-post-item:first-child {
        padding-top: 0.25rem; /* Less top padding for first item */
    }


    .sidebar-post-item:hover {
        background-color: #f8f9fa; /* Subtle hover background */
    }

.sidebar-post-item-img {
    flex-shrink: 0; /* Prevent image from shrinking */
    width: 65px; /* Slightly larger image */
    height: 65px;
    margin-left: 12px; /* RTL: margin-left for space between image and text */
}

    .sidebar-post-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px; /* Softer radius */
        transition: transform 0.3s ease;
    }

.sidebar-post-item:hover .sidebar-post-item-img img {
    transform: scale(1.05);
}

.sidebar-post-item-info {
    flex-grow: 1;
    overflow: hidden; /* Prevent text overflow issues */
}

.sidebar-post-item-title {
    font-size: 0.9rem; /* Adjusted font size */
    font-weight: 600; /* Bolder title */
    color: #343a40; /* Darker, more readable text */
    margin-bottom: 0.3rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    /* Ellipsis for long titles */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-post-item:hover .sidebar-post-item-title {
    color: #003764; /* Primary color on hover */
}

.sidebar-post-item-date {
    font-size: 0.75rem;
    color: #6c757d; /* Softer color for date */
    display: flex; /* Align icon and text */
    align-items: center;
}

    .sidebar-post-item-date i {
        margin-left: 0.25rem; /* Space between icon and date text */
        font-size: 0.9em; /* Slightly smaller icon relative to text */
    }


.product-category-list.modern-look {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

    .product-category-list.modern-look li {
        margin-bottom: 0.35rem; /* Consistent spacing */
    }

        /* Styling for parent category links (li.has-subcat > a) and simple links (li > a) */
        .product-category-list.modern-look li > a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1rem; /* Increased padding */
            text-decoration: none;
            border-radius: 8px;
            transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
            font-size: 0.9rem;
            font-weight: 500;
            color: #343a40;
            background-color: #f8f9fa;
            border: 1px solid #e9ecef;
            position: relative; /* For the arrow */
        }

            .product-category-list.modern-look li > a:hover {
                background-color: #eef3f8;
                border-color: #d1d9e6;
                color: #003764;
            }

        .product-category-list.modern-look li.has-subcat > a.active,
        .product-category-list.modern-look li.has-subcat > a:hover {
            background-color: #003764; /* Primary color */
            color: #fff;
            border-color: #003764;
        }

        /* Arrow for expandable categories (li.has-subcat > a::before) */
        .product-category-list.modern-look li.has-subcat > a::before {
            content: "\f107"; /* fa-angle-down */
            font-family: "Font Awesome 7 Free";
            font-weight: 900; /* solid */
            font-size: 0.9em;
            position: absolute;
            left: 1rem; /* position */
            top: 50%;
            transform: translateY(-50%) rotate(0deg); /* points down */
            transition: transform 0.25s ease-in-out;
            color: currentColor;
        }

        .product-category-list.modern-look li.has-subcat > a[aria-expanded="true"]::before {
            transform: translateY(-50%) rotate(180deg); /* points up */ /* Rotate to point down when open */
        }

        .product-category-list.modern-look li.has-subcat > a.active::before,
        .product-category-list.modern-look li.has-subcat > a:hover::before {
            color: #fff; /* Arrow color on active/hover */
        }


        /* Count badge (li.has-subcat > a span) */
        .product-category-list.modern-look li.has-subcat > a span {
            font-size: 0.75rem;
            background-color: #adb5bd; /* Neutral badge background */
            color: #fff;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            line-height: 1;
            font-weight: 400;
            margin-right: 0.5rem; /* Space from text, will be on left of text in RTL */
            order: -1; /* Moves span before text content in flex for RTL visual */
            transition: background-color 0.25s ease, color 0.25s ease;
        }

        .product-category-list.modern-look li.has-subcat > a.active span,
        .product-category-list.modern-look li.has-subcat > a:hover span {
            background-color: #fff200; /* Accent color */
            color: #003764; /* Primary color for text on accent */
        }

    /* Subcategory list (ul.subcategory) */
    .product-category-list.modern-look ul.subcategory {
        list-style: none;
        padding: 0.5rem 1.5rem 0.25rem 0; /* Indentation for RTL (padding-right) */
        margin: 0.25rem 0 0.5rem 0; /* Margin adjustments */
        background-color: #fff;
        /* display: none; is handled by inline style and JS */
        border-right: 3px solid #e9ecef; /* Subtle right border for indentation */
        border-radius: 0 0 6px 6px; /* Rounded bottom corners if it's the last part */
    }

    .product-category-list.modern-look li.has-subcat.open ul.subcategory {
        border-top: 1px solid #f0f2f5; /* Add a separator when open */
    }


    .product-category-list.modern-look ul.subcategory li {
        margin-bottom: 0; /* No extra margin for sub-items */
    }

        .product-category-list.modern-look ul.subcategory li a {
            color: #495057;
            font-size: 0.85rem;
            padding: 0.6rem 0.75rem; /* Padding for sub-items */
            display: block;
            border-radius: 6px;
            border: none; /* No border for sub-items by default */
            background-color: transparent;
            transition: color 0.2s ease, background-color 0.2s ease;
        }

            .product-category-list.modern-look ul.subcategory li a:hover {
                background-color: #eef2f7;
                color: #003764; /* Primary color on hover */
            }

    .product-category-list.modern-look li.mt-2 {
        margin-top: 0.35rem !important; /* Adjust existing mt-2 if needed */
    }

.tag-list.modern-tags {
    margin-top: 0.5rem; /* Adjusted margin */
}

    .tag-list.modern-tags ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex; /* Arrange tags in a flex container */
        flex-wrap: wrap; /* Allow tags to wrap to the next line */
        gap: 0.6rem; /* Spacing between tags */
    }

        .tag-list.modern-tags ul li {
            display: inline-block; /* Already inline-block, ensure no extra margins from old styles */
            margin: 0 !important; /* Override original margins if they exist on li */
        }

            .tag-list.modern-tags ul li a {
                display: inline-block;
                font-size: 0.825rem; /* Slightly adjusted font size */
                font-weight: 500;
                line-height: 1.5;
                padding: 0.4rem 0.9rem; /* Adjusted padding for a more "pill" like shape */
                border: 1px solid #d1d9e6; /* Softer border color */
                border-radius: 20px; /* More rounded for pill shape */
                color: #34495e; /* Darker text color for better readability */
                background-color: #f8f9fa; /* Light background for tags */
                text-decoration: none;
                transition: all 0.25s ease-in-out;
            }

                .tag-list.modern-tags ul li a:hover {
                    background-color: #fff200; /* Accent site color for hover */
                    color: #003764; /* Primary site color for text on hover */
                    border-color: #f0e68c; /* Slightly darker yellow for border on hover */
                    transform: translateY(-2px);
                    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
                }



.header-search {
    width: calc(100% - 50px)
}

    .header-search .form-group, .team-member .team-member-info p {
        position: relative;
        margin: 0
    }

        .header-search .form-group input {
            width: 100%;
            background: #f2f2f2;
            border-radius: 4px;
            height: 50px;
            padding: 10px 15px 10px 70px
        }

        .header-search .form-group button {
            position: absolute;
            top: 0;
            height: 100%;
            border: 0;
            background: 0;
            color: var(--siteFColor);
            padding: 12px 18px
        }

            .content-wrapper .post-content .post-subtitle, .header-search .form-group button i {
                font-size: 20px
            }

.article-content-area {
    background-color: #fff;
    padding: 2rem; /* Main padding for article content */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 55, 100, 0.06);
    border: 1px solid #e9ecef;
}

.modern-article-header-v2 .article-image-wrapper-v2 {
    border-radius: 10px; /* Softer corners for main image */
    overflow: hidden;
    margin-bottom: 2rem; /* More space after image */
    background-color: #e9ecef; /* Placeholder background */
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.modern-article-header-v2 .article-main-image-v2 {
    width: 100%;
    height: 100%;
    display: block;
}

.modern-article-header-v2 .article-title-v2 {
    font-size: 1.6rem; /* Larger, more impactful title */
    font-weight: 700;
    color: #003764; /* Primary site color */
    margin-bottom: 1rem;
    line-height: 1.35;
}

.article-meta-info-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.75rem; /* More spacing between meta items */
    padding-bottom: 1.25rem;
    margin-bottom: 2rem; /* More space before article body */
    border-bottom: 1px solid #dee2e6; /* Clearer separator */
    font-size: 0.9rem; /* Slightly larger meta text */
    color: #525f6c;
}

    .article-meta-info-v2 .meta-item-v2 {
        display: flex;
        align-items: center;
    }

        .article-meta-info-v2 .meta-item-v2 i {
            margin-left: 0.5rem;
            font-size: 1.1rem; /* Consistent icon size */
            color: #869ab0; /* Subtler icon color */
        }

        .article-meta-info-v2 .meta-item-v2 a {
            color: #003764; /* Primary color for links in meta */
            text-decoration: none;
            font-weight: 500;
        }

            .article-meta-info-v2 .meta-item-v2 a:hover {
                color: #0056b3; /* Darker on hover */
                text-decoration: underline;
            }

/* Article Body (using pdp-description-block from previous styles) */
.article-body-v2 {
    font-size: 1rem; /* Base font size for content */
    line-height: 1.9; /* Improved line height for readability */
    color: #343a40; /* Standard dark gray for text */
}
/* Ensure .pdp-description-block h1-h6, p, ul, ol, img, table, blockquote are well-styled */
.pdp-description-block h1, .pdp-description-block h2, .pdp-description-block h3,
.pdp-description-block h4, .pdp-description-block h5, .pdp-description-block h6 {
    color: #003764; /* Primary color for headings */
}

.pdp-description-block a {
    color: #0056b3; /* Link color within content */
    font-weight: 500;
}

    .pdp-description-block a:hover {
        color: #003764;
    }

.pdp-description-block img { /* Style for images within article content */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto; /* Center images and add vertical space */
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
}

.modern-comments-display-area {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    direction: rtl; /* Ensure main direction is RTL */
}

.modern-comments-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #003764;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fff200;
    display: inline-block;
    text-align: right; /* Explicitly align title to right */
}

.modern-comment-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 3px 10px rgba(0, 55, 100, 0.04);
    text-align: right; /* Default text align for comment items */
}

.modern-comment-author-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 1rem; /* Space between avatar and content in RTL (avatar is on the right) */
    margin-right: 0; /* Reset margin-right if previously set for LTR */
    border: 2px solid #e9ecef;
}

    .modern-comment-author-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.modern-comment-content {
    flex-grow: 1;
    text-align: right; /* Ensure content within this div is also right-aligned */
}

.modern-comment-header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align items to the start (right in RTL) */
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.modern-comment-author-name {
    font-weight: 600;
    color: #003764;
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 0.75rem; /* Space after the name (before the date in RTL) */
}

    .modern-comment-author-name:hover {
        text-decoration: underline;
    }

.modern-comment-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.modern-comment-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 0.75rem;
    text-align: right; /* Ensure paragraph text is right aligned */
}

.modern-comment-reply-btn {
    background-color: transparent;
    color: #0056b3;
    border: 1px solid #d1d9e6;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem; /* Adjusted padding */
    border-radius: 20px;
    transition: all 0.2s ease;
    cursor: pointer; /* Ensure cursor indicates clickable */
    display: inline-flex; /* For icon alignment */
    align-items: center;
}

    .modern-comment-reply-btn:hover {
        background-color: #003764;
        color: #fff;
        border-color: #003764;
    }

    .modern-comment-reply-btn i {
        font-size: 1em; /* Icon size relative to button font size */
        margin-left: 0.35rem; /* Space between icon and text (icon is on the right in RTL) */
    }


/* Replies Styling */
.modern-comment-replies {
    margin-top: 1.5rem;
    padding-right: 3rem; /* Increased indentation for replies (RTL) */
    border-right: 3px solid #e0e7ef; /* Slightly more prominent indentation line */
    position: relative;
    margin-right: 1.5rem; /* Add margin to the whole replies block for better visual separation */
}

    /* Optional: Visual cue for the indentation line start */
    .modern-comment-replies::before {
        content: '';
        position: absolute;
        top: 8px; /* Adjust vertical position */
        right: -7px; /* (border-width / 2) + (negative_offset) */
        width: 10px;
        height: 10px;
        background-color: #e0e7ef; /* Match border color */
        border-radius: 50%;
    }


.modern-comment-item.is-reply {
    background-color: #f8f9fc; /* Slightly different background for replies */
    border-color: #e9edf1;
    box-shadow: 0 2px 6px rgba(0, 55, 100, 0.03);
    margin-bottom: 1.25rem;
    padding: 1rem; /* Slightly less padding for replies */
}

    .modern-comment-item.is-reply:last-child {
        margin-bottom: 0;
    }

.no-comments-notice {
    text-align: center;
    padding: 1.5rem;
    background-color: #f9dba3;
    border-radius: 8px;
    color: #6c757d;
    font-size: 0.95rem;
    margin: 1.5rem 0;
}

/* Comments Section Card */
.comments-section-card .comment-form-title-box .comment-form-note {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.comments-section-card .repBox a {
    font-weight: 500;
    color: #003764;
}

.comments-section-card .CancelReply {
    font-size: 0.8rem;
    margin-right: 0.5rem; /* RTL */
}

.modern-comment-form .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 0.4rem;
}

.modern-comment-form .form-control {
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 0.7rem 1rem; /* Consistent padding */
    background-color: #f8f9fa; /* Slightly off-white for inputs */
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .modern-comment-form .form-control:focus {
        border-color: #003764; /* Primary color focus */
        background-color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(0, 55, 100, 0.15);
    }

.modern-comment-form textarea.form-control {
    min-height: 130px; /* Comfortable height for textarea */
    resize: vertical;
}

.modern-comment-form .btn-submit-comment-v2 { /* Renamed to avoid conflict if btn-submit-comment exists */
    background-color: #003764; /* Primary site color */
    color: #fff;
    border: none;
    padding: 0.75rem 2rem; /* Generous padding */
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

    .modern-comment-form .btn-submit-comment-v2:hover {
        background-color: #002a4c; /* Darker shade */
        color: #fff;
        transform: translateY(-2px);
    }

.modern-comment-form .text-danger.small {
    font-size: 0.75rem; /* Smaller validation messages */
}

.creative-post-card {
    position: relative;
    border: 4px solid #fff;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,55,100,.1);
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: .4s cubic-bezier(.175, .885, .32, 1.275)
}

    .creative-post-card:hover {
        transform: scale(1.01);
        box-shadow: 0 15px 45px rgba(0,55,100,.15)
    }

.cpc-image-holder {
    height: 60%;
    position: relative;
    overflow: hidden
}

.cpc-image-blog, efined {
    height: 100%;
    width: 100%
}

.cpc-image-blog {
    object-fit: cover;
    transition: transform .5s ease-out
}

.creative-post-card:hover .cpc-image-blog {
    transform: scale(1.1) rotate(2deg)
}

.cpc-image-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.cpc-category {
    position: absolute;
    top: 18px;
    left: 18px;
    background-color: var(--siteFColor,#fff200);
    color: var(--siteBGColor,#003764);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 2;
    transition: .3s;
    box-shadow: 0 2px 8px rgba(0,0,0,.1)
}

    .cpc-category:hover {
        background-color: var(--siteBGColor,#003764);
        color: var(--siteFColor,#fff200);
        transform: scale(1.05)
    }

.cpc-content-pane {
    height: auto; /* Try auto if 40% is cutting off content */
    min-height: 200px; /* Or set a fixed min-height */
    padding: 25px 20px 20px;
    display: flex;
    flex-direction: column;
    text-align: right;
    position: relative;
    background-color: #fff;
}

    .cpc-content-pane::before {
        content: '';
        position: absolute;
        top: -20px;
        right: 0;
        width: 100%;
        height: 40px;
        background-color: #fff;
        transform: skewY(-3deg);
        transform-origin: top right;
        z-index: 0
    }

.cpc-content-scroll {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: block;
}

.cpc-meta, .cpc-meta span {
    display: flex;
    align-items: center
}

.cpc-meta {
    font-size: .8rem;
    color: #8899a8;
    margin-bottom: 10px
}

    .cpc-meta span {
        margin-left: 15px
    }

.shs-item, .shs-nav-button {
    align-items: center;
    display: flex
}

.cpc-meta span:last-child {
    margin-left: 0
}

.cpc-meta i {
    margin-left: 6px;
    font-size: 1rem
}

.cpc-meta a {
    transition: color .2s
}

.cpc-read-more i, .footer-trust-symbols img {
    transition: transform .3s
}

.cpc-title {
    color: #2c3e50;
    margin: 0 0 10px 0; /* Adjust spacing */
    line-height: 1.3;
}

.cpc-excerpt {
    font-size: .85rem;
    color: #5a6f83;
    line-height: 1.7;
    margin-bottom: 15px;
    /* Ellipsis Logic */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Excerpt will truncate at 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Important: Ensure it has no forced height that conflicts with the lines */
    max-height: none;
}

.cpc-read-more {
    background-color: transparent;
    color: var(--siteBGColor,#003764) !important;
    padding: 8px 0;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    transition: .3s;
    align-self: flex-start;
    border: none;
    margin-top: auto;
    position: relative;
    z-index: 1
}

    .cpc-read-more:hover {
        color: var(--siteFColor,#fff200) !important;
        padding-right: 5px
    }

    .cpc-read-more i {
        margin-right: 4px;
        vertical-align: middle
    }

    .cpc-read-more:hover i {
        transform: translateX(-4px)
    }

.creative-blog-swiper.swiper-container {
    padding-top: 10px;
    padding-bottom: 50px
}

.cbs-pagination.swiper-pagination .swiper-pagination-bullet {
    background: var(--siteBGColor,#003764);
    opacity: .4;
    width: 10px;
    height: 10px;
    transition: .3s
}

.cbs-pagination.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--siteFColor,#fff200);
    opacity: 1;
    width: 28px;
    border-radius: 5px
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

ul.pagination { /* Targeting the class applied by the tag helper */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 0.3rem;
}

    ul.pagination li {
        margin: 0 !important; /* Override default margins if any */
    }

        ul.pagination li .page-link, /* For Bootstrap 5 structure */
        ul.pagination li > a, /* For general a tags if BS structure is not perfect */
        ul.pagination li > span { /* For disabled/active items that might be spans */
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            height: 42px;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.25s ease-in-out;
            line-height: 1.5;
            background-color: #fff;
            color: #003764;
            border: 1px solid #dee2e6;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

            ul.pagination li .page-link:hover,
            ul.pagination li > a:hover {
                background-color: #f0f2f5; /* Lighter hover */
                border-color: #adb5bd;
                color: #002a4c;
                transform: translateY(-2px);
                box-shadow: 0 3px 8px rgba(0,0,0,0.08);
            }

        ul.pagination li.active .page-link,
        ul.pagination li.active > a,
        ul.pagination li.active > span {
            background-color: #003764;
            border-color: #003764;
            color: #fff;
            box-shadow: 0 4px 10px rgba(0, 55, 100, 0.2);
            transform: translateY(-1px);
        }

        ul.pagination li.disabled .page-link,
        ul.pagination li.disabled > span {
            color: #6c757d;
            pointer-events: none;
            background-color: #e9ecef;
            border-color: #dee2e6;
            box-shadow: none;
        }
/*eshop custom css*/
/* --- Product Card V2 --- */
.product-card-v2 {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 55, 100, 0.06);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .product-card-v2:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(0, 55, 100, 0.1);
    }

.pcv2-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.pcv2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-v2:hover .pcv2-img {
    transform: scale(1.1);
}

.pcv2-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    color: var(--siteBGColor, #003764);
    background-color: var(--siteFColor, #fff200);
}

    .pcv2-badge.alt {
        background-color: #28a745;
        color: #fff;
    }

.pcv2-actions-overlay {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.product-card-v2:hover .pcv2-actions-overlay {
    opacity: 1;
    transform: translateX(0);
}

.pcv2-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #4a5a6a;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

    .pcv2-action-btn:hover {
        background-color: var(--siteBGColor, #003764);
        color: #fff;
    }

    .pcv2-action-btn.active {
        background-color: #e44d26;
        color: #fff;
    }

.pcv2-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: right;
}

.pcv2-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--siteBGColor, #003764);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    min-height: 50px; /* for 2 lines */
}

    .pcv2-title a {
        color: inherit;
        text-decoration: none;
    }

        .pcv2-title a:hover {
            color: #0056b3;
        }

.pcv2-price-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.pcv2-price {
    font-size: 0.9rem;
    color: #6c757d;
}

    .pcv2-price del {
        margin-left: 0.5rem;
    }

    .pcv2-price strong {
        font-size: 1.1rem;
        font-weight: 700;
        color: #28a745;
    }

.pcv2-rating {
    font-size: 0.9rem;
    color: #ffc107;
}

.pcv2-cart-btn {
    width: 100%;
    background-color: var(--siteBGColor, #003764);
    color: #ffffff;
    border: 2px solid var(--siteBGColor, #003764);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-top: auto;
    padding: 0.6rem;
}

    .pcv2-cart-btn:hover {
        background-color: #fff;
        color: var(--siteBGColor, #003764);
    }

    .pcv2-cart-btn.in-cart {
        background-color: #fff;
        border-color: #dc3545;
        color: #dc3545;
    }

        .pcv2-cart-btn.in-cart:hover {
            background-color: #dc3545;
            color: #fff;
        }

    .pcv2-cart-btn.disabled {
        background-color: #e9ecef;
        border-color: #e9ecef;
        color: #6c757d;
        cursor: not-allowed;
    }

    .pcv2-cart-btn i {
        margin-left: 0.5rem;
    }






.product-detail-page-v2 {
    background-color: #f8f9fa;
    direction: rtl;
}

.pdp-image-container.sticky-lg-top {
    top: 140px;
    z-index: 990;
}

.pdp-main-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #eef2f7;
    box-shadow: 0 10px 30px rgba(0, 55, 100, .1);
}

.pdp-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s;
}

.pdp-main-image-wrapper:hover .pdp-main-img {
    transform: scale(1.05);
}

.pdp-discount-sticker {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #e44d26;
    color: #fff;
    padding: .4rem .9rem;
    border-radius: 25px;
    font-size: .8rem;
    font-weight: 700;
    z-index: 1;
}

.pdp-details-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 55, 100, .07);
}

.pdp-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--siteBGColor, #003764);
    margin-bottom: .75rem;
}

.pdp-meta-section {
    color: #555e68;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

    .pdp-meta-section .pdp-category a {
        color: var(--siteBGColor, #003764);
        text-decoration: none;
        font-weight: 500;
    }

        .pdp-meta-section .pdp-category a:hover {
            color: var(--siteFColor, #fff200);
        }

    .pdp-meta-section i {
        margin-left: 4px;
    }

.pdp-price-box {
    background-color: #f8f9fc;
    border-radius: .5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.pdp-original-price {
    font-size: .95rem;
    color: #a0aec0;
    text-decoration: line-through;
    margin-left: 10px;
}

.pdp-final-price {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--siteBGColor, #003764);
}

.pdp-options-box {
    background-color: #fdfdfe;
    border: 1px solid #eef2f7;
    padding: 1rem;
    border-radius: .5rem;
    margin-bottom: 1.5rem;
}

.pdp-option-label {
    font-size: .85rem;
    color: #333;
    font-weight: 500;
}

.pdp-quantity-selector {
    display: flex;
    border: 1px solid #d1d9e6;
    border-radius: 6px;
    overflow: hidden;
    max-width: 120px;
}

    .pdp-quantity-selector .btn-qty-v2 {
        background-color: #f0f4f8;
        border: none;
        color: #4a5a6a;
        padding: .45rem .8rem;
        font-size: .9rem;
        cursor: pointer;
    }

    .pdp-quantity-selector .form-qty-input-v2 {
        border: none;
        text-align: center;
        width: 100%;
        font-size: .95rem;
        font-weight: 500;
        padding: .45rem .25rem;
    }

.pdp-availability-status.available {
    color: #10b981;
}

.pdp-availability-status.unavailable {
    color: #ef4444;
}

.pdp-action-buttons .pdp-btn {
    font-size: .95rem;
    padding: .75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: .25s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pdp-action-buttons .pdp-btn i {
        font-size: 1.2rem;
        margin-left: 8px;
    }

.pdp-btn-primary {
    background-color: var(--siteFColor, #fff200);
    color: var(--siteBGColor, #003764) !important;
    border: 2px solid var(--siteFColor, #fff200);
}

    .pdp-btn-primary:hover {
        background-color: var(--siteBGColor, #003764);
        border-color: var(--siteBGColor, #003764);
        color: #fff !important;
        transform: scale(1.02);
    }

.pdp-btn-disabled {
    background-color: #e9ecef;
    color: #6c757d !important;
    border-color: #ced4da;
    cursor: not-allowed;
}

.pdp-tabs-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    border: 1px solid #e7eaf3;
}

.pdp-nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 8px;
    margin: 0 .25rem;
    padding: .65rem 1.25rem;
    font-weight: 500;
    font-size: .9rem;
    color: #4b5563;
}

    .pdp-nav-tabs .nav-link:hover {
        background-color: #eef2f7;
        color: var(--siteBGColor, #003764);
    }

    .pdp-nav-tabs .nav-link.active {
        background: var(--siteFColor, #fff200);
        color: var(--siteBGColor, #003764);
    }

.pdp-tab-content {
    padding: 1.5rem;
}

.pdp-btn-secondary {
    background-color: #f0f4f8;
    color: #374151 !important;
    border: 2px solid #e2e8f0
}

    .pdp-btn-secondary:hover {
        background-color: #e2e8f0;
        border-color: #cbd5e1;
        transform: scale(1.02)
    }

.pdp-btn-disabled {
    background-color: #e9ecef;
    color: #6c757d !important;
    border-color: #ced4da
}

.pdp-tabs-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
    border: 1px solid #e7eaf3
}

.pdp-nav-tabs {
    border-bottom: 1px solid #e0e7ff;
    padding: .5rem;
    background-color: #f9fafc;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px
}

    .pdp-nav-tabs .nav-link {
        border: 1px solid transparent;
        border-radius: 8px;
        margin: 0 .25rem;
        padding: .65rem 1.25rem;
        font-weight: 500;
        font-size: .9rem;
        color: #4b5563
    }

        .pdp-nav-tabs .nav-link:hover {
            background-color: #eef2f7;
            color: var(--siteBGColor,#003764)
        }

.pdp-tab-content {
    padding: 1.5rem
}

.pdp-description-block {
    font-size: .95rem;
    line-height: 2;
    color: #374151
}

    .pdp-description-block h1, .pdp-description-block h2, .pdp-description-block h3, .pdp-description-block h4, .pdp-description-block h5, .pdp-description-block h6 {
        margin-top: 1.6rem;
        margin-bottom: .7rem;
        font-weight: 600;
        color: var(--siteBGColor,#003764)
    }

    .pdp-description-block img {
        max-width: 100%;
        height: auto;
        border-radius: .5rem;
        margin: 1rem auto;
        display: block
    }

.pdp-section-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--siteBGColor,#003764)
}

.pdp-comment-item {
    background-color: #f9fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #eef2f7
}

.pdp-comment-avatar {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%
}

.pdp-comment-author {
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    font-size: .95rem
}

.pdp-comment-rating-stars .lar, .pdp-comment-rating-stars .las {
    color: #ffc107;
    font-size: .85rem
}

.pdp-comment-date {
    font-size: .75rem
}

.pdp-comment-text {
    font-size: .9rem;
    color: #495057;
    line-height: 1.7
}

.btn-submit-v2 {
    background-color: var(--siteBGColor, #003764);
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 55, 100, 0.15);
}

    .btn-submit-v2:hover {
        background-color: #002a4c;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 55, 100, 0.2);
    }

.summary-sidebar > div {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 55, 100, 0.06);
    border: 1px solid #e9ecef;
}

.bill-item-wrap, .search-box input, .subtotal-wrap {
    padding: 10px 20px
}

.bill-item-wrap {
    border-bottom: 1px solid #dee2e6
}

.subtotal-wrap .subtotal-item {
    align-items: center;
    flex-wrap: wrap;
    padding: 6.5px 0
}

    .subtotal-wrap .subtotal-item .subtotal-item-right {
        color: #201d1e;
        font-weight: 600
    }

    .subtotal-wrap .subtotal-item .subtotal-item-left h6 {
        margin: 0;
        font-weight: 600
    }

.cart-items-wrapper {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0, 55, 100, 0.06);
    border: 1px solid #e9ecef;
}

/*.cart-items-wrapper.compact-view .cart-item-card {
        grid-template-columns: 60px 1fr auto auto auto;*/ /* Adjusted for actions */
/*gap: 1rem;
    }

    .cart-items-wrapper.compact-view .item-image {
        width: 60px;
        height: 60px;
    }

    .cart-items-wrapper.compact-view .quantity-badge {
        background-color: #e9ecef;
        color: #495057;
        font-size: 0.85rem;
        padding: 0.25rem 0.6rem;
        border-radius: 6px;
    }

    .cart-items-wrapper.compact-view .item-actions {
        text-align: left;
    }*/

@media (max-width: 768px) {
    .cart-items-wrapper.compact-view .cart-item-card {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "image title"
            "image price"
            "qty total"
            "actions actions";
        gap: 0.75rem;
    }

    .item-image {
        grid-area: image;
    }

    .item-details {
        grid-area: title;
    }

    .item-price {
        grid-area: price;
    }

    .item-quantity {
        grid-area: qty;
    }

    .item-total-price {
        grid-area: total;
        text-align: left;
    }

    .item-actions {
        grid-area: actions;
    }
}

.subtotal-item-right span, h1, h2, h3, h4 {
    font-weight: 700
}

.total-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 20px;
    border-top: 1px solid #dee2e6
}

    .total-wrap h5 {
        font-size: 16px;
        line-height: 26px;
        font-weight: 700;
        margin: 0
    }

.content-box-title {
    background: var(--siteBGColor);
    padding: 20px;
    margin: 0 0 20px;
    border-radius: 8px
}

    .content-box-title h5 {
        color: #fff;
        margin: 0;
        line-height: 1
    }

    .comment-form-wrap .comment-form-title.style2, .content-box-title.style2 {
        background: 0;
        padding: 0
    }

        .content-box-title.style2 h5 {
            color: #012245;
            font-size: 24px
        }

.bill-details {
    border: 1px solid #dee2e6;
    border-radius: 8px
}

    .bill-details > h5 {
        color: #fff;
        background: #000;
        padding: 20px;
        margin: 0
    }

.subtotal-wrap .subtotal-item {
    align-items: center;
    flex-wrap: wrap;
    padding: 6.5px 0
}

    .subtotal-wrap .subtotal-item .subtotal-item-right {
        color: #201d1e;
        font-weight: 600
    }

    .subtotal-wrap .subtotal-item .subtotal-item-left h6 {
        margin: 0;
        font-weight: 600
    }

.subtotal-item-right span, h1, h2, h3, h4 {
    font-weight: 700
}

.bill-item, .subtotal-wrap .subtotal-item {
    justify-content: space-between;
    display: flex
}

.cart-item-card {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto; /* Image | Details | Qty | Total | Remove */
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f2f5;
}

    .cart-item-card:last-child {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .cart-item-card:first-child {
        padding-top: 0.5rem;
    }

    .cart-item-card .item-image {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
    }

        .cart-item-card .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .cart-item-card .item-details .item-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--siteBGColor, #003764);
        text-decoration: none;
        display: block;
        margin-bottom: 0.25rem;
        transition: color 0.2s;
    }

        .cart-item-card .item-details .item-title:hover {
            color: #0056b3;
        }

    .cart-item-card .item-price .original-price {
        font-size: 0.8rem;
        color: #6c757d;
        text-decoration: line-through;
        margin-left: 0.5rem;
    }

    .cart-item-card .item-price .final-price {
        font-size: 0.9rem;
        font-weight: 500;
        color: #343a40;
    }

.quantity-badge {
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.dashboard-nav {
    background-color: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 55, 100, 0.05);
    border: 1px solid #e9ecef;
}

.dashboard-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #34495e;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    margin-bottom: 0.25rem;
}

    .dashboard-nav .nav-link i {
        font-size: 1.3rem;
        margin-left: 0.75rem; /* RTL */
        color: #869ab0;
        transition: color 0.25s ease;
    }

    .dashboard-nav .nav-link:hover,
    .dashboard-nav .nav-link.active {
        background-color: #eef3f8;
        color: var(--siteBGColor, #003764);
    }

        .dashboard-nav .nav-link:hover i,
        .dashboard-nav .nav-link.active i {
            color: var(--siteBGColor, #003764);
        }

    .dashboard-nav .nav-link.teacher-panel {
        background-color: var(--siteFColor, #fff200);
        color: var(--siteBGColor, #003764);
    }

        .dashboard-nav .nav-link.teacher-panel i {
            color: var(--siteBGColor, #003764);
        }

        .dashboard-nav .nav-link.teacher-panel:hover {
            background-color: #e6d800;
        }

/*Modern Table*/
.modern-table-wrapper {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden; /* Important for border-radius on table */
}

.modern-table {
    width: 100%;
    margin-bottom: 0;
    color: #34495e;
    border-collapse: collapse; /* Cleaner look */
}

    .modern-table thead {
        background-color: #f8f9fa;
    }

    .modern-table th {
        padding: 1rem 1.25rem;
        font-size: 0.85rem;
        font-weight: 600;
        text-align: right;
        color: #495057;
        border-bottom: 2px solid #dee2e6;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .modern-table tbody tr {
        transition: background-color 0.2s ease;
        border-bottom: 1px solid #e9ecef;
    }

        .modern-table tbody tr:last-child {
            border-bottom: none !important;
        }

        .modern-table tbody tr:hover {
            background-color: #f8f9fa;
        }

    .modern-table td {
        padding: 1.25rem;
        vertical-align: middle;
        font-size: 0.9rem;
    }

    .modern-table .order-id-link {
        font-weight: 600;
        color: var(--siteBGColor, #003764);
        text-decoration: none;
        transition: color 0.2s;
    }

        .modern-table .order-id-link:hover {
            color: #0056b3;
        }

    .modern-table .status-badge {
        padding: 0.3rem 0.75rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        white-space: nowrap;
        background-color: #dbeafe;
        color: #1e40af;
    }

        .modern-table .status-badge.paid {
            background-color: #d1fae5;
            color: #065f46;
        }

        .modern-table .status-badge.unpaid {
            background-color: #fee2e2;
            color: #991b1b;
        }

        .modern-table .status-badge.status-processing {
            background-color: #dbeafe;
            color: #1e40af;
        }

    .modern-table .price-cell .total-price {
        font-weight: 600;
        display: block;
    }

    .modern-table .price-cell .item-count {
        font-size: 0.8rem;
        color: #6c757d;
    }

    .modern-table .actions-cell {
        text-align: left;
    }

    .modern-table .btn-view-details {
        background-color: #eef2f7;
        color: #34495e;
        border: 1px solid #d1d9e6;
        font-size: 0.8rem;
        font-weight: 500;
        padding: 0.4rem 1rem;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s;
    }

        .modern-table .btn-view-details:hover {
            background-color: var(--siteBGColor, #003764);
            color: #fff;
            border-color: var(--siteBGColor, #003764);
        }

.dashboard-content .tab-pane {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 55, 100, 0.05);
    border: 1px solid #e9ecef;
}

.dashboard-card {
    padding: 0rem 2rem 0rem 2rem;
}

.dashboard-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--siteBGColor, #003764);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f2f5;
}


.dashboard-card .order-id-highlight {
    color: var(--siteFColor, #fff200);
    background-color: var(--siteBGColor, #003764);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 700;
}

.dashboard-card-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--siteBGColor, #003764);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.info-card-v3 {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.25rem;
    height: 100%;
    border: 1px solid #e9ecef;
}

.info-card-v3-header {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

    .info-card-v3-header i {
        font-size: 1.5rem;
        color: var(--siteBGColor, #003764);
        margin-left: 0.75rem; /* RTL */
    }

.info-list-v3 {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .info-list-v3 li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

        .info-list-v3 li span {
            color: #6c757d;
        }

        .info-list-v3 li strong {
            color: #212529;
            font-weight: 600;
        }

        .info-list-v3 li.payment-action {
            padding-top: 1rem;
            margin-top: 0.5rem;
            border-top: 1px solid #dee2e6;
        }

.btn-download, .btn-complete-info {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    padding: 0.4rem 1rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s;
}

.btn-download {
    background-color: var(--siteFColor, #fff200);
    color: var(--siteBGColor, #003764) !important;
    border: none;
}

    .btn-download:hover {
        background-color: #e6d800;
    }

.btn-complete-info {
    background-color: #dc3545;
    color: #fff !important;
    border: none;
}

    .btn-complete-info:hover {
        background-color: #c82333;
    }
/* --- Filter Bar --- */
.modern-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 55, 100, 0.05);
}

    .modern-filter-bar .profuct-result {
        font-size: 0.9rem;
        color: #495057;
    }

        .modern-filter-bar .profuct-result i {
            margin-left: 0.5rem;
            color: var(--siteBGColor, #003764);
        }

    .modern-filter-bar .filter-options {
        display: flex;
        gap: 0.75rem;
    }

    .modern-filter-bar .dropdown-toggle {
        font-size: 0.9rem;
    }

        .modern-filter-bar .dropdown-toggle i {
            margin-left: 0.5rem;
        }
/* No Results Message */
.modern-no-results {
    background-color: #fff;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    color: #6c757d;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px dashed #e0e0e0;
}

    .modern-no-results i {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .modern-no-results h4 {
        font-size: 1.5rem;
        color: #003764;
        margin-bottom: 0.5rem;
    }

    .modern-no-results p {
        font-size: 0.95rem;
        max-width: 450px;
        margin: 0 auto;
    }

.pvc-img-box {
    background-color: #f5f5f5;
}

.pcv3-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card-v2:hover .pcv3-img {
    transform: scale(1.1);
}

.modern-login-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgb(0 55 100 / 27%);
    overflow: hidden;
    border: 1px solid #e0e7ff;
}

.wrapper {
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid #e0e7ff;
    padding: 10px;
    margin-top: 8px;
}
