* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 12px;
}

a {
    text-decoration: none;
}



.main_wrapper {
    min-height: 100vh;
    display: block;
}



/* Spinner Animation */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top-color: #15367D;
    /* your theme color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hide loader when done */
#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* ---------- Top Header ---------- */
/* ===== Top Header ===== */
.top-header {
    /* background: linear-gradient(90deg, #286400, #095f51); */
    background: #6E1F0E !important;
    color: #fff;
    font-size: 15px;
    padding: 0;
    margin: 0;
    position: relative;

}

.top-header a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.top-header a:hover {
    text-decoration: underline;
}

.top-header i {
    margin-right: 6px;
    color: #fff;
}

.social-icons {
    position: absolute;
    right: 0;
    top: 10px;
}

.social-icons a {
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #e0f7fa;
    transform: scale(1.1);
}

/* Separator only on medium screens and up */
.separator {
    margin: 0 10px;
}

/* Responsive behavior */
@media (max-width:768px) {
    .contact-info {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        margin-top: 5px;
    }

    .social-icons {
        display: none;
    }
}


@media (max-width: 480px) {
    .top-header {
        font-size: 13px;
        padding: -3px;
    }

    .social-icons a {
        font-size: 16px;
        margin-right: 4px;
    }
}

.product-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute !important;
    z-index: 9999 !important;
}

.dropdown-menu h6 {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}

.product-dropdown:hover .dropdown-menu {
    display: block !important;
}

/* navabar_php */
/* Sticky Navbar */
.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
}

/* Active Category */
.active-category {
    background-color: #02688e;
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
}

/* Nav active */
.nav-link.active {
    color: #02688e !important;
    font-weight: 600;
}



/* ---------- Navbar ---------- */
.navbar_wrapper {
    width: 100%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.150);
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    /* or your site color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}

/* shadow when scrolled */
.navbar_wrapper.scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Fallback: fixed header (if you prefer always-fixed) */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 70px;
    width: 100%;
}

@media (max-width:765px) {
    .navbar-brand img {
        height: 40px;
        margin-left: 0;
    }
}

.navbar-toggler {
    background: transparent;
    color: #000000;
    border: 1px solid #000;
    padding: 2px 8px;
    border-radius: 5px;
    width: 50px;
}

.navbar-nav .nav-link {
    color: #000000;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
    font-size: 17px;
    margin: 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #312c1f !important;
    font-size: 18px;
    font-weight: 500;
    /* green accent */
}


.offcanvas-header {
    border-bottom: 1px solid #000;
}

.offcanvas-header img {
    max-height: 70px;
}

.offcanvas-title {
    display: flex;
}

.Consult_btn {
    background-color: #020020;
    padding: 10px 35px;
    margin-right: 20px;
    transition: 0.3s ease-in-out;
    border-radius: 10px;
    color: #ffffff;
}

.Consult_btn a {
    color: #ffffff;
}

.Consult_btn:hover {
    background: #15367D;
}

@media (max-width:765px) {
    .Consult_btn {
        background-color: #15367D;
        padding: 10px;
        width: 50%;
        margin-right: 20px;
        margin-top: 10px;
        transition: 0.3s ease-in-out;
    }
}


@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
    }

    .dropdown-item {
        padding-left: 25px;
    }
}

.Take_delarship a {
    background: #0d6efd;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.logout-btn {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
}

.logout-btn:hover {
    background-color: #dc3545;
}

/* Mega Menu */
/* Mega menu wrapper */
.mega-dropdown {
    position: static;
}

/* Mega menu container */
.mega-menu {
    width: 60%;
    /* control width */
    left: 50% !important;
    /* move to center */
    transform: translateX(-50%);
    right: auto !important;
    top: 100%;
    margin-top: 10px;
    background: #1f2a44;
    border-radius: 10px;
    padding: 30px;
    border: none;
}


.mega-menu h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.mega-menu .dropdown-item {
    color: #dcdcdc;
    padding: 6px 0;
}

