/* =======================
   Global Styles
======================= */

:root {
    --primary-green: #1E4C43;
    --primary-green-light: #52b788;
    --primary-green-pale: #d8f3dc;
    --text-primary-light: #338071;
    --dark-green: #1E4C43;
    --text-black-gray: #A6A6A6;
    --text-black: #12141D;
    --accent-teal: #40916c;
    --text-dark: #172522;
    --text-muted: #1C1C1F;
    --text-light: #9ca3af;
    --text-seconary-light: #387A78;
    --bg-light: #f8faf9;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    color: var(--text-dark);
    background-color: var(--bg-white);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.7;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =======================
   Utility Classes
======================= */

.section-header {
    margin-bottom: 50px;
}

.section-tag-line {
    display: inline-block;
    width: 50px;
    height: 4px;
    background: var(--primary-green-light);
    border-radius: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* =======================
   Navbar
======================= */

.main-navbar {
    background: linear-gradient(177.39deg, rgba(30, 76, 67, 0.2) 2.18%, rgba(200, 233, 227, 0.32) 111.77%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    border-bottom: none;
    min-height: 68px;
}

.main-navbar .container {
    min-height: 68px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin-left: 0;
    flex-shrink: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Nav list */
.main-navbar .navbar-nav {
    align-items: center;
    gap: 0;
}

.main-navbar .nav-link {
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 20px;
    border-radius: 0;
    transition: color 0.25s ease;
    white-space: nowrap;
    line-height: 1;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary-green);
    background: transparent;
}

/* Pipe separators between nav items */
.nav-separator {
    color: #c5d4ce;
    font-size: 0.85rem;
    font-weight: 300;
    padding: 0;
    display: flex;
    align-items: center;
    user-select: none;
    line-height: 1;
}

/* Login Button */
.btn-navbar-login {
    font-family: 'Cairo', sans-serif;
    background-color: transparent;
    color: var(--dark-green);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 26px;
    border-radius: 50px;
    border: 2px solid var(--dark-green);
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0;
}

.btn-navbar-login:hover {
    background-color: var(--dark-green);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
}

/* CTA Button */
.btn-navbar-cta {
    font-family: 'Cairo', sans-serif;
    background-color: var(--dark-green);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 26px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    margin-right: 8px;
    line-height: 1.4;
    letter-spacing: 0;
}

.btn-navbar-cta:hover {
    background-color: #0f2b1f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.35);
}

/* Mobile toggler */
.main-navbar .navbar-toggler {
    border: 1px solid rgba(45, 106, 79, 0.3);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    margin-right: 0;
}

.main-navbar .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.main-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232d6a4f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* =======================
   Hero Section
======================= */

.hero-section {
    background-image: url('../images/landding/hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
}

.min-vh-hero {
    width: 100%;
}

/* Hero Text (right column in RTL) */
.hero-content {
    position: relative;
    z-index: 2;
    padding-right: 10px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-title-line2 {
    display: block;
    position: relative;
    width: fit-content;
}

/* .hero-title-line2::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--primary-green-light);
    border-radius: 2px;
} */

.hero-title-line3 {
    display: block;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 400px;
    line-height: 1.85;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    font-family: 'Cairo', sans-serif;
    background-color: var(--dark-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 38px;
    border-radius: 50px;
    border: none;
    transition: var(--transition);
    letter-spacing: 0;
    line-height: 1.4;
}

.btn-hero-primary:hover {
    background-color: #0f2b1f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(27, 67, 50, 0.38);
}

.btn-hero-video {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-green);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
    flex-direction: row;
}

.btn-hero-video:hover {
    color: var(--primary-green);
}

.video-play-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    font-size: 0.72rem;
    color: var(--text-dark);
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-hero-video:hover .video-play-icon {
    background: var(--primary-green);
    color: #fff;
}

/* Hero Image Column (left in RTL) */
.hero-image-col {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 460px;
    height: 460px;
    margin: 0 auto;
}

/* Outer decorative ring */
.hero-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(82, 183, 136, 0.35);
    pointer-events: none;
}

/* Circular image */
.hero-img-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #74c69d 0%, #40916c 100%);
    box-shadow: 0 0 0 12px rgba(82, 183, 136, 0.18);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Floating Cards — shared */
.hero-float-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 4;
    animation: heroFloat 3.5s ease-in-out infinite alternate;
}

/* Float icon wrapper */
.float-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.float-icon-green {
    background: var(--primary-green);
    color: #fff;
}

.float-icon-dark {
    background: var(--dark-green);
    color: #fff;
}

.float-card-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.hero-float-card.card-location {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 18px;
}

.float-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Cairo', sans-serif;
}

.float-sublabel {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    font-family: 'Cairo', sans-serif;
}

/* Location card — top left of circle */
.card-location {
    top: 43px;
    right: -77px;
    animation-delay: 0s;
}

/* Truck icon card — top right */
.card-truck {
    top: 60px;
    left: -16px;
    border-radius: 12px;
    padding: 10px;
    animation-delay: 0.8s;
}

/* Analytics card — bottom right */
.card-analytics {
    bottom: 80px;
    left: -20px;
    animation-delay: 1.4s;
}

@keyframes heroFloat {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-10px);
    }
}

/* card-stats float on different axis */
.card-analytics {
    animation-name: heroFloatSide;
}

@keyframes heroFloatSide {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-7px);
    }
}

/* Hero Background decorations */
.hero-bg-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco-circle-lg {
    width: 500px;
    height: 500px;
    border: 1.5px solid rgba(45, 106, 79, 0.1);
    top: -120px;
    right: -180px;
}

.deco-circle-sm {
    width: 300px;
    height: 300px;
    border: 1.5px solid rgba(45, 106, 79, 0.08);
    bottom: -80px;
    left: 5%;
}

.deco-arc {
    width: 220px;
    height: 220px;
    border: 1.5px solid rgba(82, 183, 136, 0.15);
    top: 50%;
    left: 38%;
    transform: translateY(-50%);
}

/* =======================
   About Section
======================= */

.about-section {
    padding: 90px 0 100px;
    background-color: var(--bg-white);
    background-image: url('../images/landding/about-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Grid pattern tiles — faded square grids in corners */
.about-bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-pattern-tile {
    position: absolute;
    width: 220px;
    height: 220px;
    background-image:
        linear-gradient(rgba(82, 183, 136, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(82, 183, 136, 0.12) 1px, transparent 1px);
    background-size: 22px 22px;
    border-radius: 4px;
}

.tile-tr {
    top: 0;
    left: 0;
    opacity: 0.7;
}

.tile-bl {
    bottom: 0;
    right: 0;
    opacity: 0.55;
    width: 180px;
    height: 180px;
}

/* Container z-index above pattern */
.about-container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.about-section-header {
    margin-bottom: 56px;
}

.about-section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.about-title-underline {
    width: 260px;
    height: 18px;
    margin: 0 auto;
    display: block;
}

.about-title-underline svg {
    width: 100%;
    height: 100%;
}

/* Row */
.about-row {
    align-items: center;
}

/* Image column */
.about-image-wrapper {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.about-main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Content column */
.about-content {
    padding-left: 52px;
    padding-right: 0;
}

.about-intro {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 28px;
    line-height: 1.85;
}

.about-body {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.95;
    font-weight: 400;
}

.about-tagline {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 28px;
    margin-bottom: 0;
    border: none;
    padding: 0;
}

/* =======================
   Statistics Section
======================= */

.stats-section {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #dde8e4 0%, #e8f0ed 40%, #eef4f1 100%);
    position: relative;
    overflow: hidden;
}

/* Section header */
.stats-section-header {
    margin-bottom: 52px;
}

.stats-section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.stats-title-underline {
    width: 260px;
    height: 18px;
    margin: 0 auto;
    display: block;
}

.stats-title-underline svg {
    width: 100%;
    height: 100%;
}

/* Cards wrapper */
.stats-cards-wrapper {
    margin-top: 0;
}

/* Base card */
.stat-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 44px 28px 36px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: none;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11);
}

/* Icon circle */
.stat-icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #eef2f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.45rem;
    color: var(--dark-green);
    flex-shrink: 0;
}

/* Light variant for dark card */
.stat-icon-circle-light {
    background: rgba(255, 255, 255, 1);
    color: #fff;
}

/* Number */
.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark-green);
    margin-bottom: 8px;
    line-height: 1;
    font-family: 'Cairo', sans-serif;
    letter-spacing: -0.5px;
}

/* Label */
.stat-label {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Dark Stat Card */
.stat-card-dark {
    background: var(--dark-green);
    border: none;
}

.stat-card-dark:hover {
    box-shadow: 0 8px 28px rgba(27, 67, 50, 0.3);
}

.stat-card-dark .stat-number {
    color: #fff;
}

.stat-card-dark .stat-label {
    color: rgba(255, 255, 255, 0.72);
}

/* =======================
   How It Works Section
======================= */

.how-section {
    padding: 90px 0 100px;
    background-color: #eef1f0;
}

/* Section Header */
.how-section-header {
    margin-bottom: 52px;
}

.how-section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.how-title-underline {
    width: 220px;
    height: 18px;
    margin: 0 auto;
    display: block;
}

.how-title-underline svg {
    width: 100%;
    height: 100%;
}

/* Steps container card */
.how-steps-card {
    background: #f4f6f5;
    border-radius: 28px;
    padding: 56px 40px 44px;
    position: relative;
}

/* Vertical center line */
.how-center-line {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: #d0d8d5;
    z-index: 0;
}

/* Decorative arc at the top of the line */
.how-center-line::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    border: 1px solid #c8d2cf;
    border-bottom: none;
    border-radius: 60px 60px 0 0;
}

/* Each step row */
.how-step-row {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 110px;
    margin-bottom: 8px;
}

.how-step-row:last-child {
    margin-bottom: 0;
}

/* Sides — text and icon — each take equal half */
.step-side {
    flex: 1;
    display: flex;
    align-items: center;
}

.step-text-side {
    flex-direction: column;
    align-items: flex-start;
}

/* Text side alignment per step type */
.step-odd .step-text-side {
    /* justify-content: flex-end;
    text-align: right;
    padding-left: 32px; */
    justify-content: flex-start;
    text-align: right;
    padding-right: 32px;
}

.step-even .step-text-side {
    justify-content: flex-start;
    text-align: left;
    padding-right: 32px;
}

/* Icon side alignment per step type */
.step-odd .step-icon-side {
    /* justify-content: flex-start;
    padding-right: 32px; */
    justify-content: flex-end;
    padding-left: 32px;
}

.step-even .step-icon-side {
    justify-content: flex-end;
    padding-left: 32px;
}

