﻿n: relative;
        }

        .admin-modal h2 {
            margin-bottom: 20px;
            font-size: 1.6rem;
        }

        .admin-modal input {
            width: 100%;
            margin-bottom: 15px;
            padding: 14px 16px;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.08);
            color: white;
            font-size: 1rem;
        }

        .admin-modal input::placeholder {
            color: rgba(255,255,255,0.65);
        }

        .admin-modal button {
            width: 100%;
            margin-bottom: 10px;
            padding: 14px 16px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-weight: bold;
            font-size: 1rem;
            transition: 0.25s;
        }

        .admin-modal button.primary {
            background: #00a8ff;
            color: #0d2840;
        }

        .admin-modal button.secondary {
            background: rgba(255,255,255,0.12);
            color: white;
        }

        .admin-modal p.status {
            min-height: 24px;
            margin-bottom: 15px;
            color: #ffd700;
        }

        .admin-modal.icon-detail-modal {
            max-width: 640px;
        }

        .icon-overlay-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
            gap: 10px;
            margin: 16px 0 6px;
            max-height: 220px;
            overflow-y: auto;
        }

        .icon-overlay-gallery:empty,
        .icon-overlay-gallery.grid-empty {
            display: none;
        }

        .icon-overlay-gallery img {
            width: 100%;
            height: 100px;
            object-fit: cover;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.12);
        }

        .icon-overlay-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 6px;
        }

        .admin-dashboard {
            display: none;
            padding: 60px 5%;
            background: rgba(13,40,64,0.04);
        }

        .admin-dashboard.show {
            display: block;
        }

        .admin-dashboard .dashboard-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 35px;
        }

        .admin-dashboard .dashboard-header h2 {
            margin: 0;
            color: var(--primary-blue);
            font-size: 2rem;
        }

        .admin-dashboard .admin-action {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: white;
            background: var(--accent-blue);
            padding: 12px 18px;
            border-radius: 14px;
            cursor: pointer;
            text-decoration: none;
        }

        .dashboard-actions {
            display: grid;
            grid-template-columns: repeat(3, minmax(240px, 1fr));
            gap: 20px;
            margin-bottom: 25px;
        }

        .quick-card {
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 20px 45px rgba(0,0,0,0.1);
            background: #ffffff;
            position: relative;
            padding: 25px;
            min-height: 170px;
        }

        .quick-card .card-icon {
            top: 18px;
            right: 18px;
            width: 54px;
            height: 54px;
        }

        .quick-card h3 {
            margin: 0 0 12px;
            color: var(--primary-blue);
        }

        .quick-card p {
            margin: 0;
            color: #333;
            line-height: 1.75;
        }

        .admin-section {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.75);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px;
            z-index: 2000;
            visibility: hidden;
            opacity: 0;
            transition: 0.25s ease;
        }

        .admin-section.show {
            visibility: visible;
            opacity: 1;
        }

        .admin-section .admin-modal {
            background: #0d2840;
            border-radius: 18px;
            padding: 30px;
            width: 100%;
            max-width: 600px;
            color: white;
            box-shadow: 0 25px 60px rgba(0,0,0,0.45);
            max-height: 80vh;
            overflow-y: auto;
        }

        .admin-section .admin-modal h2 {
            margin-bottom: 20px;
        }

        .admin-section .admin-modal ul {
            list-style: none;
            padding: 0;
        }

        .admin-section .admin-modal li {
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .admin-section .admin-modal li small {
            display: block;
            opacity: 0.8;
            margin-top: 4px;
        }

        .admin-section .admin-modal button {
            margin: 10px 5px;
            padding: 10px 15px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            background: #00a8ff;
            color: #0d2840;
            font-weight: bold;
        }

        .clickable-card {
            cursor: pointer;
        }

        .branch-card {
            background: linear-gradient(135deg, rgba(12, 66, 110, 0.8), rgba(8, 40, 67, 0.9));
            background-size: cover;
            background-position: center;
            border-radius: 18px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
            padding: 18px;
            border: 1px solid rgba(12, 66, 110, 0.12);
            min-height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            position: relative;
            overflow: hidden;
        }

        .branch-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
            z-index: 0;
        }

        .branch-card h3 {
            margin: 0 0 10px;
            color: #ffffff;
            position: relative;
            z-index: 1;
        }

        .branch-card p {
            margin: 6px 0;
            color: #ffffff;
            position: relative;
            z-index: 1;
        }

        .branch-card .branch-actions {
            position: relative;
            z-index: 1;
            display: flex;
            gap: 8px;
            margin-top: 10px;
            flex-wrap: wrap;
        }

        .branch-card .branch-actions a {
            text-decoration: none;
            background: rgba(0, 168, 255, 0.9);
            color: #07243c;
            padding: 6px 10px;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .visitor-icons-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 32px;
            margin-top: 28px;
        }

        /* بطاقات spotlight: خلفية صورة + أيقونة دائرية أعلى اليمين + نص أبيض أسفل التدرج */
        .spotlight-card {
            position: relative;
            min-height: 200px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
            background-size: cover;
            background-position: center;
            border: 1px solid rgba(13,40,64,0.08);
            isolation: isolate;
        }

        .spotlight-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22));
            z-index: 0;
            pointer-events: none;
        }

        .spotlight-card .card-icon {
            top: 18px;
            right: 18px;
            width: 56px;
            height: 56px;
            font-size: 1.35rem;
            transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
        }

        /* دوائر الأيقونات — لون وتدرج يعبّران عن معنى كل بطاقة */
        .spotlight-card--about-who .card-icon {
            background: linear-gradient(148deg, #1a252f 0%, #3d566e 42%, #95a5a6 100%);
            border-color: rgba(236, 240, 241, 0.38);
            box-shadow: 0 14px 34px rgba(26, 37, 47, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
        }

        .spotlight-card--about-vision .card-icon {
            background: linear-gradient(148deg, #1a0a2e 0%, #5b21b6 48%, #22d3ee 100%);
            border-color: rgba(165, 243, 252, 0.42);
            box-shadow: 0 16px 38px rgba(91, 33, 182, 0.48), 0 0 28px rgba(34, 211, 238, 0.22);
        }

        .spotlight-card--service-mfg .card-icon {
            background: linear-gradient(148deg, #4a2808 0%, #c2410c 46%, #fbbf24 100%);
            border-color: rgba(254, 215, 170, 0.45);
            box-shadow: 0 14px 36px rgba(194, 65, 12, 0.48);
        }

        .spotlight-card--service-support .card-icon {
            background: linear-gradient(148deg, #042f2e 0%, #0f766e 50%, #5eead4 100%);
            border-color: rgba(167, 243, 208, 0.48);
            box-shadow: 0 14px 34px rgba(15, 118, 110, 0.45);
        }

        .spotlight-card--service-quality .card-icon {
            background: linear-gradient(148deg, #1e1b4b 0%, #4338ca 46%, #a5b4fc 100%);
            border-color: rgba(199, 210, 254, 0.42);
            box-shadow: 0 16px 38px rgba(67, 56, 202, 0.46);
        }

        .visitor-icon-card.spotlight-card .card-icon {
            background: linear-gradient(148deg, #0a1628 0%, #155e94 48%, #38bdf8 100%);
            border-color: rgba(125, 211, 252, 0.4);
            box-shadow: 0 14px 34px rgba(21, 94, 148, 0.48);
        }

        .spotlight-card .card-icon:hover {
            transform: scale(1.09);
            filter: brightness(1.07);
        }

        .spotlight-card .card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            padding: 20px 18px 22px;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
            color: #ffffff;
            box-sizing: border-box;
            text-align: start;
            z-index: 1;
        }

        .spotlight-card .card-content h3 {
            font-size: 1.28rem;
            margin: 0 0 8px;
            color: #ffffff;
            font-weight: 700;
            text-shadow: 0 2px 8px rgba(0,0,0,0.45);
        }

        .spotlight-card .card-content p {
            font-size: 0.92rem;
            line-height: 1.65;
            margin: 0;
            color: rgba(255,255,255,0.94);
        }

        .spotlight-card .visitor-target-caption {
            font-size: 0.88rem;
            font-weight: 600;
            opacity: 0.94;
            margin-top: 6px;
            line-height: 1.4;
        }

        .services-grid .spotlight-card {
            min-height: 240px;
        }

        #about.about-grid .spotlight-card {
            min-height: 220px;
        }

        .spotlight-card--about-who {
            background-image: url("images/background-about-us.jpg");
        }

        .spotlight-card--about-vision {
            background-image: url("images/background-our-vision.jpg");
        }

        #about .about-page-card {
            cursor: pointer;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        #about .about-page-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 40px rgba(0, 168, 255, 0.25);
        }

        #about .about-card-hint {
            display: inline-block;
            margin-top: 10px;
            font-size: 0.82rem;
            opacity: 0.9;
            color: #7dd3fc;
            font-weight: 600;
        }

        .spotlight-card--service-mfg {
            background-image: url("images/background-Manufacturing-services.jpg");
        }

        .spotlight-card--service-support {
            background-image: url("images/customer-complaints-background.jpg");
        }

        .spotlight-card--service-quality {
            background-image: url("images/background-quality-management.jpg");
        }

        .color-catalog-section {
            margin-bottom: 48px;
        }

        .color-catalog-inner {
            max-width: 920px;
            margin: 12px auto 0;
            padding: 26px 24px;
            background: #ffffff;
            border-radius: 18px;
            box-shadow: 0 14px 42px rgba(13, 40, 64, 0.1);
            border: 1px solid rgba(13, 40, 64, 0.06);
            line-height: 1.85;
            color: #2c3e50;
            font-size: 1rem;
        }

        .visitor-icon-card.spotlight-card {
            cursor: pointer;
            min-height: 190px;
        }

        /* قسم جديد: تقارير المبيعات */
        .card-sales-reports::before {
            background: linear-gradient(135deg, rgba(41, 128, 185, 0.82), rgba(52, 152, 219, 0.86)),
                        url('images/background-basic.png');
            background-size: cover;
            background-position: center;
        }

        /* قسم جديد: إدارة المخزون */
        .card-inventory-management::before {
            background: linear-gradient(135deg, rgba(46, 204, 113, 0.78), rgba(39, 174, 96, 0.84)),
                        url('images/pvc-background.avif');
            background-size: cover;
            background-position: center;
        }

        /* قسم جديد: إدارة العملاء */
        .card-customer-management::before {
            background: linear-gradient(135deg, rgba(155, 89, 182, 0.7), rgba(142, 68, 173, 0.8)),
                        url('images/customer-complaints-background.jpeg');
            background-size: cover;
            background-position: center;
        }

        /* قسم جديد: الإحصائيات والتحليلات */
        .card-analytics::before {
            background: linear-gradient(135deg, rgba(230, 126, 34, 0.75), rgba(211, 84, 0, 0.85)),
                        url('images/other-products-background.jpeg');
            background-size: cover;
            background-position: center;
        }

        /* خلفية صورة لـ الألومنيوم */
        .card-aluminum::before { 
            background: linear-gradient(135deg, rgba(160, 170, 185, 0.66), rgba(95, 108, 128, 0.78)),
                        url('images/aluminum-background.webp');
            background-size: cover;
            background-position: center;
        }

        .card-other-products {
            --other-products-bg: none;
        }

        .card-other-products::before {
            background: linear-gradient(135deg, rgba(52, 73, 94, 0.68), rgba(44, 62, 80, 0.82)),
                        var(--other-products-bg);
            background-size: cover;
            background-position: center;
        }

        .card-customer-complaints::before {
            background: linear-gradient(135deg, rgba(98, 112, 138, 0.62), rgba(52, 73, 94, 0.8)),
                        url('images/customer-complaints-background.jpeg');
            background-size: cover;
            background-position: center;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-lang-campaign {
                max-width: 100%;
            }

            .header-campaign-title {
                font-size: 1.05rem;
            }

            .menu-toggle { display: block; }
            
            nav ul {
                position: absolute;
                top: 100%;
                right: 0;
                left: 0;
                background: var(--primary-blue);
                flex-direction: column;
                padding: 20px;
                gap: 15px;
                display: none;
            }
            
            nav ul.active { display: flex; }

            .products-grid,
            #site-products-grid {
                grid-template-columns: 1fr; 
                padding: 30px 5%; 
            }
            .product-card { width: 100%; max-width: 350px; height: 350px; }
            .hero h1 { font-size: 1.8rem; }
            .dashboard-actions {
                grid-template-columns: 1fr;
            }
            .dashboard-actions {
                grid-template-columns: 1fr;
            }
        }

/* نصوص الإدارة — لا تظهر للزوار على الواجهة العامة */
body:not(.admin-session) .admin-only-ui {
    display: none !important;
}

.admin-dashboard .admin-only-ui {
    display: block;
}

.cart-line-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.cart-line-qty button {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(13, 40, 64, 0.2);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}

.fab-send-quote-sales {
    position: fixed;
    bottom: 92px;
    left: 24px;
    z-index: 8900;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #00a8ff, #0d2840);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 168, 255, 0.45);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.fab-send-quote-sales.show {
    display: inline-flex;
}

[dir="ltr"] .fab-send-quote-sales {
    left: auto;
    right: 24px;
}

.icon-overlay-documents {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icon-overlay-documents a {
    color: #00a8ff;
    font-weight: 700;
    text-decoration: none;
}

.sales-quotes-inbox-wrap {
    margin: 16px 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(13, 40, 64, 0.06);
    text-align: start;
}

.sales-quote-inbox-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.55;
}

.sales-quote-inbox-item[data-status="new"] {
    border-right: 4px solid #00a8ff;
    padding-right: 10px;
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