.mega-menu .dropdown-item:hover {
    color: #ffc107;
    background: none;
}

/* Hover for Desktop */
@media (min-width: 992px) {
    .mega-dropdown:hover .mega-menu {
        display: block;
    }
}

/* navbar-exit */

/* banner */
.banner_wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: #212529;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Canvas for animated particles */
#bannerParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Content above particles */
.banner_content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.banner_content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

@media (max-width:678px) {
    .banner_content h1 {
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 15px;
    }

}

.breadcrumb {
    display: inline-block;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.breadcrumb a {
    color: #000000;
    /* warm golden yellow accent */
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: #494949;
    text-decoration: underline;
}

.breadcrumb span {
    color: #000000;
    opacity: 1;
}

/* banner exit */
/* carousal */
/* Main carousel images */
.carousel-item {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    /* overlay */
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

/* 📱 Mobile Responsive Fix */
@media (max-width: 768px) {
    .carousel-item img {
        height: auto;
        object-fit: contain;
        object-position: center;
        justify-content: center;
        /* margin-top: -66px; */
    }


    .carousel-caption {
        bottom: 40px;
        /* Move captions up for small screens */
        padding: 0 10px;
    }

    .carousel-caption h5 {
        font-size: 1.3rem;
        padding: 6px 12px;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .carousel-caption h5 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
    }

    .carousel-caption {
        bottom: 80px;
    }
}

/* carousal-exit */

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: .3s;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin: auto;
}


/* SAP COURSE */
.sap_course {
    padding: 50px 0;
    background: #f8f9fa;
}

.sap_course h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.sap-course-row>div {
    margin-bottom: 15px;
}

.sap-course-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: #0d6efd;
    border: 1px solid #dee2e6;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sap-course-row a:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.section-title {
    font-weight: 700;
    letter-spacing: .5px;
}

.why-sap ul li {
    line-height: 1.8;
}

.sap-career .card img {
    height: 220px;
    object-fit: cover;
}

/* ==============================
   SAP CAREER IMAGE HEIGHT FIX
============================== */

.sap-card .card-img-top {
    height: 230px;
    /* same height for all images */
    width: 100%;
    object-fit: cover;
    /* keeps image proportional */
    border-radius: 5px;
}


/* SAP COURSE END*/

/* recomended tool */
.sap-tools {
    padding: 60px 0;
    background: #e9f9fe;
}

.section-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
    text-align: left;
    display: flex;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.tool-card {
    background: #ffffff;
    border-radius: 100%;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.tool-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 15px;
}

.tool-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 14px;
    color: #555;
}

/* Mobile optimization */
@media (max-width: 576px) {

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-card:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 160px;
    }

    .tool-card {
        padding: 12px;
    }

    .tool-card p {
        font-size: 12px;
    }

    .tool-card h5 {
        font-size: 16px;
    }
}


/* recomended tool exit */
/* Top tutorials */
.top-tutorials {
    padding: 40px 0;
    background: #f6fbfd;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* Desktop: 6 in one row */
    gap: 40px;
    text-align: center;
}

/* Tablet */
@media (max-width: 992px) {
    .tutorial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .tutorial-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Mobile: 2 per row */
    }

    .icon-circle {
        width: 100px;
        height: 100px;
        font-size: 22px;
    }
}


.icon-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.tutorial-item h5 {
    margin-top: 15px;
    font-weight: 600;
}

/* Colors */
.yellow {
    background: #f9f3d1;
}

.orange {
    background: #fde2cf;
}

.green {
    background: #e3f4ec;
}

.dark-green {
    background: #d7ecd1;
}

.blue {
    background: #e6eff7;
}


.light-yellow {
    background: #ffeb99;
}

/* Mobile */
@media (max-width: 576px) {
    .icon-circle {
        width: 110px;
        height: 110px;
        font-size: 24px;
    }
}

/*Top SAP Tutorials */