/* Center badge column */
.step-center-badge {
    flex-shrink: 0;
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(180deg, #00A1B0 -4.77%, rgba(204, 247, 251, 0.08) 61.67%);
    color: var(--text-seconary-light);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Icon wrapper */
.step-icon-wrap {
    font-size: 1.6rem;
    color: var(--primary-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Step text block */
.step-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary-light);
    margin-bottom: 4px;
    line-height: 1.3;
    /* font-family: 'Cairo', sans-serif; */
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-black-gray);
    margin-bottom: 0;
    line-height: 1.5;
    /* font-family: 'Cairo', sans-serif; */
}

.text-flex-end {
    align-items: flex-end;
    padding-left: 32px;
}

.justify-content-start {
    justify-content: flex-start;
    padding-right: 32px;
}

/* =======================
   Features Section
======================= */

.features-section {
    padding: 90px 0 100px;
    background: linear-gradient(177.39deg, rgba(30, 76, 67, 0.2) 2.18%, rgba(200, 233, 227, 0.32) 111.77%);
}

/* Section header */
.features-section-header {
    margin-bottom: 52px;
}

.features-section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.features-title-underline {
    width: 260px;
    height: 18px;
    margin: 0 auto;
    display: block;
}

.features-title-underline svg {
    width: 100%;
    height: 100%;
}

/* Feature card */
.feature-card {
    background: rgba(82, 183, 136, 0.13);
    border-radius: 20px;
    padding: 28px 24px 28px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: none;
    transition: var(--transition);
    height: 100%;
    flex-direction: row-reverse;
}

.feature-card:hover {
    background: rgba(82, 183, 136, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(45, 106, 79, 0.1);
}

/* Text content — takes remaining space, right-aligned (RTL) */
.feature-content {
    flex: 1;
    text-align: right;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
    /* font-family: 'Cairo', sans-serif; */
}

.feature-desc {
    font-size: 0.88rem;
    color: #4b5563;
    margin-bottom: 0;
    line-height: 1.75;
    /* font-family: 'Cairo', sans-serif; */
}

/* Icon circle — dark green, sits on LEFT of card */
.feature-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(101.78deg, #77BABB 7.12%, #6EACB2 18.54%, #67A1AA 29.52%, #5A8E9E 39.63%, #4F7C93 49.3%, #538296 58.96%, #4C778F 69.07%, #436A87 77.86%, #3F6383 86.65%, #2A446F 95.87%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-circle {
    background: var(--primary-green);
    transform: scale(1.06);
}

/* =======================
   FAQ Section
======================= */

.faq-section {
    padding: 90px 0 100px;
    background-color: var(--bg-white);
    background-image: url('../images/landding/about-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Background decorative squares */
.faq-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.faq-deco-square {
    position: absolute;
    background: rgba(82, 183, 136, 0.18);
    border-radius: 6px;
}

.sq-tl-1 {
    width: 80px;
    height: 80px;
    top: 30px;
    right: 60px;
    opacity: 0.7;
}

.sq-tl-2 {
    width: 50px;
    height: 50px;
    top: 120px;
    right: 160px;
    opacity: 0.45;
}

.sq-tr-1 {
    width: 60px;
    height: 60px;
    top: 20px;
    left: 120px;
    opacity: 0.55;
}

.sq-tr-2 {
    width: 35px;
    height: 35px;
    top: 90px;
    left: 55px;
    opacity: 0.35;
}

.sq-bl-1 {
    width: 55px;
    height: 55px;
    bottom: 60px;
    right: 80px;
    opacity: 0.4;
}

.sq-br-1 {
    width: 40px;
    height: 40px;
    bottom: 40px;
    left: 100px;
    opacity: 0.3;
}

/* Container above deco */
.faq-container {
    position: relative;
    z-index: 1;
}

/* Section header */
.faq-section-header {
    margin-bottom: 48px;
}

.faq-section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    /* font-family: 'Cairo', sans-serif; */
}

.faq-title-underline {
    width: 200px;
    height: 18px;
    margin: 0 auto;
    display: block;
}

.faq-title-underline svg {
    width: 100%;
    height: 100%;
}

/* White card wrapper */
.faq-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 0 36px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
}

/* Each FAQ item row */
.faq-item {
    border-bottom: 1px solid #e8eceb;
    padding: 26px 0;
}

.faq-item-last {
    border-bottom: none;
}

/* Header row — question + icon */
.faq-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

/* Question text — RIGHT side (RTL) */
.faq-question {
    /* font-family: 'Cairo', sans-serif; */
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-green);
    line-height: 1.4;
    text-align: right;
    flex: 1;
}

/* +/- toggle icon — LEFT side (RTL) */
.faq-toggle-icon {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    transition: var(--transition);
}

/* Answer body */
.faq-answer {
    /* font-family: 'Cairo', sans-serif; */
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    text-align: right;
    padding-top: 14px;
    padding-right: 0;
}

/* =======================
   Footer
======================= */

.main-footer {
    background-color: #dce6e3;
    color: var(--text-dark);
    padding-top: 70px;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.9;
    max-width: 300px;
}

.footer-widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 22px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-green);
    font-weight: 600;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.footer-contact-list li i {
    color: var(--text-dark);
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: var(--text-dark);
    direction: ltr;
}

.footer-contact-list a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid #f7f7f7;
    /* background-color: #cfdad6; */
}

.footer-copyright {
    font-size: 0.85rem;
    color: #1E4C43;
    margin-bottom: 0;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: #1E4C43;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-green);
}

/* =======================
   Responsive - Laptop
======================= */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        width: 400px;
        height: 400px;
    }

    .hero-img-circle {
        width: 330px;
        height: 330px;
    }

    .about-content {
        padding-right: 30px;
    }
}

/* =======================
   Responsive - Tablet
======================= */

