/* CSS Variables */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
:root {
    --butter-yellow: #F6EAC2;
    --pastry-brown: #5C3A21;
    --eggshell-blue: #E0F2FE;
    --caramel: #3D2B1A;
    --cream: #FFF8E7;
    --rich-brown: #2C1A0E;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /* Slate */
    --slate-50: rgb(248 250 252);
    --slate-100: rgb(241 245 249);
    --slate-200: rgb(226 232 240);
    --slate-300: rgb(203 213 225);
    --slate-400: rgb(148 163 184);
    --slate-500: rgb(100 116 139);
    --slate-600: rgb(71 85 105);
    --slate-700: rgb(51 65 85);
    --slate-800: rgb(30 41 59);
    --slate-900: rgb(15 23 42);
    --slate-950: rgb(2 6 23);
    /* Gray */
    --gray-50: rgb(249 250 251);
    --gray-100: rgb(243 244 246);
    --gray-200: rgb(229 231 235);
    --gray-300: rgb(209 213 219);
    --gray-400: rgb(156 163 175);
    --gray-500: rgb(107 114 128);
    --gray-600: rgb(75 85 99);
    --gray-700: rgb(55 65 81);
    --gray-800: rgb(31 41 55);
    --gray-900: rgb(17 24 39);
    --gray-950: rgb(3 7 18);
    /* Zinc */
    --zinc-50: rgb(250 250 250);
    --zinc-100: rgb(244 244 245);
    --zinc-200: rgb(228 228 231);
    --zinc-300: rgb(212 212 216);
    --zinc-400: rgb(161 161 170);
    --zinc-500: rgb(113 113 122);
    --zinc-600: rgb(82 82 91);
    --zinc-700: rgb(63 63 70);
    --zinc-800: rgb(39 39 42);
    --zinc-900: rgb(24 24 27);
    --zinc-950: rgb(9 9 11);
    /* Stone */
    --stone-50: rgb(250 250 249);
    --stone-100: rgb(245 245 244);
    --stone-200: rgb(231 229 228);
    --stone-300: rgb(214 211 209);
    --stone-400: rgb(168 162 158);
    --stone-500: rgb(120 113 108);
    --stone-600: rgb(87 83 78);
    --stone-700: rgb(68 64 60);
    --stone-800: rgb(41 37 36);
    --stone-900: rgb(28 25 23);
    --stone-950: rgb(12 10 9);
    /* Red */
    --red-50: rgb(254 242 242);
    --red-100: rgb(254 226 226);
    --red-200: rgb(254 202 202);
    --red-300: rgb(252 165 165);
    --red-400: rgb(248 113 113);
    --red-500: rgb(239 68 68);
    --red-600: rgb(220 38 38);
    --red-700: rgb(185 28 28);
    --red-800: rgb(153 27 27);
    --red-900: rgb(127 29 29);
    --red-950: rgb(69 10 10);
    /* Amber */
    --amber-50: rgb(255 251 235);
    --amber-100: rgb(254 243 199);
    --amber-200: rgb(253 230 138);
    --amber-300: rgb(252 211 77);
    --amber-400: rgb(251 191 36);
    --amber-500: rgb(245 158 11);
    --amber-600: rgb(217 119 6);
    --amber-700: rgb(180 83 9);
    --amber-800: rgb(146 64 14);
    --amber-900: rgb(120 53 15);
    --amber-950: rgb(69 26 3);
    /* Emerald */
    --emerald-50: rgb(236 253 245);
    --emerald-100: rgb(209 250 229);
    --emerald-200: rgb(167 243 208);
    --emerald-300: rgb(110 231 183);
    --emerald-400: rgb(52 211 153);
    --emerald-500: rgb(16 185 129);
    --emerald-600: rgb(5 150 105);
    --emerald-700: rgb(4 120 87);
    --emerald-800: rgb(6 95 70);
    --emerald-900: rgb(6 78 59);
    --emerald-950: rgb(2 44 34);
    /* Blue */
    --blue-50: rgb(239 246 255);
    --blue-100: rgb(219 234 254);
    --blue-200: rgb(191 219 254);
    --blue-300: rgb(147 197 253);
    --blue-400: rgb(96 165 250);
    --blue-500: rgb(59 130 246);
    --blue-600: rgb(37 99 235);
    --blue-700: rgb(29 78 216);
    --blue-800: rgb(30 64 175);
    --blue-900: rgb(30 58 138);
    --blue-950: rgb(23 37 84);
    /* Indigo */
    --indigo-50: rgb(238 242 255);
    --indigo-100: rgb(224 231 255);
    --indigo-200: rgb(199 210 254);
    --indigo-300: rgb(165 180 252);
    --indigo-400: rgb(129 140 248);
    --indigo-500: rgb(99 102 241);
    --indigo-600: rgb(79 70 229);
    --indigo-700: rgb(67 56 202);
    --indigo-800: rgb(55 48 163);
    --indigo-900: rgb(49 46 129);
    --indigo-950: rgb(30 27 75);
    /* Pink */
    --pink-50: rgb(253 242 248);
    --pink-100: rgb(252 231 243);
    --pink-200: rgb(251 207 232);
    --pink-300: rgb(249 168 212);
    --pink-400: rgb(244 114 182);
    --pink-500: rgb(236 72 153);
    --pink-600: rgb(219 39 119);
    --pink-700: rgb(190 24 93);
    --pink-800: rgb(157 23 77);
    --pink-900: rgb(131 24 67);
    --pink-950: rgb(80 4 36);

	
	/* Emerald Green */
    --green-50: rgb(236 253 245);
    --green-100: rgb(209 250 229);
    --green-200: rgb(167 243 208);
    --green-300: rgb(110 231 183);
    --green-400: rgb(52 211 153);
    --green-500: rgb(16 185 129);
    --green-600: rgb(5 150 105);
    --green-700: rgb(4 120 87);
    --green-800: rgb(6 95 70);
    --green-900: rgb(6 78 59);
    --green-950: rgb(2 44 34);

    /* Rose Red */
    --red-50: rgb(255 241 242);
    --red-100: rgb(255 228 230);
    --red-200: rgb(254 205 211);
    --red-300: rgb(253 164 175);
    --red-400: rgb(251 113 133);
    --red-500: rgb(244 63 94);
    --red-600: rgb(225 29 72);
    --red-700: rgb(190 18 60);
    --red-800: rgb(159 18 57);
    --red-900: rgb(136 19 55);
    --red-950: rgb(76 5 25);

    /* Royal Purple */
    --purple-50: rgb(250 245 255);
    --purple-100: rgb(243 232 255);
    --purple-200: rgb(233 213 255);
    --purple-300: rgb(216 180 254);
    --purple-400: rgb(192 132 252);
    --purple-500: rgb(168 85 247);
    --purple-600: rgb(147 51 234);
    --purple-700: rgb(126 34 206);
    --purple-800: rgb(107 33 168);
    --purple-900: rgb(88 28 135);
    --purple-950: rgb(59 7 100);

    /* Sky Blue */
    --blue-50: rgb(239 246 255);
    --blue-100: rgb(219 234 254);
    --blue-200: rgb(191 219 254);
    --blue-300: rgb(147 197 253);
    --blue-400: rgb(96 165 250);
    --blue-500: rgb(59 130 246);
    --blue-600: rgb(37 99 235);
    --blue-700: rgb(29 78 216);
    --blue-800: rgb(30 64 175);
    --blue-900: rgb(30 58 138);
    --blue-950: rgb(23 37 84);

    /* Amber Brown */
    --brown-50: rgb(255 251 235);
    --brown-100: rgb(254 243 199);
    --brown-200: rgb(253 230 138);
    --brown-300: rgb(252 211 77);
    --brown-400: rgb(251 191 36);
    --brown-500: rgb(245 158 11);
    --brown-600: rgb(217 119 6);
    --brown-700: rgb(180 83 9);
    --brown-800: rgb(146 64 14);
    --brown-900: rgb(120 53 15);
    --brown-950: rgb(69 26 3);

    /* Burnt Orange */
    --orange-50: rgb(255 247 237);
    --orange-100: rgb(255 237 213);
    --orange-200: rgb(254 215 170);
    --orange-300: rgb(253 186 116);
    --orange-400: rgb(251 146 60);
    --orange-500: rgb(249 115 22);
    --orange-600: rgb(234 88 12);
    --orange-700: rgb(194 65 12);
    --orange-800: rgb(154 52 18);
    --orange-900: rgb(124 45 18);
    --orange-950: rgb(67 20 7);

/* Neon Cyan/Electric */
    --neon-cyan-50: rgb(236 254 255);
    --neon-cyan-100: rgb(207 250 254);
    --neon-cyan-200: rgb(165 243 252);
    --neon-cyan-300: rgb(103 232 249);
    --neon-cyan-400: rgb(34 211 238);
    --neon-cyan-500: rgb(6 182 212);
    --neon-cyan-600: rgb(8 145 178);
    --neon-cyan-700: rgb(14 116 144);
    --neon-cyan-800: rgb(21 94 117);
    --neon-cyan-900: rgb(22 78 99);
    --neon-cyan-950: rgb(8 51 68);

    /* Neon Lime/Radon */
    --neon-lime-50: rgb(247 254 231);
    --neon-lime-100: rgb(236 252 203);
    --neon-lime-200: rgb(217 249 157);
    --neon-lime-300: rgb(190 242 93);
    --neon-lime-400: rgb(163 230 53);
    --neon-lime-500: rgb(132 204 22);
    --neon-lime-600: rgb(101 163 13);
    --neon-lime-700: rgb(77 124 15);
    --neon-lime-800: rgb(63 98 18);
    --neon-lime-900: rgb(54 83 20);
    --neon-lime-950: rgb(26 46 5);

    /* Neon Pink/Laser */
    --neon-pink-50: rgb(253 242 248);
    --neon-pink-100: rgb(252 231 243);
    --neon-pink-200: rgb(249 168 212);
    --neon-pink-300: rgb(244 114 182);
    --neon-pink-400: rgb(236 72 153);
    --neon-pink-500: rgb(219 39 119);
    --neon-pink-600: rgb(190 24 93);
    --neon-pink-700: rgb(157 23 77);
    --neon-pink-800: rgb(131 24 67);
    --neon-pink-900: rgb(100 21 56);
    --neon-pink-950: rgb(80 7 36);

    /* Neon Yellow/Sulfur */
    --neon-yellow-50: rgb(254 252 232);
    --neon-yellow-100: rgb(254 249 195);
    --neon-yellow-200: rgb(254 240 138);
    --neon-yellow-300: rgb(253 224 71);
    --neon-yellow-400: rgb(250 204 21);
    --neon-yellow-500: rgb(234 179 8);
    --neon-yellow-600: rgb(202 138 4);
    --neon-yellow-700: rgb(161 98 7);
    --neon-yellow-800: rgb(133 77 14);
    --neon-yellow-900: rgb(113 63 18);
    --neon-yellow-950: rgb(66 32 6);

    /* Neon Violet/Plasma */
    --neon-violet-50: rgb(245 243 255);
    --neon-violet-100: rgb(237 233 254);
    --neon-violet-200: rgb(221 214 254);
    --neon-violet-300: rgb(196 181 253);
    --neon-violet-400: rgb(167 139 250);
    --neon-violet-500: rgb(139 92 246);
    --neon-violet-600: rgb(124 58 237);
    --neon-violet-700: rgb(109 40 217);
    --neon-violet-800: rgb(91 33 182);
    --neon-violet-900: rgb(76 29 149);
    --neon-violet-950: rgb(46 16 101);
	
	/* Standard Web Gold (50% transparency) */
--gold-trans: rgba(255, 215, 0, 0.5);

/* Modern CSS Syntax (50% transparency) */
--gold-trans-alt: rgb(255 215 0 / 0.5);

/* Richer, "Ollama Dashboard" Gold (closer to Amber-400) */
--gold-rich-trans: rgb(251 191 36 / 0.5);

    --linear-background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --background-main: #f5f7fa;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: Poppins, sans-serif;
}