/* Recent update */
.recent-updates {
    padding: 60px 20px;
    background: #f9fafe;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f1a2b;
    margin-bottom: 40px;
}

/* Grid Layout */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Card Styling */
.update-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Tags */
.update-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

/* Tag Colors */
.new-course {
    background: #007bff;
}

.batch {
    background: #17a2b8;
}

.certification {
    background: #6f42c1;
}

.workshop {
    background: #28a745;
}

.hr {
    background: #fd7e14;
}

.placement {
    background: #e83e8c;
}

/* Card Text */
.update-card h3 {
    font-size: 1.2rem;
    color: #0f1a2b;
    margin-bottom: 8px;
}

.update-card p {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.update-date {
    font-size: 0.8rem;
    color: #868e96;
    display: block;
}

/* Recent update Exit */

/* About  */
/* ABOUT SECTION */
.about-wrapper {
    background: #ffffff;
}

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}


/* About Cards */
.about-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* About List */
.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.about-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ffc107;
    font-weight: bold;
}

/* Images */
.about-wrapper img {
    max-height: 400px;
    width: 100%;
    margin-left: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .about-wrapper {
        text-align: center;
    }

    .about-list li {
        text-align: left;
    }
}

.who_we_are {
    padding: 80px;
}

.why_choose_img {
    width: 100%;
    height: 350px;
}

.learning_section {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    padding: 20px;
    border-radius: 8px;
}



/* mithu-why-choose-us */
.mithu_why_us_section {
    background: #e9e9e9;
}

.section-title {
    font-weight: 700;
    color: #222;
    display: flex;
    justify-content: center;
}

.section-subtitle {
    color: #555;
    max-width: 700px;
    margin: auto;
}

.why-box {
    background: #fff;
    padding: 25px;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.why-box:hover {
    transform: translateY(-5px);
}

.why-box h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

/* About exit */
/* Course */
.category-section {
    background: #f9fafb;
}

.category-list .list-group-item {
    border: none;
    padding: 15px 20px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.category-list .list-group-item.active {
    background: #0d6efd;
    color: #fff;
}

.category-list a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-content {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.category-box {
    display: none;
}

.category-box.active {
    display: block;
}

.category-box h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.category-box ul {
    padding-left: 18px;
    margin-bottom: 15px;
}

.category-box ul li {
    margin-bottom: 8px;
    color: #4b5563;
}

.category-box p {
    color: #6b7280;
    line-height: 1.7;
}

/* Course_exit */
/* /* contact */
.contact-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.contact-header h1 {
    font-weight: 700;
}

.contact-header p {
    color: #6b7280;
}

.contact-info-card,
.contact-action-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.contact-info-card h4,
.contact-action-card h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.info-item i {
    font-size: 20px;
    color: #0d6efd;
    margin-top: 5px;
}

.info-item p {
    margin: 0;
    color: #4b5563;
}

.info-item a {
    color: #0d6efd;
    text-decoration: none;
}

.contact-action-card p {
    color: #6b7280;
    margin-bottom: 25px;
}

.contact-action-card .btn {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
}

.btn-call {
    background: #0d6efd;
    color: #fff;
}

.btn-email {
    background: #6366f1;
    color: #fff;
}

.btn-whatsapp {
    background: #22c55e;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
}

.contact-map iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* contact Exit */
/* footer_start */
.footer {
    background-color: #11918F;
    color: #fff;
    padding: 50px 20px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
    max-width: 1200px;
}

.footer-column {
    flex: 1 1 220px;

}

.footer-column img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-column h4 {
    position: relative;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
    padding-bottom: 5px;
}

.footer-column ul,
.footer-column a {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.footer-column p {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    width: 250px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-column a:hover {
    color: #000000;
    font-weight: 600;
}


.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 18px;
    height: 18px;
    filter: brightness(1) invert(1);
    /* makes icons white */
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        /* margin: 20px 0; */
        margin: 0;
    }
}

/* footer_End */
/* copyright */
.copyright-section {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #fff;
    font-size: 12px;
    background-color: #000000;
}

.copyright-section a {
    color: red;
    font-weight: 500;
    text-decoration: none;
    color: #fff;

}

.copyright-section p {
    font-size: 15px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    margin-bottom: 0;
}

/* logo_mobile */

/* Fixed_whatsapp */

.Whatsapp_fixed_icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    padding: 10px;
    border-radius: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.Whatsapp_fixed_icon:hover {
    transform: scale(1.1);
}

.Whatsapp_fixed_icon a {
    color: white;
    font-size: 24px;
}

/* Tap_aarrow */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 80px;
    background-color: #00a51c;
    color: rgb(0, 0, 0);
    padding: 5px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
    transform: scale(1.1);
}

.scroll-to-top i {
    font-size: 18px;
}

/* Tap_aarrow */

/* Admin login */
.admin-profile {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.admin-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.admin-info h4 {
    font-size: 15px;
    margin: 0;
}

.admin-info small {
    color: #777;
    font-size: 12px;
}

.admin-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

/* Desktop Login Background */
.login-wrapper {
    height: 100vh;
    background: url("./images/Banner/admin-bg.jpg") no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;

}

.LOGIN {
    background-color: #000;
    margin: auto !important;
    width: 100%;
    /* background: url("./images/Banner/admin-bg.jpg") no-repeat center center/cover; */
}

/* Login Card */
.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    width: 380px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

/* Input Fields */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}

.input-group input:focus {
    border-color: #0d6efd;
}

/* Button */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #0d6efd;
    border: none;
    color: #fff;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
}

.login-btn:hover {
    background: #0b5ed7;
}

.sidebar ul li a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.sidebar ul li.logout a {
    color: #dc3545;
}

.sidebar ul li.logout:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 12px 15px;
    cursor: pointer;
}