@media (max-width: 992px) {
    .hero-section {
        padding: 50px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    /* .hero-title-line2::after {
        right: auto;
        left: auto;
        margin: 0 auto;
    } */

    .hero-description {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content {
        margin-bottom: 44px;
        text-align: center;
    }

    .hero-image-col {
        margin-bottom: 0;
    }

    .hero-image-wrapper {
        width: 340px;
        height: 340px;
        margin: 0 auto;
    }

    .hero-img-circle {
        width: 280px;
        height: 280px;
    }

    .card-location {
        left: -5px;
        top: 20px;
    }

    .card-truck {
        left: -5px;
        top: 40px;
    }

    .card-analytics {
        left: -5px;
        bottom: 50px;
    }

    /* Navbar mobile */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 16px 8px;
        border-top: 1px solid var(--border-light);
        margin-top: 8px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-md);
    }

    .nav-separator {
        display: none;
    }

    .main-navbar .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-navbar .nav-link {
        padding: 10px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
        font-size: 0.95rem;
    }

    .navbar-cta-group {
        flex-direction: column;
        margin-top: 10px;
    }

    .btn-navbar-login,
    .btn-navbar-cta {
        margin-right: 0;
        width: 100%;
        text-align: center;
        display: block;
        padding: 11px 26px;
    }

    /* About */
    .about-section {
        padding: 70px 0 80px;
    }

    .about-section-title {
        font-size: 2rem;
    }

    .about-section-header {
        margin-bottom: 40px;
    }

    .about-image-wrapper {
        margin-bottom: 40px;
    }

    .about-content {
        padding-right: 0;
        padding-left: 0;
        margin-top: 36px;
    }

    /* How */
    .how-section-title {
        font-size: 2rem;
    }

    .how-section-header {
        margin-bottom: 36px;
    }

    .how-steps-card {
        padding: 40px 24px 32px;
    }

    .step-odd .step-text-side,
    .step-even .step-text-side {
        padding-left: 16px;
        padding-right: 16px;
    }

    .step-odd .step-icon-side,
    .step-even .step-icon-side {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* General */
    .section-title {
        font-size: 1.7rem;
    }

    .stats-section-title {
        font-size: 2rem;
    }

    .stats-section-header {
        margin-bottom: 36px;
    }

    .stat-number {
        font-size: 1.9rem;
    }

    .stat-card {
        padding: 36px 20px 30px;
    }

    /* Features */
    .features-section-title {
        font-size: 2rem;
    }

    .features-section-header {
        margin-bottom: 36px;
    }

    /* FAQ */
    .faq-section-title {
        font-size: 2rem;
    }

    .faq-section-header {
        margin-bottom: 36px;
    }

    .faq-card {
        padding: 0 28px;
    }
}

/* =======================
   Responsive - Mobile
======================= */

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 50px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 26px;
    }

    .hero-image-wrapper {
        width: 300px;
        height: 300px;
    }

    .hero-img-circle {
        width: 250px;
        height: 250px;
    }

    .hero-float-card {
        display: none;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-section {
        padding: 60px 0 70px;
    }

    .about-section-title {
        font-size: 1.7rem;
    }

    .about-title-underline {
        width: 180px;
    }

    .about-section-header {
        margin-bottom: 32px;
    }

    .about-content {
        margin-top: 28px;
        padding-right: 0;
    }

    .about-intro {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }

    .about-body {
        font-size: 0.93rem;
    }

    .about-tagline {
        font-size: 0.98rem;
    }

    .stats-section {
        padding: 60px 0 70px;
    }

    .stats-section-title {
        font-size: 1.7rem;
    }

    .stats-title-underline {
        width: 180px;
    }

    .stats-section-header {
        margin-bottom: 28px;
    }

    .stat-card {
        padding: 32px 16px 26px;
    }

    .stat-icon-circle {
        width: 54px;
        height: 54px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .how-section {
        padding: 60px 0 70px;
    }

    .how-section-title {
        font-size: 1.7rem;
    }

    .how-title-underline {
        width: 160px;
    }

    .how-section-header {
        margin-bottom: 28px;
    }

    .how-steps-card {
        padding: 32px 16px 28px;
        border-radius: 20px;
    }

    .how-center-line {
        top: 48px;
        bottom: 48px;
    }

    .step-odd .step-text-side {
        padding-left: 10px;
    }

    .step-even .step-text-side {
        padding-right: 10px;
    }

    .step-odd .step-icon-side {
        padding-right: 10px;
    }

    .step-even .step-icon-side {
        padding-left: 10px;
    }

    .step-title {
        font-size: 0.88rem;
    }

    .step-desc {
        font-size: 0.78rem;
    }

    .step-icon-wrap {
        font-size: 1.3rem;
    }

    .features-section {
        padding: 60px 0 70px;
    }

    .features-section-title {
        font-size: 1.7rem;
    }

    .features-title-underline {
        width: 180px;
    }

    .features-section-header {
        margin-bottom: 28px;
    }

    .feature-card {
        padding: 22px 18px;
        gap: 14px;
    }

    .feature-icon-circle {
        width: 46px;
        height: 46px;
        font-size: 1.05rem;
    }

    .faq-section {
        padding: 60px 0 70px;
    }

    .faq-section-title {
        font-size: 1.7rem;
    }

    .faq-title-underline {
        width: 150px;
    }

    .faq-section-header {
        margin-bottom: 32px;
    }

    .faq-card {
        padding: 0 20px;
        border-radius: 16px;
    }

    .faq-item {
        padding: 20px 0;
    }

    .faq-question {
        font-size: 0.93rem;
    }

    .faq-answer {
        font-size: 0.88rem;
    }

    .main-footer {
        padding-top: 50px;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .footer-bottom .row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-bottom-links {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .btn-hero-primary {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .brand-logo {
        font-size: 1rem;
    }

    /* How - mobile: stack steps vertically */
    .how-step-row {
        flex-direction: column;
        min-height: auto;
        gap: 8px;
        padding: 16px 0;
        border-bottom: 1px solid #dde3e0;
    }

    .how-step-row:last-child {
        border-bottom: none;
    }

    .how-center-line {
        display: none;
    }

    .step-center-badge {
        order: -1;
        width: 100%;
        justify-content: flex-end;
    }

    .step-side {
        width: 100%;
        justify-content: flex-end !important;
        text-align: right !important;
        padding: 0 !important;
    }

    .step-icon-wrap {
        font-size: 1.4rem;
    }
}

/* =======================
   Signup Page
======================= */

.signup-body {
    font-family: 'Cairo', sans-serif;
    background-color: #fff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =======================
   Layout Wrapper
======================= */

.signup-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: row-reverse;
}

/* =======================
   Left Panel (Brand Visual)
======================= */

.signup-left-panel {
    flex: 0 0 48%;
    max-width: 48%;
    position: relative;
    overflow: hidden;
    background-color: #c8e6e2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.signup-brand-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-inner-card {
    background: linear-gradient(155deg, #2e7a72 0%, #1a4f4a 55%, #133d38 100%);
    border-radius: 32px;
    width: min(420px, 85%);
    aspect-ratio: 4 / 3.2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(20, 60, 55, 0.25);
}

.signup-logo-big {
    /* width: 60%; */
    /* max-width: 240px; */
    /* height: auto; */
    /* object-fit: contain; */
    /* filter: brightness(0) saturate(100%) invert(85%) sepia(60%) saturate(500%) hue-rotate(35deg) brightness(105%); */
}

/* =======================
   Right Panel (Form)
======================= */

.signup-right-panel {
    flex: 0 0 52%;
    max-width: 52%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background-color: #fff;
}

.signup-form-container {
    width: 100%;
    max-width: 560px;
}

/* =======================
   Top Logo
======================= */

.signup-top-logo {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 36px;
}

.signup-top-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

/* =======================
   Heading
======================= */

.signup-heading {
    text-align: right;
    margin-bottom: 30px;
}

.signup-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #12141D;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    font-family: 'Cairo', sans-serif;
}

.signup-subtitle {
    font-size: 0.95rem;
    color: #A6A6A6;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
}

/* =======================
   Form Groups
======================= */

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-signup {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.signup-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #12141D;
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

/* =======================
   Input Fields
======================= */

.signup-input,.signup-input-- {
    width: 100%;
    height: 46px;
    background-color: #F5F5F5;
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 0.88rem;
    font-family: 'Cairo', sans-serif;
    color: #12141D;
    text-align: right;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.signup-input::placeholder,.signup-input--::placeholder {
    color: #C0C0C0;
    font-size: 0.85rem;
    font-family: 'Cairo', sans-serif;
}

.signup-input:focus,.signup-input--:focus {
    border-color: #1E4C43;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(30, 76, 67, 0.08);
}

.signup-input:hover:not(:focus),.signup-input--:hover:not(:focus) {
    border-color: #c8d5d2;
}

.signup-input[type="tel"],
.signup-input[type="email"],
.signup-input[type="url"],
.signup-input[type="number"] {
    text-align: left;
}

/* =======================
   Password Input
======================= */

.signup-input-password {
    position: relative;
    display: flex;
    align-items: center;
}

.signup-input-password .signup-input,.signup-input-- {
    padding-left: 42px;
    padding-right: 14px;
    text-align: left;
    direction: ltr;
}

.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #A6A6A6;
    font-size: 0.9rem;
    line-height: 1;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #1E4C43;
}

/* =======================
   Terms
======================= */

.signup-terms {
    margin-top: 8px;
    margin-bottom: 4px;
    text-align: right;
}

.terms-text {
    font-size: 0.88rem;
    color: #A6A6A6;
    margin-bottom: 0;
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
}

.terms-link {
    color: #1E4C43;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.terms-link:hover {
    color: #338071;
    text-decoration: underline;
}

/* =======================
   Submit Button
======================= */

.btn-signup-submit {
    width: 100%;
    height: 52px;
    background-color: #1E4C43;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    letter-spacing: 0;
    margin-top: 6px;
}

.btn-signup-submit:hover {
    background-color: #163830;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 76, 67, 0.3);
}

.btn-signup-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* =======================
   Login Link
======================= */

.signup-login-link {
    text-align: center;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-text {
    font-size: 0.9rem;
    color: #A6A6A6;
    font-family: 'Cairo', sans-serif;
}

.login-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1E4C43;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: #338071;
    text-decoration: underline;
}

/* =======================
   Signup Responsive - Tablet
======================= */

@media (max-width: 991px) {
    .signup-wrapper {
        flex-direction: column;
    }

    .signup-left-panel {
        flex: none;
        max-width: 100%;
        height: 240px;
        padding: 28px;
    }

    .brand-inner-card {
        width: min(300px, 80%);
        border-radius: 24px;
    }

    .signup-logo-big {
        width: 55%;
    }

    .signup-right-panel {
        flex: none;
        max-width: 100%;
        padding: 40px 20px;
    }

    .signup-form-container {
        max-width: 100%;
    }
}

/* =======================
   Signup Responsive - Mobile
======================= */

@media (max-width: 576px) {
    .signup-left-panel {
        height: 190px;
        padding: 20px;
    }

    .brand-inner-card {
        width: min(240px, 80%);
        border-radius: 20px;
    }

    .signup-logo-big {
        width: 55%;
    }

    .signup-right-panel {
        padding: 32px 16px;
    }

    .signup-title {
        font-size: 1.9rem;
    }

    .signup-top-logo-img {
        height: 36px;
    }

    .btn-signup-submit {
        height: 48px;
        font-size: 1rem;
    }
}

/* =======================
   OTP Page
======================= */

.otp-heading {
    text-align: center;
    margin-bottom: 40px;
}

.otp-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #12141D;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    font-family: 'Cairo', sans-serif;
}

.otp-subtitle {
    font-size: 0.95rem;
    color: #A6A6A6;
    margin-bottom: 0;
    font-weight: 400;
    font-family: 'Cairo', sans-serif;
    direction: ltr;
    unicode-bidi: embed;
}

/* =======================
   OTP Inputs Row
======================= */

.otp-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.otp-inputs-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
    direction: ltr;
}

.otp-input {
    width: 90px;
    height: 90px;
    background-color: #F5F5F5;
    border: 1.5px solid transparent;
    border-radius: 14px;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    color: #12141D;
    text-align: center;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    caret-color: #1E4C43;
}

.otp-input:focus {
    border-color: #1E4C43;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(30, 76, 67, 0.08);
}

.otp-input:hover:not(:focus) {
    border-color: #c8d5d2;
}

.otp-input.otp-filled {
    border-color: #1E4C43;
    background-color: #fff;
}

.otp-input.otp-error {
    border-color: #e74c3c;
    background-color: #fff9f9;
}

/* =======================
   OTP Resend
======================= */

.otp-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 36px;
    flex-direction: row-reverse;
}

.otp-resend-text {
    font-size: 0.9rem;
    color: #A6A6A6;
    font-family: 'Cairo', sans-serif;
}

.otp-resend-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1E4C43;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.otp-resend-link:hover {
    color: #338071;
    text-decoration: underline;
}

/* =======================
   OTP Action Buttons
======================= */

.otp-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    direction: rtl;
}

.btn-otp-confirm {
    flex: 1;
    height: 54px;
    background-color: #1E4C43;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-otp-confirm:hover {
    background-color: #163830;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 76, 67, 0.3);
}

.btn-otp-confirm:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-otp-back {
    flex: 1;
    height: 54px;
    background-color: #fff;
    color: #12141D;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    border: 1.5px solid #E0E0E0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-otp-back:hover {
    border-color: #1E4C43;
    color: #1E4C43;
    background-color: #f4f8f7;
}

/* =======================
   OTP Responsive - Tablet
======================= */

@media (max-width: 991px) {
    .otp-title {
        font-size: 1.8rem;
    }

    .otp-input {
        width: 72px;
        height: 72px;
        font-size: 1.6rem;
        border-radius: 12px;
    }

    .otp-inputs-row {
        gap: 14px;
    }
}

/* =======================
   OTP Responsive - Mobile
======================= */

@media (max-width: 576px) {
    .otp-title {
        font-size: 1.5rem;
    }

    .otp-subtitle {
        font-size: 0.85rem;
    }

    .otp-input {
        width: 58px;
        height: 58px;
        font-size: 1.3rem;
        border-radius: 10px;
    }

    .otp-inputs-row {
        gap: 10px;
    }

    .otp-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-otp-confirm,
    .btn-otp-back {
        height: 48px;
        font-size: 1rem;
    }
}

/* =======================
   Login Page
======================= */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 8px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
}

.login-remember-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: #4a4a4a;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    user-select: none;
}

.login-checkbox {
    width: 17px;
    height: 17px;
    accent-color: #1E4C43;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
}

.login-forgot {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1E4C43;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-forgot:hover {
    color: #338071;
    text-decoration: underline;
}

/* =======================
   Dashboard - Base
======================= */

.db-body {
    font-family: 'Cairo', sans-serif;
    background-color: #f2f3f5;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    direction: rtl;
    font-size: 14px;
    color: #1a1a2e;
}

.db-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =======================
   Dashboard - Footer
======================= */

.db-footer {
    margin-top: auto;
    background-color: #ffffff;
    border-top: 1px solid #e8eaed;
    padding: 16px 32px;
    text-align: center;
}

.db-footer-copy {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    color: #aaa;
}

/* =======================
   Dashboard - Topbar
======================= */

.db-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e8eaed;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.db-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 58px;
    gap: 20px;
}

/* Logo */
.db-topbar-logo {
    flex-shrink: 0;
}

.db-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Center Nav */
.db-topbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.db-nav-link {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.db-nav-link:hover,
.db-nav-link.active {
    color: #1E4C43;
    background-color: #f0f5f3;
}

.db-nav-link i {
    font-size: 0.85rem;
}

.db-nav-arrow {
    font-size: 0.75rem;
    color: #999;
}

/* Actions: Search + Notif + User */
.db-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* Search */
.db-search-wrap {
    display: flex;
    align-items: center;
    background-color: #f5f6f8;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    height: 38px;
}

.db-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #333;
    padding: 0 12px;
    width: 200px;
    text-align: right;
    direction: rtl;
}

.db-search-input::placeholder {
    color: #aaa;
}

.db-search-btn {
    background: none;
    border: none;
    padding: 0 12px;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.2s;
    height: 100%;
    display: flex;
    align-items: center;
}

.db-search-btn:hover {
    color: #1E4C43;
}

/* Notification */
.db-notif-wrap {
    position: relative;
}

