/* 
   ========================================================================
   FixedWater - Custom Design System & RTL Stylesheet
   Developed to exactly replicate the premium mockup designs.
    Cairo Web Font (Loaded locally)
   ========================================================================
*/

/* --- 1. LOCAL FONTS SETUP --- */
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo/Cairo-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo/Cairo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo/Cairo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* --- 2. THEME VARIABLES (Exactly matching mockup colors) --- */
:root {
    /* Color Palette */
    --primary-blue-dark: #1e3a8a;      /* Deep Royal Blue */
    --primary-blue: #2563eb;           /* Standard Brand Blue */
    --primary-blue-light: #3b82f6;     /* Slate Blue Accent */
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --primary-gradient-hover: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    
    --accent-cyan: #06b6d4;            /* Brand sky blue / cyan */
    --accent-cyan-hover: #0891b2;
    --accent-cyan-light: #ecfeff;      /* Very soft cyan for badges */
    
    --accent-red: #ef4444;             /* Discount tags / alerts */
    --accent-red-hover: #dc2626;
    --accent-red-light: #fef2f2;
    
    /* Grays & Neutrals */
    --text-primary: #0f172a;           /* Dark slate - headings */
    --text-secondary: #475569;         /* Slate grey - body texts */
    --text-muted: #94a3b8;             /* Light slate - captions/placeholders */
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;               /* Section background gray */
    --bg-cool: #f1f5f9;                /* Secondary background gray */
    
    --border-color: #e2e8f0;           /* Soft elegant borders */
    --border-focus: #3b82f6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 10px 10px -5px rgba(37, 99, 235, 0.04);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 3. BASE RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-secondary);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar for Premium Look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

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

/* --- 4. LAYOUT & NAVIGATION HEADER --- */
.top-header {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-blue-dark);
}

/* Logo Styling */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-text {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary-blue-dark);
    line-height: 1.1;
}
.logo-slogan {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

/* Advanced Search Bar */
.search-container {
    display: flex;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--bg-white);
    width: 100%;
}
.search-category-select {
    border: none;
    outline: none;
    padding: 0 15px;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-left: 1px solid var(--border-color);
}
.search-input {
    border: none;
    outline: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 0.9rem;
}
.search-btn {
    background-color: var(--accent-cyan);
    color: var(--bg-white);
    border: none;
    padding: 0 25px;
    font-weight: 600;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.search-btn:hover {
    background-color: var(--accent-cyan-hover);
}

/* Navigation Links */
.nav-link-custom {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition-fast);
}
.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--primary-blue);
    background-color: var(--bg-light);
}

/* Header Quick Actions */
.action-icon-btn {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}
.action-icon-btn:hover {
    background-color: var(--primary-blue-light);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-red);
    color: var(--bg-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
}

.login-nav-btn {
    background-color: var(--primary-blue);
    color: var(--bg-white) !important;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}
.login-nav-btn:hover {
    background-color: var(--primary-blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* --- 5. HERO / BANNER SECTION --- */
.hero-section {
    background: radial-gradient(circle at 10% 20%, #f0f9ff 0%, #e0f2fe 90%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 40px;
    background: linear-gradient(to top, var(--bg-white), transparent);
    z-index: 2;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
}
.btn-cta-primary {
    background: var(--primary-gradient);
    color: var(--bg-white);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
    border: none;
}
.btn-cta-primary:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.6);
    color: var(--bg-white);
}
.btn-cta-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}
.btn-cta-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.hero-feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    width: max-content;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Feature highlights banner under hero */
.feature-highlights-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 25px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}
.highlight-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--accent-cyan-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* --- 6. CATEGORIES GRID SECTION --- */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
}

.category-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    cursor: pointer;
    display: block;
    height: 100%;
}
.category-card:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.category-img-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
}
.category-card:hover .category-img-box {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-blue);
    background-color: var(--accent-cyan-light);
}
.category-card img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}
.category-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}
.category-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 7. FEATURED PRODUCTS CARDS --- */
.product-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}
.product-badge-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-red);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}
.product-badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-cyan);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}
.product-action-icons {
    position: absolute;
    top: 15px;
    left: -50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-normal);
    z-index: 10;
}
.product-card:hover .product-action-icons {
    left: 15px;
}
.product-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}
.product-action-btn:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.product-img-box {
    background-color: var(--bg-light);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}