.sidebar ul li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.dropdown-menu {
    display: none;
    padding-left: 20px;
}

.dropdown-menu li {
    padding: 8px 0;
    font-size: 14px;
}

.dropdown.active .dropdown-menu {
    display: block;
}


/* Mobile Warning */
.mobile-warning {
    display: none;
    height: 100vh;
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mobile-warning h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.mobile-warning p {
    font-size: 16px;
    color: #cbd5f5;
}

/* Responsive Rule */
@media (max-width: 991px) {
    .login-wrapper {
        display: none;
    }

    .mobile-warning {
        display: flex;
    }
}

form a {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Admin login exit  */
/* dashboard */

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #1f2937;
    color: #fff;
    padding: 20px;

}

.sidebar .logo {
    text-align: center;
    margin-bottom: 30px;
    font-size: 25px;
    border-bottom: 2px solid #fff;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sidebar ul li:hover,
.sidebar ul li.active {
    background: #2563eb;
}

.sidebar i {
    margin-right: 10px;
}

/* Content */
body {
    background: #f4f6fb;
}

/* ===== Main Content ===== */
.content {
    padding: 25px;
    min-height: 100vh;
    width: 100%;
}

/* ===== Top Bar ===== */
.topbar {
    background: #ffffff;
    padding: 18px 25px;
    border-radius: 14px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.025);
}

.topbar h4 {
    margin: 0;
    font-weight: 600;
    font-size: 40px;
    color: #000000;
}

.topbar span {
    color: #D60B15;
}


/* ===== User Profile ===== */
.user_profile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.user_profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ff3b3b;
    object-fit: cover;
}

.user_profile h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ff3b3b;
}