.db-notif-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 1.15rem;
    color: #555;
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.db-notif-btn:hover {
    background-color: #f0f5f3;
    color: #1E4C43;
}

.db-notif-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: #e74c3c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

/* User */
.db-user-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 10px;
    transition: background-color 0.2s;
    position: relative;
}

.db-user-wrap:hover {
    background-color: #f0f5f3;
}

.db-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E4C43, #52b788);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-user-avatar-lg {
    width: 44px;
    height: 44px;
    font-size: 0.92rem;
}

.db-user-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    font-family: 'Cairo', sans-serif;
}

.db-user-arrow {
    font-size: 0.72rem;
    color: #999;
    transition: transform 0.2s ease;
}

.db-user-arrow.rotated {
    transform: rotate(180deg);
}

/* User Dropdown */
.db-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 230px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    border: 1px solid #edf0f2;
    z-index: 1050;
    overflow: hidden;
    animation: notifFadeIn 0.18s ease;
}

.db-user-dropdown.open {
    display: block;
}

.db-user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
}

.db-user-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.db-user-dropdown-name {
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-user-dropdown-email {
    font-family: 'Cairo', sans-serif;
    font-size: 0.72rem;
    color: #aaa;
    direction: ltr;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.db-user-dropdown-divider {
    height: 1px;
    background-color: #f0f3f2;
    margin: 0;
}

.db-user-dropdown-menu {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}

.db-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.db-user-dropdown-item i {
    font-size: 0.9rem;
    color: #888;
    width: 18px;
    text-align: center;
    transition: color 0.15s;
}

.db-user-dropdown-item:hover {
    background-color: #f8fbfa;
    color: #1E4C43;
}

.db-user-dropdown-item:hover i {
    color: #1E4C43;
}

.db-user-logout {
    color: #e74c3c;
}

.db-user-logout i {
    color: #e74c3c;
}

.db-user-logout:hover {
    background-color: #fdecea;
    color: #c0392b;
}

.db-user-logout:hover i {
    color: #c0392b;
}

/* =======================
   Dashboard - Main Content
======================= */

.db-main {
    flex: 1;
    padding: 28px;
}

.db-content {
    max-width: 1300px;
    margin: 0 auto;
}

.db-page-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 22px;
    font-family: 'Cairo', sans-serif;
}

/* =======================
   Dashboard - Stat Cards
======================= */

.db-stat-card {
    background-color: #fff;
    border-radius: 14px;
    padding: 20px 20px 16px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.db-stat-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.db-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #888;
    font-family: 'Cairo', sans-serif;
    line-height: 1.4;
    max-width: 70%;
}

.db-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #f0f5f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E4C43;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.db-stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #1a1a2e;
    font-family: 'Cairo', sans-serif;
    line-height: 1.1;
    margin-bottom: 12px;
}

.db-stat-bar {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.db-stat-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

.db-bar-dark {
    background-color: #1E4C43;
}

.db-bar-green {
    background-color: #52b788;
}

.db-bar-yellow {
    background-color: #f4a71d;
}

.db-bar-red {
    background-color: #e74c3c;
}

/* =======================
   Dashboard - Cards
======================= */

.db-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.db-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.db-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

.db-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #888;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
}

/* =======================
   Dashboard - Sales Chart
======================= */

.db-chart-wrap {
    position: relative;
    height: 260px;
}

/* =======================
   Dashboard - Shipped Orders
======================= */

.db-shipped-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.db-shipped-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.db-shipped-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-shipped-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-teal {
    background-color: #1E4C43;
}

.dot-yellow {
    background-color: #f4a71d;
}

.dot-purple {
    background-color: #8e44ad;
}

.dot-red {
    background-color: #e74c3c;
}

.dot-blue {
    background-color: #3498db;
}

.db-shipped-lbl {
    font-size: 0.82rem;
    color: #888;
    font-family: 'Cairo', sans-serif;
    flex: 1;
}

.db-shipped-val {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
    font-family: 'Cairo', sans-serif;
    min-width: 28px;
    text-align: left;
}

.db-donut-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.db-donut-wrap canvas {
    width: 160px !important;
    height: 160px !important;
}

.db-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.db-donut-label {
    font-size: 0.65rem;
    color: #888;
    font-family: 'Cairo', sans-serif;
    line-height: 1.4;
}

.db-donut-number {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1a1a2e;
    font-family: 'Cairo', sans-serif;
    line-height: 1;
    margin-top: 2px;
}

/* =======================
   Dashboard - View All Button
======================= */

.db-btn-view-all {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #fff;
    border: 1.5px solid #dde0e4;
    border-radius: 8px;
    padding: 6px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.db-btn-view-all:hover {
    border-color: #1E4C43;
    color: #1E4C43;
}

/* =======================
   Dashboard - Orders List
======================= */

.db-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.db-order-item {
    border: 1.5px solid #edf0f2;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.2s ease;
}

.db-order-item:hover {
    border-color: #c8d8d4;
}

.db-order-menu {
    flex-shrink: 0;
}

.db-order-menu-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.db-order-menu-btn:hover {
    background-color: #f0f5f3;
    color: #1E4C43;
}

.db-order-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    align-items: center;
}

.db-order-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.db-order-field-label {
    font-size: 0.75rem;
    color: #aaa;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.db-order-field-value {
    font-size: 0.85rem;
    color: #1a1a2e;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.db-order-id {
    color: #1E4C43;
    font-weight: 700;
}

/* Status Badge */
.db-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
}

.status-pending {
    border: 1.5px solid #1E4C43;
    color: #1E4C43;
    background: transparent;
}

.status-shipped {
    border: 1.5px solid #52b788;
    color: #52b788;
    background: transparent;
}

.status-delivered {
    border: 1.5px solid #27ae60;
    color: #27ae60;
    background: transparent;
}

.status-cancelled {
    border: 1.5px solid #e74c3c;
    color: #e74c3c;
    background: transparent;
}

.status-duplicate {
    border: 1.5px solid #9e9e9e;
    color: #9e9e9e;
    background: transparent;
}

/* =======================
   Dashboard - Responsive Tablet
======================= */

@media (max-width: 991px) {
    .db-topbar-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .db-search-input {
        width: 140px;
    }

    .db-user-name {
        display: none;
    }

    .db-main {
        padding: 20px 16px;
    }

    .db-shipped-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .db-donut-wrap {
        margin: 0 auto;
    }

    .db-order-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =======================
   Dashboard - Responsive Mobile
======================= */

@media (max-width: 576px) {
    .db-topbar-inner {
        padding: 0 12px;
        gap: 8px;
    }

    .db-topbar-nav {
        display: none;
    }

    .db-search-wrap {
        display: none;
    }

    .db-page-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .db-main {
        padding: 16px 12px;
    }

    .db-stat-value {
        font-size: 1.6rem;
    }

    .db-order-grid {
        grid-template-columns: 1fr 1fr;
    }

    .db-card {
        padding: 16px;
    }
}

/* =======================
   Dashboard - Mega Menu
======================= */

.db-mega-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}

.db-mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 50%;
    transform: translateX(50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 20px 24px;
    z-index: 200;
    min-width: 520px;
    border: 1px solid #edf0f2;
}

.db-mega-menu.open {
    display: block;
    animation: megaFadeIn 0.18s ease;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateX(50%) translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateX(50%) translateY(0);
    }
}

.db-mega-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    direction: rtl;
}

.db-mega-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 12px;
    border: 1px solid #edf0f2;
    text-decoration: none;
    color: #1a1a2e;
    font-family: 'Cairo', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    line-height: 1.3;
}

.db-mega-item:hover {
    border-color: #1E4C43;
    background-color: #f0f5f3;
    color: #1E4C43;
}

.db-mega-item:hover .db-mega-icon {
    color: #1E4C43;
}

.db-mega-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1E4C43;
}

/* Row 2: push first item to column 5 so the 2 items sit at the left side of the RTL grid */
.db-mega-row2-start {
    grid-column: 5;
}

/* Arrow rotation when open */
.db-nav-arrow {
    transition: transform 0.2s ease;
}

.db-nav-arrow.rotated {
    transform: rotate(180deg);
}

/* =======================
   Dashboard - Notification Dropdown
======================= */

.db-notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 360px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    border: 1px solid #edf0f2;
    z-index: 1050;
    overflow: hidden;
    animation: notifFadeIn 0.18s ease;
}

.db-notif-dropdown.open {
    display: block;
}

@keyframes notifFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.db-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f0f3f2;
}

.db-notif-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.db-notif-mark-all {
    font-family: 'Cairo', sans-serif;
    font-size: 0.78rem;
    color: #1E4C43;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s;
}

.db-notif-mark-all:hover {
    opacity: 0.75;
}

.db-notif-list {
    max-height: 320px;
    overflow-y: auto;
}

.db-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid #f5f7f6;
    position: relative;
    transition: background-color 0.15s;
    cursor: pointer;
}

.db-notif-item:last-child {
    border-bottom: none;
}

.db-notif-item:hover {
    background-color: #f8fbfa;
}

.db-notif-item.unread {
    background-color: #f2f9f6;
}

.db-notif-item.unread:hover {
    background-color: #e8f5ef;
}

.db-notif-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.db-notif-item-icon.icon-order {
    background-color: #e8f5ef;
    color: #1E4C43;
}

.db-notif-item-icon.icon-ship {
    background-color: #e8f0fb;
    color: #3498db;
}

.db-notif-item-icon.icon-warning {
    background-color: #fef6e4;
    color: #f4a71d;
}

.db-notif-item-icon.icon-return {
    background-color: #fdecea;
    color: #e74c3c;
}

.db-notif-item-body {
    flex: 1;
    min-width: 0;
}

.db-notif-item-text {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    color: #2c2c2c;
    margin: 0 0 3px;
    line-height: 1.5;
}

.db-notif-item-text strong {
    color: #1E4C43;
    font-weight: 700;
}

.db-notif-item-time {
    font-family: 'Cairo', sans-serif;
    font-size: 0.72rem;
    color: #aaa;
}

.db-notif-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #1E4C43;
    flex-shrink: 0;
    margin-top: 6px;
}

.db-notif-footer {
    padding: 12px 18px;
    text-align: center;
    border-top: 1px solid #f0f3f2;
}

.db-notif-view-all {
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #1E4C43;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.15s;
}

.db-notif-view-all:hover {
    opacity: 0.75;
}

/* =======================
   Orders Page
======================= */

/* Page Header */
.orders-page-header {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.orders-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
}

.orders-breadcrumb-home {
    color: #aaa;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.15s;
}

.orders-breadcrumb-home:hover {
    color: #1E4C43;
}

.orders-breadcrumb-sep {
    font-size: 0.65rem;
    color: #ccc;
}

.orders-breadcrumb-current {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    color: #888;
    font-weight: 500;
}

.orders-page-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

/* Add Order Button */
.orders-actions-top {
    margin-bottom: 20px;
}

.btn-orders-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1E4C43;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-orders-add:hover {
    background-color: #163a33;
}

.btn-orders-add i {
    font-size: 0.85rem;
}