body {
    color: var(--slate-400);
    line-height: 1.6;
    background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}



/*add product*/
       .admin-container {
            max-width: 80%;
            margin: 0 auto;
        }

        /* Header */
        .admin-header {
            text-align: center;
            margin-bottom: 3rem;
            animation: fadeInDown 0.8s ease;
        }

        .admin-header h1 {
            font-size: 3rem;
            color: var(--pastry-brown);
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 0 var(--butter-yellow);
        }

        .admin-header .subtitle {
            font-size: 1.3rem;
            color: var(--caramel);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .admin-header .subtitle span {
            background: var(--pastry-brown);
            color: var(--cream);
            padding: 0.2rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
           
        }

        /* Breadcrumb */
        .breadcrumb {
            background: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            animation: fadeIn 0.8s ease;
        }

        .breadcrumb a {
            color: var(--pastry-brown);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .breadcrumb a:hover {
            color: var(--caramel);
            text-decoration: underline;
        }

        .breadcrumb .separator {
            color: var(--pastry-brown);
            opacity: 0.5;
            margin: 0 0.25rem;
        }

        .breadcrumb .current {
            color: var(--caramel);
            font-weight: 600;
            background: var(--butter-yellow);
            padding: 0.2rem 1rem;
            border-radius: 50px;
        }

        /* Message Alert */
        .alert {
            padding: 1.2rem 2rem;
            border-radius: 50px;
            margin-bottom: 2rem;
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            animation: slideIn 0.5s ease;
            box-shadow: var(--shadow);
        }

        .alert-success {
            background: var(--success-green);
            color: white;
            border-left: 5px solid #2E7D32;
        }

        .alert-error {
            background: var(--error-red);
            color: white;
            border-left: 5px solid #B71C1C;
        }

        .alert::before {
            font-size: 1.5rem;
        }

        .alert-success::before {
            content: "🎉";
        }

        .alert-error::before {
            content: "⚠️";
        }

        /* Form Card */
        .form-card {
            background: white;
            border-radius: 30px;
            padding: 3rem;
            box-shadow: var(--shadow);
            border: 3px solid var(--butter-yellow);
            /* animation: fadeInUp 0.8s ease; */
            transition: box-shadow 0.3s ease;
        }

        .form-card:hover {
            box-shadow: var(--hover-shadow);
        }

        .form-section {
            margin-bottom: 2.5rem;
            padding-bottom: 2rem;
            border-bottom: 2px dashed var(--butter-yellow);
        }

        .form-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .section-title {
            
            font-size: 1.5rem;
            color: var(--pastry-brown);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .section-title::before {
            content: "🍪";
            font-size: 1.8rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 1rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--pastry-brown);
            font-weight: 700;
            font-size: 1.1rem;
        }

        .form-group label .required {
            color: var(--error-red);
            margin-left: 0.2rem;
            font-size: 1rem;
        }

        .form-group label i {
            margin-right: 0.5rem;
            font-style: normal;
            opacity: 0.7;
        }

        .form-control {
            width: 100%;
            padding: 1rem 1.2rem;
            border: 2px solid var(--butter-yellow);
            border-radius: 15px;
            font-size: 1rem;
            
            transition: all 0.3s ease;
            background: var(--cream);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--pastry-brown);
            box-shadow: 0 0 0 4px rgba(92, 58, 33, 0.1);
            background: white;
        }

        .form-control:hover {
            border-color: var(--pastry-brown);
        }

        select.form-control {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235C3A21'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1.5rem;
        }

        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }

        /* Checkbox styling */
        .checkbox-group {
            background: var(--butter-yellow);
            padding: 1.2rem;
            border-radius: 15px;
            margin: 1.5rem 0;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            cursor: pointer;
            color: var(--pastry-brown);
            font-weight: 700;
            font-size: 1.1rem;
        }

        .checkbox-label input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: var(--pastry-brown);
        }

        /* Image upload area */
        .image-upload-area {
            border: 3px dashed var(--butter-yellow);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            background: var(--cream);
            transition: all 0.3s ease;
            margin: 1.5rem 0;
        }

        .image-upload-area:hover {
            border-color: var(--pastry-brown);
            background: white;
        }

        .upload-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.7;
        }

        .upload-text {
            color: var(--pastry-brown);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .upload-hint {
            color: var(--caramel);
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .file-input {
            display: none;
        }

        .file-input-label {
            display: inline-block;
            padding: 0.8rem 2rem;
            background: var(--pastry-brown);
            color: white;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .file-input-label:hover {
            background: var(--caramel);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(92, 58, 33, 0.3);
        }

        /* Image preview */
        .preview-container {
            margin-top: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .preview-label {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--pastry-brown);
            color: white;
            padding: 0.2rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
        }

        #imagePreview {
            max-width: 300px;
            border-radius: 15px;
            border: 3px solid var(--butter-yellow);
            box-shadow: var(--shadow);
            margin-top: 1rem;
            object-fit: cover;
        }

        /* Badge preview */
        .badge-preview {
            display: inline-block;
            padding: 0.3rem 1rem;
            background: var(--pastry-brown);
            color: white;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        /* Action buttons */
        .form-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2.5rem;
            padding-top: 1.5rem;
            border-top: 2px solid var(--butter-yellow);
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: var(--pastry-brown);
            color: white;
            flex: 2;
        }

        .btn-primary:hover {
            background: var(--caramel);
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(92, 58, 33, 0.4);
        }

        .btn-primary:active {
            transform: translateY(-1px);
        }

        .btn-secondary {
            background: var(--butter-yellow);
            color: var(--pastry-brown);
            flex: 1;
            border: 2px solid var(--pastry-brown);
        }

        .btn-secondary:hover {
            background: var(--pastry-brown);
            color: white;
            transform: translateY(-3px);
        }

        .btn i {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .btn-primary:hover i {
            transform: translateX(5px);
        }

        /* Form validation indicators */
        .form-control:invalid:not(:placeholder-shown) {
            border-color: var(--error-red);
        }

        .form-control:valid:not(:placeholder-shown) {
            border-color: var(--success-green);
        }

        /* Loading animation */
        .loading {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.9);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .loading.active {
            display: flex;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid var(--butter-yellow);
            border-top-color: var(--pastry-brown);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 1rem;
        }

        .loading-text {
            color: var(--pastry-brown);
           
            font-size: 1.2rem;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }

            .admin-header h1 {
                font-size: 2rem;
            }

            .form-card {
                padding: 1.5rem;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .form-actions {
                flex-direction: column;
            }

            .btn {
                width: 100%;
            }

            .breadcrumb {
                padding: 1rem;
                font-size: 0.9rem;
            }
        }

        /* Tooltip */
        .tooltip {
            position: relative;
            display: inline-block;
            margin-left: 0.5rem;
        }

        .tooltip .tooltip-icon {
            background: var(--butter-yellow);
            color: var(--pastry-brown);
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            cursor: help;
        }

        .tooltip .tooltip-text {
            visibility: hidden;
            width: 200px;
            background: var(--pastry-brown);
            color: white;
            text-align: center;
            padding: 0.5rem;
            border-radius: 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.85rem;
            font-weight: normal;
            pointer-events: none;
        }

        .tooltip:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }
        }
		
		
		/*list here*/
		
		       .header-left h1 {
            
            font-size: 2.5rem;
            color: var(--pastry-brown);
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 0 var(--butter-yellow);
        }

        .header-left .subtitle {
            font-size: 1.1rem;
            color: var(--caramel);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .header-left .subtitle span {
            background: var(--blue-900);
            color: var(--cream);
            padding: 0.2rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-family: 'Fredoka One', sans-serif;
        }

        .header-actions {
            display: flex;
            gap: 1rem;
        }

        .btn {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 50px;
            
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: var(--pastry-brown);
            color: white;
        }

        .btn-primary:hover {
            background: var(--caramel);
            transform: translateY(-2px);
            box-shadow: var(--hover-shadow);
        }

        .btn-success {
            background: var(--green-400);
            color: white;
        }

        .btn-success:hover {
            background: #45a049;
            transform: translateY(-2px);
        }

        .btn-warning {
            background: var(--warning-orange);
            color: white;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
            animation: fadeIn 0.8s ease;
        }

        .stat-card {
            background: white;
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            border: 2px solid var(--butter-yellow);
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--hover-shadow);
        }

        .stat-icon {
            width: 60px;
            height: 60px;
            background: var(--butter-yellow);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--pastry-brown);
        }

        .stat-content h3 {
            font-size: 1rem;
            color: var(--caramel);
            margin-bottom: 0.3rem;
            opacity: 0.8;
        }

        .stat-number {
            
            font-size: 2rem;
            color: var(--pastry-brown);
            line-height: 1.2;
        }

        .stat-trend {
            font-size: 0.85rem;
            margin-top: 0.3rem;
        }

        .trend-up { color: var(--success-green); }
        .trend-down { color: var(--error-red); }

        /* Filter Section */
        .filter-section {
            background: white;
            border-radius: 20px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            border: 2px solid var(--butter-yellow);
            animation: fadeIn 0.8s ease;
        }

        .filter-form {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: flex-end;
        }

        .filter-group {
            flex: 1;
            min-width: 200px;
        }

        .filter-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--pastry-brown);
            font-weight: 700;
            font-size: 0.9rem;
        }

        .filter-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 2px solid var(--butter-yellow);
            border-radius: 10px;
            font-size: 1rem;
            font-family: 'Cormorant Garamond', serif;
            transition: all 0.3s ease;
            background: var(--cream);
        }

        .filter-control:focus {
            outline: none;
            border-color: var(--pastry-brown);
            box-shadow: 0 0 0 3px rgba(92, 58, 33, 0.1);
        }

        .search-box {
            position: relative;
            flex: 2;
        }

        .search-box i {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--pastry-brown);
            opacity: 0.5;
        }

        .search-box input {
            padding-left: 3rem;
        }

        .filter-actions {
            display: flex;
            gap: 0.5rem;
        }

        /* Bulk Actions Bar */
        .bulk-actions {
            background: var(--pastry-brown);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 50px;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            animation: slideIn 0.5s ease;
        }

        .bulk-actions select, .bulk-actions button {
            padding: 0.5rem 1rem;
            border-radius: 50px;
            border: none;
            font-family: 'Cormorant Garamond', serif;
        }

        .bulk-actions button {
            background: var(--butter-yellow);
            color: var(--pastry-brown);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .bulk-actions button:hover {
            background: white;
        }

        .selected-count {
            background: rgba(255,255,255,0.2);
            padding: 0.3rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
        }

        /* Table Styles */
        .table-container {
            background: white;
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            border: 2px solid var(--butter-yellow);
            overflow-x: auto;
            /* animation: fadeInUp 0.8s ease; */
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th {
            text-align: left;
            padding: 1rem 0.5rem;
            color: var(--pastry-brown);
            
            font-size: 0.9rem;
            border-bottom: 3px solid var(--butter-yellow);
        }

        td {
            padding: 1rem 0.5rem;
            border-bottom: 1px solid var(--butter-yellow);
            vertical-align: middle;
        }

        tr:last-child td {
            border-bottom: none;
        }

        tr:hover td {
            background-color: var(--butter-yellow);
            opacity: 0.8;
        }

        /* Product Image */
        .product-thumb {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            background: var(--butter-yellow);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            border: 2px solid var(--pastry-brown);
        }

        .product-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        /* Status Badges */
        .status-badge {
            display: inline-block;
            padding: 0.3rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .status-active {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .status-deleted {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        .stock-badge {
            display: inline-block;
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .stock-low {
            background: #fff3cd;
            color: #856404;
        }

        .stock-ok {
            background: #d4edda;
            color: #155724;
        }

        .stock-high {
            background: #cce5ff;
            color: #004085;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .action-btn {
            width: 35px;
            height: 35px;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1rem;
        }

        .btn-edit {
            background: var(--blue-600);
            color: white;
        }

        .btn-edit:hover {
            background: #1976D2;
            transform: translateY(-2px);
        }

        .btn-delete {
            background: var(--red-600);
            color: white;
        }

        .btn-delete:hover {
            background: #d32f2f;
            transform: translateY(-2px);
        }

        .btn-restore {
            background: var(--success-green);
            color: white;
        }

        .btn-restore:hover {
            background: #45a049;
            transform: translateY(-2px);
        }

        .btn-view {
            background: var(--pastry-brown);
            color: white;
        }

        .btn-view:hover {
            background: var(--caramel);
            transform: translateY(-2px);
        }

        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 4rem 2rem;
        }

        .empty-state-icon {
            font-size: 5rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        .empty-state h3 {
            font-size: 1.5rem;
            color: var(--pastry-brown);
            margin-bottom: 0.5rem;
        }

        .empty-state p {
            color: var(--caramel);
            margin-bottom: 2rem;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .page-link {
            padding: 0.5rem 1rem;
            border: 2px solid var(--butter-yellow);
            border-radius: 10px;
            text-decoration: none;
            color: var(--pastry-brown);
            transition: all 0.3s ease;
        }

        .page-link:hover, .page-link.active {
            background: var(--pastry-brown);
            color: white;
            border-color: var(--pastry-brown);
        }

        /* Alert Messages */
        .alert {
            padding: 1rem 2rem;
            border-radius: 50px;
            margin-bottom: 2rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 1rem;
            animation: slideIn 0.5s ease;
        }

        .alert-success {
            background: var(--success-green);
            color: white;
        }

        .alert-info {
            background: var(--info-blue);
            color: white;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }

            .admin-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .filter-form {
                flex-direction: column;
            }

            .filter-group {
                width: 100%;
            }

            .bulk-actions {
                flex-direction: column;
                border-radius: 15px;
            }

            .bulk-actions select, .bulk-actions button {
                width: 100%;
            }

            td:nth-child(5), th:nth-child(5) {
                display: none;
            }
        }

        /* Custom Checkbox */
        .product-select {
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: var(--pastry-brown);
        }
		