/* ===== Cards ===== */
.stat-card {
    border-radius: 18px;
    padding: 22px;
    min-height: 140px;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hover (desktop only feel) */
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.stat-card h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.stat-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* ===== Colors ===== */
.stat-card.blue {
    background: linear-gradient(135deg, #4e73df, #224abe);
    border: 2px solid rgba(6, 29, 191, 0.4);
}

.stat-card.green {
    background: linear-gradient(135deg, #1cc88a, #0f9d58);
    border: 2px solid rgba(29, 135, 96, 0.4);
}

.stat-card.orange {
    background: linear-gradient(135deg, #f6c23e, #e69500);
    border: 2px solid rgba(235, 140, 22, 0.4);
}

.stat-card.pink {
    background: linear-gradient(135deg, #e83e8c, #c40752);
    border: 2px solid rgba(159, 8, 68, 0.4);
}

/* =========================
   📱 Mobile Responsiveness
========================= */
@media (max-width: 768px) {

    .stat-card {
        min-height: 120px;
        padding: 18px;
        border-radius: 16px;
    }

    .stat-card h6 {
        font-size: 16px;
    }

    .stat-card h2 {
        font-size: 28px;
    }

    /* Disable hover jump on touch devices */
    .stat-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {

    .stat-card {
        min-height: 110px;
        padding: 16px;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .stat-card h6 {
        font-size: 15px;
    }

    .stat-card h2 {
        font-size: 24px;
    }
}


/* ===== Mobile ===== */
@media(max-width: 768px) {
    .user_profile {
        justify-content: start;
        margin-top: 10px;
    }
}

/* Course Card */
.course-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media(max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content {
        padding: 15px;
    }
}

.profile-card {
    border-radius: 14px;
    padding: 20px;
    height: 100%;
}

.profile-header {
    text-align: center;
    margin-bottom: 15px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    background: #2563eb;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.profile-header h5 {
    margin-bottom: 2px;
}

.profile-header p {
    font-size: 14px;
    color: #6c757d;
}

.profile-body p {
    font-size: 14px;
    margin-bottom: 10px;
}

.status-badge.active {
    color: #16a34a;
    font-weight: 600;
}

.profile-footer {
    margin-top: 15px;
}

/* USER PROFILE DROPDOWN */
.user-profile-dropdown {
    position: absolute;
    top: 25px;
    right: 30px;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
}

.profile-btn img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-btn span {
    font-weight: 500;
    color: #333;
}

/* dashboard exit */

/* catagory */
/* Main content beside sidebar */
.category-section_inner {
    /* background: #f9fafb; */
    width: 100%;
    padding: 46px;
}

/* Header layout */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.category-header h3 {
    margin: 0;
    font-weight: 600;
}

/* Search + Button */
.category-actions {
    display: flex;
    gap: 12px;
}

.category-actions input {
    width: 260px;
}


.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.sap_cata {

    padding: 10px 26px !important;
    font-size: 16px;
    font-weight: 500;
}

/* Card */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* Table header */
.table thead {
    background: #0f172a;
    color: #fff;
}

.table th {
    font-weight: 500;
    border: none;
}

/* Action buttons */
.btn-light {
    background: #f8f9fa;
    border: none;
}

.btn-light:hover {
    background: #e9ecef;
}

/* Mobile */
@media (max-width: 768px) {
    .category-actions {
        width: 100%;
        flex-direction: column;
    }

    .category-actions input {
        width: 100%;
    }
}


.post-content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 18px;
    color: #333;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 10px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.post-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #333;
}

.post-content img {
    display: block;
    max-width: 100%;
    margin: 30px auto;
    border-radius: 12px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 30px;
    font-weight: 600;
}


/* FIX ADMIN CONTENT WIDTH */
/* ===============================
   ADMIN LAYOUT FIX
================================ */
.content-wrapper {
    padding: 40px 122px;
}

/* ===============================
   BLOG CONTAINER
================================ */
.blog-container {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
}

/* ===============================
   HEADER
================================ */
.blog-header {
    margin-bottom: 25px;
}

.blog-header h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.blog-meta {
    font-size: 14px;
    color: #777;
    margin-top: 8px;
}

/* ===============================
   FEATURE IMAGE
================================ */
.blog-feature-image {
    margin: 25px 0 35px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-feature-image img {
    width: 100%;
    height: 230px;
    /* CONTROL IMAGE SIZE */
    object-fit: cover;
    display: block;
}

/* ===============================
   BLOG CONTENT
================================ */
.blog-content {
    font-size: 17px;
    line-height: 1.85;
    color: #333;
}

.blog-content p {
    margin-bottom: 18px;
}

.blog-content h2,
.blog-content h3 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 22px 0;
}

/* ===============================
   GALLERY
================================ */
.blog-gallery-section {
    margin-top: 45px;
}

.blog-gallery-section h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

.blog-gallery img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 25px 15px;
    }

    .blog-header h1 {
        font-size: 26px;
    }

    .blog-feature-image img {
        height: 190px;
    }
}

.blog-wrapper {
    padding: 50px !important;
}

/* catagory_post.php  */
/* ===============================
   POST CARD STYLE
================================ */
.post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

.read-btn:hover {
    text-decoration: underline;
}

/* ===============================
   SIDEBAR CATEGORY
================================ */
.category-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #f8f9fa;
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: #0d6efd;
    color: #fff;
}



/* -----------------------------------------------STAR SERVER------------------------------------------------------ */
/* user-registratuion */
.form_section {
    width: 100%;

    margin: 0;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.row {
    display: flex;

}

.col-md-6 {
    width: 50%;
}

/* ✅ LEFT COLUMN SCROLL ONLY */
.col-md-6:first-child {
    height: 100vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Optional scrollbar styling */
.col-md-6:first-child::-webkit-scrollbar {
    width: 6px;
}

.col-md-6:first-child::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* =====================
   ALERTS
===================== */
.alert {
    padding: 15px 20px;
    margin: 15px;
    border-radius: 6px;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border-left: 5px solid #22c55e;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 5px solid #ef4444;
}

/* =====================
   FORM
===================== */
.registration-form {
    padding: 35px;
}

.registration-form h2 {
    margin-bottom: 25px;
    color: #000000;
    font-weight: 700;
    font-size: 42px;
}

.registration-form span {
    color: #c00000;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #676868;
    font-size: 14px;
    outline: none;
}

.form-group textarea {
    resize: none;
    height: 90px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;
}

.two-column {
    display: flex;
    gap: 15px;
}

.two-column .form-group {
    width: 50%;
}

button[type="submit"] {
    width: 100%;
    padding: 13px;
    background: #E1412B;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background: #000000;
}

.login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* =====================
   RIGHT PANEL
===================== */
.star_col {
    height: 100vh;
    background: linear-gradient(135deg, #000a3b, #001b33);
    color: #ffffff;
    padding: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* ✅ no scroll */
}

/* =====================
   CONTENT
===================== */
.col_box {
    background-color: #f8f9fa;
    height: auto;
    border-radius: 8px;
    padding: 30px 60px;
}

.col_box h1 {
    font-size: 50px;
    margin-bottom: 10px;
    color: #044F91;
}

.col_box h1 span {
    color: #c00000;
}

.col_box h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #000;
}

.col_box h3 strong {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #000;
}

.col_box strong {
    color: #e40303;
}

.col_box p {
    margin: 15px 0;
    font-size: 15px;
    color: #e5e7eb;
    color: #000;
}

.col_box ul {
    list-style: none;
    margin-top: 10px;
}

.col_box ul li {
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #000;
}


.col_box h6 {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}

.col_box ul li i {
    color: #c52222;
    margin-right: 10px;
    font-size: 16px;
}


/* =====================
   RESPONSIVE (MOBILE)
===================== */
@media (max-width: 991px) {

    .row {
        flex-direction: column;
        height: auto;
    }

    .col-md-6 {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .star_col {
        height: auto;
        padding: 30px;
    }

    .two-column {
        flex-direction: column;
    }

    .two-column .form-group {
        width: 100%;
    }

    .col_box {
        background-color: #f8f9fa;
        height: auto;
        border-radius: 8px;
        padding: 25px;
    }

    .registration-form h2 {
        margin-bottom: 25px;
        color: #c00000;
        font-weight: 800;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .registration-form {
        padding: 25px;
    }

    .col_box h1 {
        font-size: 28px;
    }
}

@media (max-width: 991px) {

    .row {
        display: flex;
        flex-direction: column;
    }

    /* ✅ Show RIGHT PANEL FIRST on mobile */
    .row .col-md-6:last-child {
        order: 1;
    }

    /* ✅ Show FORM AFTER content */
    .row .col-md-6:first-child {
        order: 2;
    }

}

/* user-registratuion exit */

/* user login */
.login_section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form {
    max-width: 420px;
    width: 100%;
    padding: 35px 40px;
    border-radius: 14px;
}

.login-form .forget_heading {
    font-size: 45px !important;
}

/* =====================
   HEADER
===================== */
.login-form h1 {
    margin-bottom: 25px;
    font-size: 50px;
    color: #003768;
    margin-top: 50px;
    text-align: center;
}

.login-form h2 {
    margin-bottom: 25px;
    font-size: 35px;
    color: #d40000;
    text-align: center;
    margin: 50px 0;
}

.login-form h3 {
    font-size: 35px;
}

.login-form p {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    color: #007bff;
    font-weight: 600;
    font-size: 18px;
}

/* =====================
   FORM GROUP
===================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000000;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #7c7c7c;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s ease;
}

.form-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* =====================
   BUTTON
===================== */
button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* =====================
   LINKS
===================== */
.login-links {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
}

.login-links a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.success-msg {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #c3e6cb;
}

.error-msg {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 1px solid #f5c6cb;
}

.red-star {
    color: #e10600;
    /* Star Server red */
    font-size: 7px;
    margin: 0 5px;
}


/* user login exit  */
/* user-navbar */
.sidebar ul li.active>a,
.sidebar ul li.active {
    background: #0d6efd;
    color: #fff;
    border-radius: 6px;
}

.sidebar ul li.active a i {
    color: #fff;
}

/* FIX CONTENT HIDING BEHIND SIDEBAR */
.content-wrapper {
    margin-left: 260px;
    /* must match sidebar width */
    padding: 25px;
}

/* verify otp */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.otp-box {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
}

.otp_login {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50%;
}

.otp_login h2 {
    color: #D40000;
    font-size: 38px;
    margin-bottom: 20px;
}

.otp-inputs {
    margin-bottom: 20px;
}

/* reset password */
.reset_logged {
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20% auto 0;
}

/* Heading */
.reset_logged h2 {
    margin-bottom: 25px;
    color: #be1b1b;
    font-size: 30px;
    text-align: center;
}

/* Input fields */
.reset_logged input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s;
}

.reset_logged input[type="password"]:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Button */
.reset_logged button {
    width: 100%;
    padding: 12px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s, transform 0.2s;
}

.reset_logged button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* OTP / Message styling */
.otp-message {
    margin-top: 15px;
    font-size: 14px;
    color: #e74c3c;
    /* red for error */
}

.otp-message.success {
    color: #27ae60;
    /* green for success */
}

/* admin_wrapper */
/* =======================
   ADMIN FULL WIDTH LAYOUT
======================= */

.admin-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #f5f7fb;
}

/* MAIN CONTENT AREA */
.admin-content {
    flex: 1;
    padding: 30px;
}

/* PAGE TITLE */
.page-title {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 42px;
    color: #0d0841;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 8px;
    padding: 20px 10px;
}

/* DASHBOARD GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    width: 100%;
}

/* DASHBOARD CARD */
.dashboard-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #d3d3d3;
}

.dashboard-card:hover {
    transform: translateY(-6px);
}

.dashboard-card h6 {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dashboard-card h2 {
    font-size: 30px;
    font-weight: 700;
    color: #ff2f2f;
}

/* TOTAL SALE CARD */
.dashboard-card.total-sale {
    grid-column: span 2;
    background: linear-gradient(135deg, #ff4d4d, #ff0000);
}

.dashboard-card.total-sale h6,
.dashboard-card.total-sale h2 {
    color: #fff;
}

/* RESPONSIVE FIX */
@media (max-width: 992px) {
    .admin-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .dashboard-card.total-sale {
        grid-column: span 1;
    }
}

/* admin user details  */
/* ================= USER LIST PAGE ================= */

/* ===========================
   FULL WIDTH ADMIN USER PAGE
=========================== */

.admin-user-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #f4f6fb;
}

/* CONTENT AREA */
.admin-user-content {
    flex: 1;
    padding: 30px 40px;
}

/* PAGE TITLE */
.page-title-heading {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    margin: 40px;
}

/* TOOLBAR */
.user-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.search-input {
    max-width: 420px;
}

.filter-select {
    max-width: 180px;
}

/* TABLE WRAPPER (FULL WIDTH CARD) */
.user-table-wrapper {
    width: 100%;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #d5d4d4;
}

/* TABLE */
.user-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.user-table thead th {
    font-size: 18px;
    /* font-weight: 600; */
    color: #000000;
    border-bottom: none;
    font-weight: 600;
    border-bottom: 1px solid rgb(218, 216, 216);
}

/* TABLE ROW */
.user-table tbody tr {
    background: #f9fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-table tbody tr:hover {
    background: #eef3ff;
    transform: scale(1.005);
}

.user-table tbody td {
    padding: 14px;
    font-size: 16px;
    vertical-align: middle;
    border-top: none;
    color: #000000;
    font-weight: 500;
}

/* STATUS BADGES */
.status {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.status.active {
    background: #e6f8ed;
    color: #1e9e53;
}

.status.inactive {
    background: #fdeaea;
    color: #d93025;
}

/* ACTION BUTTONS */
.btn-view {
    background: #0d6efd;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
}

.btn-edit {
    background: #ff2f2f;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
}

.btn-view:hover,
.btn-edit:hover {
    opacity: 0.85;
}

/* RESPONSIVE FIX */
@media (max-width: 992px) {
    .admin-user-content {
        margin-left: 0;
        padding: 20px;
    }

    .user-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input,
    .filter-select {
        max-width: 100%;
    }
}

/* ACTION BUTTON ALIGNMENT */
.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* Button sizing */
.btn-view,
.btn-edit {
    min-width: 70px;
    font-size: 13px;
}

/* ---------------------------- */

/* adminuserdetails.php */



/* =========================
   ADMIN USER TABLE STYLING
========================= */

.admin-user-layout {
    padding: 20px;
    background: #f5f7fb;
    min-height: 100vh;
}

.page-title-heading {
    font-weight: 600;
    margin-bottom: 20px;
}

/* Toolbar */
.user-toolbar {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.user-toolbar .search-input {
    flex: 1;
}

.user-toolbar .filter-select {
    max-width: 200px;
}

/* Table */
.user-table-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 15px;
}

.user-table th {
    background: #f1f3f6;
    font-weight: 600;
    white-space: nowrap;
}

.user-table td,
.user-table th {
    vertical-align: middle;
    font-size: 14px;
}

/* Status badges */
.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.active {
    background: #e7f9ee;
    color: #1fa463;
}

.status.inactive {
    background: #fdeaea;
    color: #d63636;
}

/* Buttons */
.action-buttons .btn {
    font-size: 12px;
    padding: 4px 10px;
}

/* =========================
   RESPONSIVE (TABLE → CARDS)
========================= */

@media (max-width: 992px) {
    .user-toolbar {
        flex-direction: column;
    }

    .user-toolbar .filter-select {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .user-table thead {
        display: none;
    }

    .user-table,
    .user-table tbody,
    .user-table tr,
    .user-table td {
        display: block;
        width: 100%;
    }

    .user-table tr {
        margin-bottom: 15px;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 10px;
        background: #fff;
    }

    .user-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        font-size: 13px;
    }

    .user-table td:last-child {
        border-bottom: none;
    }

    .user-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
    }

    .action-buttons {
        justify-content: flex-start;
    }
}
.h1 {
    color: #000327;
}