/* Filters Card */
.orders-filters-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.orders-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.orders-filter-row-dates {
    align-items: flex-end;
}

.orders-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.orders-filter-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
}

/* Select */
.orders-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.orders-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #dde1e6;
    border-radius: 9px;
    padding: 9px 14px 9px 36px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    min-width: 120px;
    outline: none;
    transition: border-color 0.2s;
}

.orders-select:focus {
    border-color: #1E4C43;
}

.orders-select-arrow {
    position: absolute;
    left: 12px;
    font-size: 0.7rem;
    color: #888;
    pointer-events: none;
}

/* Search field */
.orders-filter-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
}

.orders-search-input {
    width: 100%;
    border: 1px solid #dde1e6;
    border-radius: 9px;
    padding: 9px 40px 9px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.orders-search-input:focus {
    border-color: #1E4C43;
}

.orders-search-input::placeholder {
    color: #bbb;
}

.orders-search-icon {
    position: absolute;
    right: 13px;
    color: #bbb;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Search button */
.btn-orders-search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #1E4C43;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 9px 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-orders-search:hover {
    background-color: #163a33;
}

/* Export buttons */
.orders-export-btns {
    display: flex;
    gap: 10px;
    margin-right: auto;
}

.btn-orders-export {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #dde1e6;
    border-radius: 9px;
    padding: 8px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-orders-export:hover {
    border-color: #1E4C43;
    color: #1E4C43;
}

.btn-orders-export i {
    font-size: 0.9rem;
    color: #1E4C43;
}

/* Date input */
.orders-filter-date {
    flex: 1;
    min-width: 180px;
}

.orders-date-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.orders-date-input {
    width: 100%;
    border: 1px solid #dde1e6;
    border-radius: 9px;
    padding: 9px 42px 9px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #333;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
}

.orders-date-input:focus {
    border-color: #1E4C43;
}

.orders-date-input::placeholder {
    color: #bbb;
}

.orders-date-icon {
    position: absolute;
    right: 13px;
    color: #888;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Filter actions */
.orders-filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.btn-orders-clear {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #dde1e6;
    border-radius: 9px;
    padding: 9px 18px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-orders-clear:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Orders Table Card */
.orders-table-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.orders-table-wrap {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

/* Table Head */
.orders-table-head tr {
    background-color: #f7f9f8;
    border-bottom: 1.5px solid #edf0f2;
}

.orders-table-head th {
    font-family: 'Cairo', sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    color: #555;
    padding: 14px 18px;
    text-align: right;
    white-space: nowrap;
}

.orders-table-head th:last-child {
    text-align: left;
}

/* Table Body */
.orders-table-row {
    border-bottom: 1px solid #f2f4f3;
    transition: background-color 0.15s;
}

.orders-table-row:last-child {
    border-bottom: none;
}

.orders-table-row:hover {
    background-color: #f8fbfa;
}

.orders-table-row td {
    padding: 13px 18px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.84rem;
    color: #333;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

.orders-td-id {
    font-weight: 700;
    color: #1a1a2e !important;
    font-size: 0.82rem !important;
    direction: ltr;
    text-align: right !important;
}

.orders-td-profit {
    font-weight: 700;
    color: #1a1a2e !important;
    direction: ltr;
}

.orders-td-date {
    color: #777 !important;
    direction: ltr;
}

.orders-td-products {
    direction: ltr;
    text-align: right !important;
}

.orders-td-actions {
    text-align: left !important;
}

/* Status Badge */
.orders-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-shipped {
    background-color: #e8f5ef;
    color: #1E4C43;
    border: 1.5px solid #b2ddc8;
}

.badge-processing {
    background-color: #fef6e4;
    color: #d68910;
    border: 1.5px solid #f9d77a;
}

.badge-cancelled {
    background-color: #fdecea;
    color: #c0392b;
    border: 1.5px solid #f5b7b1;
}

.badge-returned {
    background-color: #f0ecfb;
    color: #7d3c98;
    border: 1.5px solid #d2b4de;
}

.badge-pending {
    background-color: #eaf4fb;
    color: #2471a3;
    border: 1.5px solid #aed6f1;
}

.badge-confirmed {
    background-color: #eaf4fb;
    color: #1b6ec2;
    border: 1.5px solid #b8d9f7;
}

.badge-received {
    background-color: #e8f5ef;
    color: #1e8449;
    border: 1.5px solid #abe3c4;
}

/* Table action buttons */
.tbl-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tbl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.18s, color 0.18s;
    background: none;
    text-decoration: none;
}

.tbl-btn-view {
    color: #2471a3;
    background-color: #eaf4fb;
}

.tbl-btn-view:hover {
    background-color: #aed6f1;
    color: #1a5276;
}

.tbl-btn-edit {
    color: #1E4C43;
    background-color: #e8f5ef;
}

.tbl-btn-edit:hover {
    background-color: #b2ddc8;
    color: #163a33;
}

.tbl-btn-delete {
    color: #c0392b;
    background-color: #fdecea;
}

.tbl-btn-delete:hover {
    background-color: #f5b7b1;
    color: #922b21;
}

/* Active nav link */
.db-nav-link-active {
    background-color: rgba(30, 76, 67, 0.08) !important;
    color: #1E4C43 !important;
    border-radius: 8px;
    padding: 6px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =======================
   Orders Page - Responsive
======================= */

@media (max-width: 991px) {
    .orders-export-btns {
        margin-right: 0;
        width: 100%;
    }

    .orders-filter-row {
        gap: 10px;
    }

    .orders-filter-search {
        min-width: 140px;
    }
}

@media (max-width: 767px) {
    .orders-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .orders-filter-search {
        min-width: unset;
    }

    .orders-export-btns {
        flex-direction: column;
    }

    .btn-orders-export {
        justify-content: center;
    }

    .orders-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .orders-filter-actions .btn-orders-search,
    .btn-orders-clear {
        justify-content: center;
    }

    .orders-filter-date {
        min-width: unset;
    }
}

/* =======================
   Products Page
======================= */

/* Product image thumbnail cell */
.products-td-img {
    padding: 8px 18px !important;
    vertical-align: middle;
}

.products-img-wrap {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #edf0f2;
    background-color: #f7f9f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.products-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products-thumb-placeholder {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1.1rem;
    background-color: #f2f4f3;
}

/* Product name cell */
.products-td-name {
    font-weight: 700;
    color: #1a1a2e !important;
    font-size: 0.86rem !important;
}

/* Price cell */
.products-td-price {
    font-weight: 700;
    color: #1a1a2e !important;
    direction: ltr;
    text-align: right !important;
}

/* Stock cells */
.products-td-stock {
    color: #444 !important;
    font-weight: 600;
    text-align: center !important;
}

/* Category cell */
.products-td-cat {
    color: #555 !important;
}

/* Actions column header alignment */
.products-th-actions {
    text-align: left !important;
}

/* Ensure image column header is centered */
.orders-table-head th:nth-child(2) {
    text-align: center;
}

/* Stock column headers centered */
.orders-table-head th:nth-child(5),
.orders-table-head th:nth-child(6),
.orders-table-head th:nth-child(7) {
    text-align: center;
}

/* =======================
   Products Page - Responsive
======================= */

@media (max-width: 991px) {
    .products-img-wrap {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 767px) {
    .products-img-wrap {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }
}

/* =======================
   Add Product Page
======================= */

/* Breadcrumb link */
.orders-breadcrumb-link {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    color: #888;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}

.orders-breadcrumb-link:hover {
    color: #1E4C43;
}

/* Card */
.ap-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.ap-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #f0f3f2;
    gap: 12px;
}

.ap-card-title {
    font-family: 'Cairo', sans-serif;
    font-size: 0.97rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ap-card-title i {
    color: #1E4C43;
    font-size: 0.9rem;
}

.ap-card-body {
    padding: 22px;
}

/* Form group */
.ap-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.ap-form-group.mb-0 {
    margin-bottom: 0;
}

/* Label */
.ap-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c2c2c;
}

.ap-required {
    color: #e74c3c;
    margin-right: 2px;
}

/* Input */
.ap-input {
    width: 100%;
    height: 44px;
    background-color: #f7f9f8;
    border: 1.5px solid #e8eaed;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 0.87rem;
    font-family: 'Cairo', sans-serif;
    color: #1a1a2e;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.ap-input::placeholder {
    color: #c0c0c0;
    font-size: 0.83rem;
}

.ap-input:focus {
    border-color: #1E4C43;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(30, 76, 67, 0.08);
}

.ap-input:hover:not(:focus) {
    border-color: #c8d5d2;
}

/* Textarea */
.ap-textarea {
    width: 100%;
    background-color: #f7f9f8;
    border: 1.5px solid #e8eaed;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.87rem;
    font-family: 'Cairo', sans-serif;
    color: #1a1a2e;
    outline: none;
    resize: vertical;
    min-height: 110px;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    line-height: 1.7;
}

.ap-textarea::placeholder {
    color: #c0c0c0;
    font-size: 0.83rem;
}

.ap-textarea:focus {
    border-color: #1E4C43;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(30, 76, 67, 0.08);
}

/* Input with prefix (currency) */
.ap-input-prefix-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ap-input-prefix {
    position: absolute;
    right: 13px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    pointer-events: none;
    z-index: 1;
}

.ap-input-prefixed {
    padding-right: 46px !important;
    text-align: left;
}

/* Select */
.ap-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.ap-select {
    width: 100%;
    height: 44px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #f7f9f8;
    border: 1.5px solid #e8eaed;
    border-radius: 10px;
    padding: 0 14px 0 36px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    color: #1a1a2e;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.ap-select:focus {
    border-color: #1E4C43;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(30, 76, 67, 0.08);
}

.ap-select-arrow {
    position: absolute;
    left: 13px;
    font-size: 0.7rem;
    color: #888;
    pointer-events: none;
}

/* Upload Zone */
.ap-upload-zone {
    border: 2px dashed #c8d5d2;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    background-color: #f7f9f8;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    position: relative;
}

.ap-upload-zone:hover,
.ap-upload-zone.dragover {
    border-color: #1E4C43;
    background-color: #f0f5f3;
}

.ap-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.ap-upload-icon {
    font-size: 2rem;
    color: #1E4C43;
    margin-bottom: 10px;
}

.ap-upload-text {
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px;
}

.ap-upload-sub {
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    color: #aaa;
    margin: 0 0 10px;
}

.ap-upload-btn {
    display: inline-flex;
    align-items: center;
    background-color: #1E4C43;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
    z-index: 2;
}

.ap-upload-btn:hover {
    background-color: #163a33;
}

.ap-upload-hint {
    font-family: 'Cairo', sans-serif;
    font-size: 0.72rem;
    color: #bbb;
    margin: 8px 0 0;
}

/* Image preview grid */
.ap-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.ap-preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 1.5px solid #edf0f2;
}

.ap-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ap-preview-remove {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.85);
    border: none;
    color: #fff;
    font-size: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
}

.ap-preview-remove:hover {
    background: #c0392b;
}

/* Variants */
.ap-variant-row {
    background-color: #f7f9f8;
    border: 1px solid #edf0f2;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.ap-variant-row:last-child {
    margin-bottom: 0;
}

.ap-btn-remove-variant {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background-color: #fdecea;
    color: #e74c3c;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.ap-btn-remove-variant:hover {
    background-color: #f5b7b1;
    color: #922b21;
}

.ap-btn-add-variant {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e8f5ef;
    color: #1E4C43;
    border: 1.5px solid #b2ddc8;
    border-radius: 8px;
    padding: 6px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.ap-btn-add-variant:hover {
    background-color: #d4eddf;
    border-color: #1E4C43;
}

.ap-variants-hint {
    font-family: 'Cairo', sans-serif;
    font-size: 0.78rem;
    color: #aaa;
    margin: 14px 0 0;
    text-align: center;
}

/* Form action buttons */
.ap-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 4px;
}

.ap-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1E4C43;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px 28px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.ap-btn-submit:hover {
    background-color: #163a33;
}

.ap-btn-cancel {
    display: inline-flex;
    align-items: center;
    padding: 11px 24px;
    border: 1.5px solid #dde1e6;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: border-color 0.2s, color 0.2s;
}

.ap-btn-cancel:hover {
    border-color: #aaa;
    color: #333;
}

/* =======================
   Show Product Page
======================= */

/* Title row with action buttons */
.sp-page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-title-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #e8f5ef;
    color: #1E4C43;
    border: 1.5px solid #b2ddc8;
    border-radius: 10px;
    padding: 8px 18px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.18s, border-color 0.18s;
}

.sp-btn-edit:hover {
    background-color: #d4eddf;
    border-color: #1E4C43;
    color: #1E4C43;
}

.sp-btn-delete {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #fdecea;
    color: #c0392b;
    border: 1.5px solid #f5b7b1;
    border-radius: 10px;
    padding: 8px 18px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s, border-color 0.18s;
}

.sp-btn-delete:hover {
    background-color: #f5b7b1;
    border-color: #c0392b;
}

/* Image gallery */
.sp-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-main-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #edf0f2;
    background-color: #f7f9f8;
}

.sp-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-main-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #bbb;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
}

.sp-main-img-placeholder i {
    font-size: 3rem;
    color: #dde1e6;
}

.sp-thumbs-row {
    display: flex;
    gap: 10px;
}

.sp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #edf0f2;
    background-color: #f7f9f8;
    cursor: pointer;
    transition: border-color 0.18s;
    flex-shrink: 0;
}

.sp-thumb:hover {
    border-color: #1E4C43;
}

.sp-thumb-active {
    border-color: #1E4C43;
}

.sp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dde1e6;
    font-size: 1.2rem;
}