.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}
.product-card:hover .product-img-box img {
    transform: scale(1.08);
}

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
}
.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-rating {
    display: flex;
    gap: 2px;
    color: #f59e0b; /* Yellow rating gold */
    font-size: 0.8rem;
    margin-bottom: 12px;
    align-items: center;
}
.product-rating-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-right: 5px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--bg-cool);
}
.product-price-box {
    display: flex;
    flex-direction: column;
}
.product-price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
}
.product-price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.btn-add-cart {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.btn-add-cart:hover {
    background-color: var(--accent-cyan);
    transform: scale(1.05);
}

/* --- 8. PLUMBER CTA BOOKING BANNER --- */
.plumber-cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: var(--bg-white);
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.plumber-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}
.plumber-cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}
.plumber-checklist {
    list-style: none;
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.plumber-checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}
.plumber-checklist-icon {
    color: var(--accent-cyan);
    background-color: rgba(6, 182, 212, 0.15);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.plumber-cta-img-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.plumber-cta-img {
    max-height: 400px;
    object-fit: contain;
    z-index: 10;
}
.plumber-cta-circle-bg {
    position: absolute;
    bottom: -50px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* --- 9. PLATFORM FOOTER SYSTEM --- */
.main-footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding-top: 70px;
    color: var(--text-secondary);
}
.footer-logo-wrapper {
    margin-bottom: 25px;
}
.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
}
.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}
.footer-social-links {
    display: flex;
    gap: 12px;
}
.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.footer-social-btn:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-cyan);
    border-radius: 1.5px;
}
.footer-links-list {
    list-style: none;
}
.footer-links-list li {
    margin-bottom: 12px;
}
.footer-links-list a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links-list a::before {
    content: '←';
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}
.footer-links-list a:hover {
    color: var(--primary-blue);
    padding-right: 5px;
}
.footer-links-list a:hover::before {
    color: var(--primary-blue);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}
.footer-contact-icon {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 3px;
}
.footer-contact-text {
    font-size: 0.95rem;
}

.copyright-bar {
    background-color: var(--primary-blue-dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.payment-badge {
    height: 25px;
    opacity: 0.85;
    transition: var(--transition-fast);
}
.payment-badge:hover {
    opacity: 1;
}

/* --- 10. AUTHENTICATION PAGES (Login / Register) --- */
.auth-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background-color: var(--bg-light);
}
.auth-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    padding: 40px;
}
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 8px;
}
.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.form-label-custom {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}
.form-input-custom {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.form-input-custom:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.form-input-custom.is-invalid {
    border-color: var(--accent-red);
}
.form-input-custom.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}
.btn-auth-submit {
    background: var(--primary-gradient);
    color: var(--bg-white);
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}
.btn-auth-submit:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* --- 11. DASHBOARD & SYSTEM INTERFACES (Admin/Plumber/User) --- */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}
.dashboard-sidebar {
    width: 280px;
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 100;
}
.dashboard-brand {
    padding: 0 15px 30px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}
.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-fast);
}
.sidebar-link:hover, .sidebar-link.active {
    color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.1);
}
.sidebar-link.active {
    background-color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.dashboard-content-area {
    flex-grow: 1;
    background-color: var(--bg-light);
    padding: 40px;
    min-height: 100vh;
    overflow-y: auto;
}
.dashboard-header-stats {
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

/* Glowing Stat Cards */
.stat-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.stat-info-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}
.stat-info-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}
.stat-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.stat-icon-blue {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}
.stat-icon-cyan {
    background-color: var(--accent-cyan-light);
    color: var(--accent-cyan);
}
.stat-icon-green {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.stat-icon-red {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
}

/* Beautiful Management Tables */
.table-responsive-custom {
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.table-custom {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}
.table-custom th {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 16px 20px;
    border-bottom: 2px solid var(--border-color);
}
.table-custom td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
    vertical-align: middle;
}
.table-custom tr:last-child td {
    border-bottom: none;
}
.table-custom tr:hover td {
    background-color: rgba(248, 250, 252, 0.7);
}

/* Status Badges */
.badge-custom {
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-block;
}
.badge-pending {
    background-color: #fffbeb;
    color: #d97706;
}
.badge-completed {
    background-color: #f0fdf4;
    color: #16a34a;
}
.badge-cancelled {
    background-color: var(--accent-red-light);
    color: var(--accent-red);
}
.badge-active {
    background-color: var(--accent-cyan-light);
    color: var(--accent-cyan-hover);
}

/* --- 12. SHOPPING CART & LISTS --- */
.cart-item-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}
.cart-item-card:hover {
    box-shadow: var(--shadow-md);
}
.cart-item-img {
    width: 90px;
    height: 90px;
    background-color: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--border-color);
}
.cart-item-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.quantity-control {
    display: inline-flex;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}
.quantity-btn {
    background-color: var(--bg-light);
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}
.quantity-btn:hover {
    background-color: var(--border-color);
}
.quantity-input {
    width: 45px;
    border: none;
    text-align: center;
    outline: none;
    font-weight: 600;
}

/* --- 13. PLUMBER DETAILS & PRODUCTS DETAILS --- */
.detail-card {
    background-color: var(--bg-white);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.rating-stars {
    color: #f59e0b;
    font-size: 1.2rem;
}
.tag-badge {
    background-color: var(--bg-cool);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

/* Service Request form styling */
.form-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-cool);
    padding-bottom: 10px;
}