/* Info grid */
.sp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.sp-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 0;
    border-bottom: 1px solid #f2f4f3;
}

.sp-info-item:nth-last-child(1),
.sp-info-item:nth-last-child(2) {
    border-bottom: none;
}

.sp-info-item-full {
    grid-column: 1 / -1;
}

.sp-info-item-full:last-child {
    border-bottom: none;
}

.sp-info-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.77rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sp-info-value {
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.5;
}

.sp-info-code {
    font-family: 'Cairo', sans-serif;
    direction: ltr;
    display: inline-block;
    color: #1E4C43;
}

.sp-info-price {
    color: #1E4C43;
    font-size: 1rem !important;
}

.sp-info-desc {
    font-weight: 500 !important;
    color: #555 !important;
    font-size: 0.87rem !important;
    line-height: 1.7 !important;
}

/* Variants table */
.sp-variants-table-wrap {
    overflow-x: auto;
}

.sp-variants-table {
    width: 100%;
    border-collapse: collapse;
}

.sp-variants-table thead tr {
    background-color: #f7f9f8;
    border-bottom: 1.5px solid #edf0f2;
}

.sp-variants-table th {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #666;
    padding: 11px 16px;
    text-align: right;
}

.sp-variants-table td {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    color: #333;
    font-weight: 600;
    padding: 11px 16px;
    border-bottom: 1px solid #f2f4f3;
    text-align: right;
}

.sp-variants-table tbody tr:last-child td {
    border-bottom: none;
}

.sp-variants-table tbody tr:hover {
    background-color: #f8fbfa;
}

/* Stock card */
.sp-stock-list {
    display: flex;
    flex-direction: column;
}

.sp-stock-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

.sp-stock-divider {
    height: 1px;
    background-color: #f2f4f3;
}

.sp-stock-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sp-stock-icon-site {
    background-color: #eaf4fb;
    color: #2471a3;
}

.sp-stock-icon-real {
    background-color: #e8f5ef;
    color: #1E4C43;
}

.sp-stock-icon-damage {
    background-color: #fef6e4;
    color: #d68910;
}

.sp-stock-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.sp-stock-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
}

.sp-stock-value {
    font-family: 'Cairo', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a2e;
}

/* Pricing summary */
.sp-price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp-price-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #777;
    font-weight: 600;
}

.sp-price-val {
    font-family: 'Cairo', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a2e;
    direction: ltr;
}

.sp-price-divider {
    height: 1px;
    background-color: #edf0f2;
    margin: 4px 0;
}

.sp-price-row-profit .sp-price-label {
    color: #1E4C43;
    font-weight: 700;
}

.sp-price-profit {
    color: #1E4C43 !important;
    font-size: 1.05rem !important;
}

/* Meta list */
.sp-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f2f4f3;
}

.sp-meta-item:last-child {
    border-bottom: none;
}

.sp-meta-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    color: #999;
    font-weight: 600;
}

.sp-meta-value {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: #1a1a2e;
    direction: ltr;
}

.sp-meta-code {
    color: #1E4C43;
}

/* Back button */
.sp-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    background-color: #fff;
    color: #555;
    border: 1.5px solid #dde1e6;
    border-radius: 10px;
    padding: 11px 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.18s, color 0.18s;
}

.sp-btn-back:hover {
    border-color: #1E4C43;
    color: #1E4C43;
}

/* Delete confirmation modal */
.sp-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.sp-modal-overlay.open {
    display: flex;
}

.sp-modal {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px 28px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    animation: modalPop 0.22s ease;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sp-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fdecea;
    color: #e74c3c;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.sp-modal-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.sp-modal-text {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    color: #777;
    margin: 0 0 24px;
    line-height: 1.7;
}

.sp-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sp-modal-btn-cancel {
    flex: 1;
    padding: 10px;
    border: 1.5px solid #dde1e6;
    border-radius: 10px;
    background: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: border-color 0.18s;
}

.sp-modal-btn-cancel:hover {
    border-color: #aaa;
}

.sp-modal-btn-confirm {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-color: #e74c3c;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.18s;
}

.sp-modal-btn-confirm:hover {
    background-color: #c0392b;
}

/* =======================
   Add Product Page - Responsive
======================= */

@media (max-width: 991px) {
    .ap-card-body {
        padding: 18px;
    }

    .ap-form-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .ap-card-header {
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .ap-card-body {
        padding: 16px;
    }

    .ap-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =======================
   Wallet Page
======================= */

/* Override table card to remove the 900px min-width for wallet's simple 3-col table */
.wlt-table-card .orders-table-wrap {
    overflow-x: auto;
}

.wlt-table {
    min-width: unset !important;
    width: 100%;
}

/* Card header — total expenses banner */
.wlt-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #f0f3f2;
}

.wlt-total-label {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.wlt-total-value {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #1E4C43;
    direction: ltr;
}

/* Column widths */
.wlt-th-item,
.wlt-td-item {
    width: 50%;
    text-align: right;
}

.wlt-th-count,
.wlt-td-count {
    width: 25%;
    text-align: center !important;
}

.wlt-th-total,
.wlt-td-total {
    width: 25%;
    text-align: left !important;
    direction: ltr;
}

/* Cell styling */
.wlt-td-item {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
}

.wlt-td-count {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.wlt-td-total {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* Remove min-width from wallet table head too */
.wlt-table-card .orders-table-head th {
    white-space: nowrap;
}

/* Head alignment overrides */
.wlt-table-card .orders-table-head .wlt-th-count {
    text-align: center;
}

.wlt-table-card .orders-table-head .wlt-th-total {
    text-align: left;
}

/* Row cells vertical padding — slightly more spacious to match design */
.wlt-table td {
    padding: 15px 22px;
}

.wlt-table th {
    padding: 14px 22px;
}

/* =======================
   Wallet Page - Responsive
======================= */

@media (max-width: 767px) {
    .wlt-card-header {
        padding: 14px 16px 12px;
    }

    .wlt-table td,
    .wlt-table th {
        padding: 12px 14px;
    }
}

/* =======================
   Add Ticket Page
======================= */

/* Upload zone variant for ticket attachments */
.at-upload-zone {
    padding: 20px 16px !important;
}

/* Attached files list */
.at-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.at-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f7f9f8;
    border: 1px solid #edf0f2;
    border-radius: 10px;
    padding: 10px 14px;
}

.at-file-icon {
    font-size: 1.1rem;
    color: #1E4C43;
    flex-shrink: 0;
}

.at-file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.at-file-name {
    font-family: 'Cairo', sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.at-file-size {
    font-family: 'Cairo', sans-serif;
    font-size: 0.72rem;
    color: #aaa;
}

.at-file-remove {
    background: none;
    border: none;
    cursor: pointer;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 0.78rem;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.at-file-remove:hover {
    background-color: #fdecea;
    color: #e74c3c;
}

/* Tips card */
.at-tips-card {
    border: 1.5px solid #e8f5ef;
}

.at-tips-card .ap-card-header {
    background-color: #f2f9f6;
    border-bottom-color: #e0f0e8;
}

.at-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.at-tips-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.6;
}

.at-tip-icon {
    color: #1E4C43;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Response time card */
.at-response-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.at-response-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f4f3;
}

.at-response-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.at-priority-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.at-dot-normal {
    background-color: #3498db;
}

.at-dot-medium {
    background-color: #f4a71d;
}

.at-dot-urgent {
    background-color: #e74c3c;
}

.at-dot-critical {
    background-color: #8e44ad;
}

.at-response-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.at-response-time {
    font-family: 'Cairo', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1E4C43;
}

/* =======================
   View Ticket Page
======================= */

/* Status badge in title row */
.vt-status-badge {
    font-size: 0.82rem !important;
    padding: 5px 16px !important;
}

/* Info bar (compact horizontal) */
.vt-info-card {
    border: none;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.vt-info-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 22px !important;
}

.vt-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 120px;
    padding: 4px 16px;
}

.vt-info-item:first-child {
    padding-right: 0;
}

.vt-info-item:last-child {
    padding-left: 0;
}

.vt-info-sep {
    width: 1px;
    height: 40px;
    background-color: #edf0f2;
    flex-shrink: 0;
}

.vt-info-label {
    font-family: 'Cairo', sans-serif;
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vt-info-label i {
    font-size: 0.7rem;
}

.vt-info-val {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: #1a1a2e;
}

.vt-info-id {
    color: #1E4C43;
    direction: ltr;
    display: inline-block;
}

/* Priority badges */
.vt-priority-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.vt-priority-normal {
    background-color: #eaf4fb;
    color: #2471a3;
    border: 1.5px solid #aed6f1;
}

.vt-priority-medium {
    background-color: #fef6e4;
    color: #d68910;
    border: 1.5px solid #f9d77a;
}

.vt-priority-urgent {
    background-color: #fdecea;
    color: #c0392b;
    border: 1.5px solid #f5b7b1;
}

.vt-priority-critical {
    background-color: #f0ecfb;
    color: #7d3c98;
    border: 1.5px solid #d2b4de;
}

/* Chat card */
.vt-chat-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vt-msg-count {
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 600;
}

/* Messages area */
.vt-chat-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px;
    max-height: 520px;
    overflow-y: auto;
    background-color: #fafbfa;
    border-top: 1px solid #f0f3f2;
    border-bottom: 1px solid #f0f3f2;
}

/* Scrollbar styling */
.vt-chat-body::-webkit-scrollbar {
    width: 4px;
}

.vt-chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.vt-chat-body::-webkit-scrollbar-thumb {
    background: #dde1e6;
    border-radius: 4px;
}

/* Message row */
.vt-msg {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 85%;
}

/* Vendor: right side */
.vt-msg-vendor {
    align-self: flex-end;
    flex-direction: row;
}

/* Admin: left side */
.vt-msg-admin {
    align-self: flex-start;
    flex-direction: row;
}

/* Avatars */
.vt-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.vt-avatar-vendor {
    background: linear-gradient(135deg, #1E4C43, #52b788);
    color: #fff;
    order: 2;
}

.vt-avatar-admin {
    background: linear-gradient(135deg, #2471a3, #5dade2);
    color: #fff;
    font-size: 0.85rem;
    order: 1;
}

/* Bubbles */
.vt-msg-bubble {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vt-bubble-vendor {
    background-color: #1E4C43;
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    padding: 12px 16px;
    order: 1;
}

.vt-bubble-admin {
    background-color: #fff;
    border: 1.5px solid #edf0f2;
    border-radius: 16px 16px 16px 4px;
    padding: 12px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    order: 2;
}

.vt-admin-name {
    font-family: 'Cairo', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    color: #2471a3;
    display: block;
    margin-bottom: 4px;
}

.vt-msg-text {
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

.vt-bubble-vendor .vt-msg-text {
    color: #fff;
}

.vt-bubble-admin .vt-msg-text {
    color: #333;
}

/* Meta (time + read tick) */
.vt-msg-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.vt-bubble-admin .vt-msg-meta {
    justify-content: flex-start;
}

.vt-msg-time {
    font-family: 'Cairo', sans-serif;
    font-size: 0.7rem;
}

.vt-bubble-vendor .vt-msg-time {
    color: rgba(255, 255, 255, 0.65);
}

.vt-bubble-admin .vt-msg-time {
    color: #aaa;
}

.vt-read-tick {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Attachment inside bubble */
.vt-attachment {
    margin-top: 6px;
}

.vt-attach-file {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 8px 12px;
}

.vt-bubble-admin .vt-attach-file {
    background-color: #f7f9f8;
    border-color: #edf0f2;
}

.vt-attach-icon {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.vt-bubble-admin .vt-attach-icon {
    color: #1E4C43;
}

.vt-attach-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.vt-attach-name {
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    direction: ltr;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vt-bubble-admin .vt-attach-name {
    color: #1a1a2e;
}

.vt-attach-size {
    font-family: 'Cairo', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.vt-bubble-admin .vt-attach-size {
    color: #aaa;
}

.vt-attach-download {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    transition: background-color 0.15s;
    flex-shrink: 0;
}

.vt-attach-download:hover {
    background: rgba(255, 255, 255, 0.35);
}

.vt-bubble-admin .vt-attach-download {
    background: #e8f5ef;
    color: #1E4C43;
}

.vt-bubble-admin .vt-attach-download:hover {
    background: #d4eddf;
}

/* Reply box */
.vt-reply-box {
    padding: 16px 22px 20px;
    background-color: #fff;
}

.vt-reply-inner {
    background-color: #f7f9f8;
    border: 1.5px solid #e8eaed;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.vt-reply-inner:focus-within {
    border-color: #1E4C43;
    box-shadow: 0 0 0 3px rgba(30, 76, 67, 0.08);
}

.vt-reply-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 14px 16px 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    color: #1a1a2e;
    resize: none;
    outline: none;
    line-height: 1.7;
}

.vt-reply-input::placeholder {
    color: #bbb;
}

.vt-reply-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 10px;
    border-top: 1px solid #edf0f2;
}

.vt-reply-attach-wrap {
    position: relative;
}

.vt-reply-file-input {
    display: none;
}

.vt-reply-attach-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
}

.vt-reply-attach-btn:hover {
    background-color: #e8f5ef;
    color: #1E4C43;
}

.vt-reply-send-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #1E4C43;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 8px 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.vt-reply-send-btn:hover {
    background-color: #163a33;
}

.vt-reply-files {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 10px;
}

.vt-reply-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e8f5ef;
    border: 1px solid #b2ddc8;
    border-radius: 20px;
    padding: 3px 10px 3px 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1E4C43;
}

.vt-reply-file-chip button {
    background: none;
    border: none;
    cursor: pointer;
    color: #1E4C43;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.vt-reply-file-chip button:hover {
    opacity: 1;
}

/* Timeline */
.vt-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 24px;
}

.vt-tl-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
    position: relative;
}

.vt-tl-item::before {
    content: '';
    position: absolute;
    right: -18px;
    top: 10px;
    bottom: -8px;
    width: 2px;
    background-color: #edf0f2;
}

.vt-tl-item-last::before {
    display: none;
}

.vt-tl-dot {
    position: absolute;
    right: -23px;
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px currentColor;
    flex-shrink: 0;
}

.vt-tl-dot-green {
    background-color: #1E4C43;
    color: #1E4C43;
}

.vt-tl-dot-blue {
    background-color: #2471a3;
    color: #2471a3;
}

.vt-tl-dot-amber {
    background-color: #f4a71d;
    color: #f4a71d;
}

.vt-tl-dot-gray {
    background-color: #ccc;
    color: #ccc;
}

.vt-tl-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vt-tl-title {
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a2e;
}

.vt-tl-pending {
    color: #aaa !important;
}

.vt-tl-time {
    font-family: 'Cairo', sans-serif;
    font-size: 0.75rem;
    color: #aaa;
}

/* =======================
   Support Pages - Responsive
======================= */

@media (max-width: 991px) {
    .vt-info-body {
        flex-wrap: wrap;
        gap: 12px;
    }

    .vt-info-sep {
        display: none;
    }

    .vt-info-item {
        min-width: calc(50% - 6px);
        padding: 0;
        flex: none;
    }
}

@media (max-width: 767px) {
    .vt-msg {
        max-width: 95%;
    }

    .vt-chat-body {
        max-height: 400px;
        padding: 14px;
    }

    .vt-reply-box {
        padding: 12px 14px 16px;
    }

    .at-tips-card {
        display: none;
    }
}

/* =======================
   Support / Tickets Page
======================= */

/* Override table min-width — 3 simple columns */
.sup-table-card .orders-table-wrap {
    overflow-x: auto;
}

.sup-table {
    min-width: unset !important;
    width: 100%;
}

/* Column widths */
.sup-th-date,
.sup-td-date {
    width: 30%;
    text-align: right;
}

.sup-th-cat,
.sup-td-cat {
    width: 40%;
    text-align: right;
}

.sup-th-status,
.sup-td-status {
    width: 30%;
    text-align: right;
}

/* Cell styling */
.sup-td-date {
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    direction: ltr;
    text-align: right !important;
}

.sup-td-cat {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* Row padding */
.sup-table td {
    padding: 13px 22px;
}

.sup-table th {
    padding: 14px 22px;
}

/* Add ticket modal — wider than delete modal */
.sup-modal-wide {
    max-width: 520px !important;
    text-align: right !important;
    padding: 0 !important;
}

.sup-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f3f2;
}

.sup-modal-header .sp-modal-title {
    margin: 0;
    text-align: right;
}

.sup-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.sup-modal-close:hover {
    background-color: #fdecea;
    color: #e74c3c;
}

.sup-modal-body {
    padding: 22px 24px 16px;
}

.sup-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid #f0f3f2;
    justify-content: flex-end;
}

.sup-modal-submit {
    background-color: #1E4C43 !important;
    flex: unset !important;
    padding: 10px 26px !important;
}

.sup-modal-submit:hover {
    background-color: #163a33 !important;
}

/* =======================
   Support Page - Responsive
======================= */

@media (max-width: 767px) {
    .sup-modal-wide {
        width: 95% !important;
    }

    .sup-table td,
    .sup-table th {
        padding: 11px 14px;
    }
}

/* =======================
   Withdrawal Requests Page
======================= */

/* Status badges — withdrawal-specific */
.badge-withdrawn {
    background-color: #e8f5ef;
    color: #1E4C43;
    border: 1.5px solid #b2ddc8;
}

.badge-waiting {
    background-color: #eaf4fb;
    color: #2471a3;
    border: 1.5px solid #aed6f1;
}

.badge-rejected {
    background-color: #fdecea;
    color: #c0392b;
    border: 1.5px solid #f5b7b1;
}

.badge-requested {
    background-color: #fef6e4;
    color: #d68910;
    border: 1.5px solid #f9d77a;
}

/* Table column overrides */
.wdr-table {
    min-width: 860px;
}

.wdr-th-actions {
    text-align: left !important;
}

.wdr-td-date {
    color: #555 !important;
    font-weight: 600;
    direction: ltr;
    text-align: right !important;
    white-space: nowrap;
}

.wdr-td-amount,
.wdr-td-returns,
.wdr-td-net {
    font-weight: 700;
    color: #1a1a2e !important;
    direction: ltr;
    text-align: right !important;
}

.wdr-td-notes {
    color: #777 !important;
    font-size: 0.84rem !important;
}

.wdr-td-status {
    white-space: nowrap;
}

.wdr-td-actions {
    text-align: left !important;
}

/* =======================
   Withdrawal Page - Responsive
======================= */

@media (max-width: 991px) {
    .wdr-table {
        min-width: 760px;
    }
}

/* =======================
   Withdraw Request Modal
======================= */

/* Overlay */
.wdr-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 30, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.wdr-modal-overlay.open {
    display: flex;
}

/* Modal box */
.wdr-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    animation: wdrModalIn 0.24s cubic-bezier(0.34, 1.36, 0.64, 1) both;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes wdrModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.wdr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1.5px solid #f0f3f2;
    flex-shrink: 0;
}

.wdr-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wdr-modal-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, #1E4C43, #52b788);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.wdr-modal-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.wdr-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.wdr-modal-close:hover {
    background-color: #fdecea;
    color: #e74c3c;
}

/* Body */
.wdr-modal-body {
    padding: 24px 24px 8px;
    overflow-y: auto;
    flex: 1;
}

.wdr-modal-body .ap-form-group {
    margin-bottom: 20px;
}

/* LTR inputs (phone, bank) */
.wdr-ltr-input {
    text-align: left !important;
    direction: ltr !important;
}

.wdr-ltr-input::placeholder {
    text-align: left;
    direction: ltr;
}

/* Field-level error message */
.wdr-field-error {
    display: none;
    font-family: 'Cairo', sans-serif;
    font-size: 0.76rem;
    color: #e74c3c;
    font-weight: 600;
    margin-top: 4px;
}

.wdr-field-error.visible {
    display: block;
}

/* Input error state */
.ap-input.wdr-error,
.ap-select.wdr-error {
    border-color: #e74c3c !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08) !important;
}

/* Conditional bank field — hidden by default */
.wdr-bank-field {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-bottom: 0 !important;
    transition: max-height 0.32s ease, opacity 0.28s ease, margin-bottom 0.28s ease;
}

.wdr-bank-field.wdr-field-visible {
    max-height: 120px;
    opacity: 1;
    margin-bottom: 20px !important;
}

/* Method hint strip */
.wdr-method-hint {
    display: none;
    align-items: flex-start;
    gap: 8px;
    background-color: #f2f9f6;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 10px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    color: #2d6a4f;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 4px;
}

.wdr-method-hint i {
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: #1E4C43;
}

.wdr-method-hint.wdr-hint-visible {
    display: flex;
}

.wdr-bank-hint-show {
    background-color: #eaf4fb;
    border-color: #aed6f1;
    color: #1a5276;
}

.wdr-bank-hint-show i {
    color: #2471a3;
}

/* Footer */
.wdr-modal-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px 22px;
    border-top: 1.5px solid #f0f3f2;
    flex-shrink: 0;
}

.wdr-btn-cancel {
    flex: 1;
    padding: 11px 16px;
    border: 1.5px solid #dde1e6;
    border-radius: 10px;
    background: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s;
}

.wdr-btn-cancel:hover {
    border-color: #aaa;
    color: #333;
}

.wdr-btn-submit {
    flex: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: none;
    border-radius: 10px;
    background-color: #1E4C43;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.12s;
}

.wdr-btn-submit:hover {
    background-color: #163a33;
}

.wdr-btn-submit:active {
    transform: scale(0.98);
}

.wdr-btn-submit:disabled {
    background-color: #7aab9a;
    cursor: not-allowed;
    transform: none;
}

/* =======================
   Withdraw Modal - Responsive
======================= */

@media (max-width: 576px) {
    .wdr-modal {
        border-radius: 16px;
        max-height: 95vh;
    }

    .wdr-modal-header {
        padding: 18px 18px 14px;
    }

    .wdr-modal-body {
        padding: 18px 18px 6px;
    }

    .wdr-modal-footer {
        padding: 14px 18px 18px;
        flex-direction: column-reverse;
        gap: 8px;
    }

    .wdr-btn-cancel,
    .wdr-btn-submit {
        flex: none;
        width: 100%;
    }
}

/* =======================
   Fines / Penalties Page
======================= */

/* Status badges */
.badge-fine-paid {
    background-color: #e8f5ef;
    color: #1E4C43;
    border: 1.5px solid #b2ddc8;
}

.badge-fine-unpaid {
    background-color: #fdecea;
    color: #c0392b;
    border: 1.5px solid #f5b7b1;
}

/* Table */
.fns-table {
    min-width: 820px;
}

/* Column header alignment */
.fns-th-code {
    text-align: right;
}

.fns-th-img,
.fns-th-img2 {
    text-align: center;
    width: 80px;
}

.fns-th-order {
    text-align: right;
}

.fns-th-date {
    text-align: right;
}

.fns-th-amount {
    text-align: right;
}

.fns-th-status {
    text-align: right;
}

/* Cell styles */
.fns-td-code {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: #1E4C43 !important;
    direction: ltr;
    text-align: right !important;
}

.fns-td-img {
    padding: 8px 14px !important;
    text-align: center;
    vertical-align: middle;
}

.fns-img-wrap {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid #edf0f2;
    background-color: #f7f9f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.fns-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fns-thumb-ph {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9rem;
    background-color: #f2f4f3;
}

.fns-td-order {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 600;
    color: #555 !important;
    direction: ltr;
    text-align: right !important;
}

.fns-td-date {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 600;
    color: #555 !important;
    direction: ltr;
    text-align: right !important;
    white-space: nowrap;
}

.fns-td-amount {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e !important;
    direction: ltr;
    text-align: right !important;
}

.fns-td-status {
    text-align: right;
    white-space: nowrap;
}

/* =======================
   Fines Page - Responsive
======================= */

@media (max-width: 991px) {
    .fns-table {
        min-width: 700px;
    }

    .fns-img-wrap {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 767px) {
    .fns-img-wrap {
        width: 34px;
        height: 34px;
        border-radius: 7px;
    }
}

/* =======================
   Warehouse Delivery Page
======================= */

/* Simple 4-col table — no large min-width needed */
.wd-table {
    min-width: 560px;
}

/* Column alignments */
.wd-th-code,
.wd-td-code {
    text-align: right;
    width: 35%;
}

.wd-th-count,
.wd-td-count {
    text-align: center !important;
    width: 25%;
}

.wd-th-date,
.wd-td-date {
    text-align: right;
    width: 25%;
}

.wd-th-actions {
    text-align: left !important;
    width: 15%;
}

.wd-td-actions {
    text-align: left !important;
}

/* Cell styling */
.wd-td-code {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: #1E4C43 !important;
    direction: ltr;
    text-align: right !important;
}

.wd-td-count {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e !important;
}

.wd-td-date {
    font-family: 'Cairo', sans-serif;
    font-size: 0.87rem;
    font-weight: 600;
    color: #555 !important;
    direction: ltr;
    text-align: right !important;
    white-space: nowrap;
}

/* =======================
   Warehouse Delivery - Responsive
======================= */

@media (max-width: 767px) {
    .wd-table {
        min-width: 420px;
    }
}
/*
    ================================
             Products
    =============================
*/
.vendor-product-form .form-label { font-family: 'Cairo', sans-serif; font-weight: 600; color: #1a1a2e; font-size: 0.9rem; }
    .vendor-product-form .form-control,
    .vendor-product-form .form-select { border-radius: 10px; border: 1.5px solid #e0e0e0; font-family: 'Cairo', sans-serif; padding: 10px 14px; }
    .vendor-product-form .form-control:focus,
    .vendor-product-form .form-select:focus { border-color: #4361ee; box-shadow: 0 0 0 3px rgba(67,97,238,0.1); }
    .vendor-card { background: #fff; border-radius: 16px; padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
    .vendor-card-title { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1rem; color: #1a1a2e; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
    .vendor-card-title i { color: #4361ee; }
    .dropzone { border: 2px dashed #d9dee3 !important; border-radius: 12px !important; background: #fafbfc !important; min-height: 120px !important; }
    .dropzone .dz-message { font-family: 'Cairo', sans-serif; color: #888; }
    .variant-card { border: 1px solid #e0e0e0; border-radius: 12px; padding: 16px; margin-bottom: 12px; background: #fafbfc; }
    .variant-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
    .variant-card-header h6 { font-family: 'Cairo', sans-serif; font-weight: 700; margin: 0; }
    .color-size-list { max-height: 180px; overflow-y: auto; border: 1px solid #e0e0e0; border-radius: 10px; padding: 12px; }
    .btn-vendor-primary { background: #4361ee; color: #fff; border: none; border-radius: 10px; padding: 10px 24px; font-family: 'Cairo', sans-serif; font-weight: 700; }
    .btn-vendor-primary:hover { background: #3a56d4; color: #fff; }
    .btn-vendor-outline { background: transparent; color: #555; border: 1.5px solid #ddd; border-radius: 10px; padding: 10px 24px; font-family: 'Cairo', sans-serif; font-weight: 600; }
    .btn-vendor-outline:hover { background: #f5f5f5; }
    .pending-badge { background: #fff3cd; color: #856404; padding: 8px 16px; border-radius: 10px; font-family: 'Cairo', sans-serif; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
    .existing-img-card { border: 1px solid #e0e0e0; border-radius: 10px; overflow: hidden; position: relative; }
    .existing-img-card img { width: 100%; height: 100px; object-fit: cover; }
    .existing-img-card .img-overlay { position: absolute; top: 4px; left: 4px; }
    .variant-table { width: 100%; font-family: 'Cairo', sans-serif; font-size: 0.85rem; }
    .variant-table th { background: #f8f9fa; padding: 8px 12px; font-weight: 700; border-bottom: 2px solid #e0e0e0; }
    .variant-table td { padding: 8px 12px; border-bottom: 1px solid #f0f0f0; }

     .vendor-product-form .form-label { font-family: 'Cairo', sans-serif; font-weight: 600; color: #1a1a2e; font-size: 0.9rem; }
    .vendor-product-form .form-control,
    .vendor-product-form .form-select { border-radius: 10px; border: 1.5px solid #e0e0e0; font-family: 'Cairo', sans-serif; padding: 10px 14px; }
    .vendor-product-form .form-control:focus,
    .vendor-product-form .form-select:focus { border-color: #4361ee; box-shadow: 0 0 0 3px rgba(67,97,238,0.1); }
    .vendor-card { background: #fff; border-radius: 16px; padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
    .vendor-card-title { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1rem; color: #1a1a2e; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
    .vendor-card-title i { color: #4361ee; }
    .dropzone { border: 2px dashed #d9dee3 !important; border-radius: 12px !important; background: #fafbfc !important; min-height: 120px !important; }
    .dropzone .dz-message { font-family: 'Cairo', sans-serif; color: #888; }
    .variant-card { border: 1px solid #e0e0e0; border-radius: 12px; padding: 16px; margin-bottom: 12px; background: #fafbfc; }
    .variant-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
    .variant-card-header h6 { font-family: 'Cairo', sans-serif; font-weight: 700; margin: 0; }
    .color-size-list { max-height: 180px; overflow-y: auto; border: 1px solid #e0e0e0; border-radius: 10px; padding: 12px; }
    .btn-vendor-primary { background: #4361ee; color: #fff; border: none; border-radius: 10px; padding: 10px 24px; font-family: 'Cairo', sans-serif; font-weight: 700; }
    .btn-vendor-primary:hover { background: #3a56d4; color: #fff; }
    .btn-vendor-outline { background: transparent; color: #555; border: 1.5px solid #ddd; border-radius: 10px; padding: 10px 24px; font-family: 'Cairo', sans-serif; font-weight: 600; }
    .btn-vendor-outline:hover { background: #f5f5f5; }
    .pending-badge { background: #fff3cd; color: #856404; padding: 8px 16px; border-radius: 10px; font-family: 'Cairo', sans-serif; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }