        body {
            background: #a89de7;
       
        } 

        .main-wrapper {
            background: #fff;
            border-radius: 8px;
            padding: 20px;
        } */

        .page-title {
            font-size: 20px;
            font-weight: bold;
            color: #222;
            margin-bottom: 14px;
        }

        .search-box {
            display: flex;
            align-items: center;
            border: 1px solid #ccc;
            border-radius: 6px;
            padding: 8px 14px;
            margin-bottom: 20px;
            background: #fff;
        }

        .search-box input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 14px;
            color: #333;
        }

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

        .section-title {
            font-size: 15px;
            font-weight: bold;
            color: #222;
            margin-bottom: 10px;
        }

        .tool-btn {
            display: block;
            width: 100%;
            border: 1px solid #c0c8e8;
            border-radius: 6px;
            padding: 10px 8px;
            font-size: 13px;
            color: #2a3fbf;
            background: #fff;
            text-align: center;
            text-decoration: none;
            margin-bottom: 8px;
            transition: background 0.15s;
        }

        .tool-btn:hover {
            background: #eef0fb;
            color: #2a3fbf;
        }

        /* Sidebar */
        .sidebar-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
        }

        .sidebar-highlight {
            padding: 10px 14px;
            font-size: 13px;
            font-weight: bold;
            color: #2a3fbf;
            display: flex;
            align-items: center;
            gap: 6px;
            border-bottom: 1px solid #eee;
        }

        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #e03b3b;
            display: inline-block;
            flex-shrink: 0;
        }

        .sidebar-cell {
            padding: 10px 8px;
            font-size: 12.5px;
            color: #333;
            text-align: center;
            cursor: pointer;
            transition: background 0.15s;
            border-bottom: 1px solid #eee;
        }

        .sidebar-cell:hover {
            background: #f4f6ff;
        }

        .sidebar-cell.hot {
            color: #2a3fbf;
            font-weight: bold;
        }

        .border-end-custom {
            border-right: 1px solid #eee;
        }

        .no-border-bottom {
            border-bottom: none;
        }
   

        /* reduce image size in kb */



        .tool-wrapper {
            background: #fff;
            border-radius: 8px;
            padding: 30px 20px;
            text-align: center;
        }

        .tool-title {
            font-size: 22px;
            font-weight: bold;
            color: #222;
            margin-bottom: 6px;
        }

        .tool-subtitle {
            font-size: 14px;
            color: #555;
            margin-bottom: 20px;
        }

        /* Dimension Tabs */
        .dimension-tabs {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 4px;
            margin-bottom: 0;
            font-size: 13px;
            color: #555;
        }

        .dim-btn {
            border: 1px solid #ccc;
            background: #fff;
            color: #333;
            font-size: 12px;
            padding: 3px 10px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.15s;
        }

        .dim-btn.active {
            background: #3d4d9f;
            color: #fff;
            border-color: #3d4d9f;
        }

        .dim-btn:hover:not(.active) {
            background: #eef0fb;
        }

        /* Drop Zone */
        .drop-zone {
            border: 2px dashed #a0a8d8;
            border-radius: 8px;
            padding: 40px 20px;
            background: #fff;
            margin-bottom: 20px;
            cursor: pointer;
            transition: background 0.15s;
            min-height: 180px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .drop-zone.dragover {
            background: #eef0fb;
        }

        .drop-zone p {
            font-size: 15px;
            color: #444;
            margin-bottom: 16px;
        }

        .btn-select {
            background: #1a9e7a;
            color: #fff;
            border: none;
            padding: 10px 30px;
            font-size: 15px;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.15s;
        }

        .btn-select:hover {
            background: #158567;
        }

        /* Image Preview Grid */
        .preview-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: center;
            width: 100%;
        }

        .preview-card {
            border: 1px solid #dde0f0;
            border-radius: 8px;
            overflow: hidden;
            width: 130px;
            background: #f9f9fb;
            position: relative;
            text-align: center;
        }

        .preview-card img {
            width: 100%;
            height: 90px;
            object-fit: cover;
            display: block;
        }

        .preview-info {
            padding: 6px 6px 8px;
        }

        .preview-info .img-name {
            font-size: 11px;
            color: #333;
            font-weight: bold;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 3px;
        }

        .preview-info .img-size {
            font-size: 11px;
            color: #3d4d9f;
            font-weight: 500;
        }

        .remove-btn {
            position: absolute;
            top: 4px;
            right: 5px;
            background: rgba(0,0,0,0.55);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .remove-btn:hover {
            background: #e03b3b;
        }

        /* Add More button inside preview area */
        .add-more-card {
            width: 130px;
            height: 130px;
            border: 2px dashed #a0a8d8;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #3d4d9f;
            font-size: 12px;
            gap: 6px;
            transition: background 0.15s;
        }

        .add-more-card:hover {
            background: #eef0fb;
        }

        .add-more-card svg {
            width: 28px;
            height: 28px;
            stroke: #3d4d9f;
        }

        /* Size Input Row */
        .size-row {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }

        .size-row label {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .size-input-wrap {
            display: flex;
            align-items: center;
            border: 1px solid #ccc;
            border-radius: 4px;
            overflow: hidden;
        }

        .size-input-wrap input {
            border: none;
            outline: none;
            padding: 7px 10px;
            font-size: 14px;
            width: 80px;
            text-align: center;
        }

        .size-input-wrap .kb-label {
            background: #f0f0f0;
            padding: 7px 10px;
            font-size: 13px;
            color: #555;
            border-left: 1px solid #ccc;
        }

        .btn-reduce {
            background: #3d4d9f;
            color: #fff;
            border: none;
            padding: 8px 22px;
            font-size: 14px;
            font-weight: bold;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.15s;
        }

        .btn-reduce:hover {
            background: #2f3c82;
        }

        /* Note */
        .note-text {
            font-size: 13px;
            color: #3d4d9f;
        }

        /* Hidden file input */
        #fileInput {
            display: none;
        }
    
     


        .btn-select {
    background-color: #2f7a8d; /* Blue color */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}

.btn-select:hover {
    background-color: #0056b3; /* Hover par dark blue */
}


    :root {
        --sb-bg-card: #ffffff;
        --sb-border-color: #eef2f6; /* Modern light border */
        --sb-text-main: #2d3748;
        --sb-primary: #4f46e5;
        --sb-primary-light: #f5f3ff;
        --sb-accent-hot: #f97316;
        --sb-accent-hot-light: #fff7ed;
        --sb-radius: 12px;
    }

    /* Outer Wrapper - Pure Layout Control */
    .sidebar-wrapper {
        width: 100%;
        max-width: 360px; /* Standard sidebar size */
        margin: 0 auto 30px;
    }

    .sidebar-card {
        background: var(--sb-bg-card) !important;
        border: 1px solid var(--sb-border-color) !important;
        border-radius: var(--sb-radius) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
        overflow: hidden;
        font-family: 'Inter', sans-serif;
    }

    /* Headings (Top & Bottom Sections) */
    .sidebar-highlight {
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        background: #f8fafc !important;
        padding: 15px 16px !important;
        color: var(--sb-text-main) !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        border-bottom: 1px solid var(--sb-border-color) !important;
        text-decoration: none !important;
        transition: all 0.2s ease;
    }

    .sidebar-highlight:hover {
        background: var(--sb-primary-light) !important;
        color: var(--sb-primary) !important;
    }

    .sidebar-highlight .dot {
        width: 8px;
        height: 8px;
        background-color: var(--sb-primary);
        border-radius: 50%;
        display: inline-block;
    }

    /* Side-by-Side Locked Grid System (Bypassing Bootstrap issues) */
    .sidebar-grid-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Cell Component Logic */
    .sidebar-cell {
        flex: 1 1 50% !important; /* Force layout exactly into 50% width halves */
        width: 50% !important;
        min-width: 50% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        padding: 18px 14px !important;
        background: #ffffff !important;
        color: var(--sb-text-main) !important;
        font-size: 13.5px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        border-bottom: 1px solid var(--sb-border-color) !important;
        border-right: 1px solid var(--sb-border-color) !important;
        transition: all 0.2s ease-in-out;
    }

    /* Remove right border on the second item in each row */
    .sidebar-grid-row .sidebar-cell:last-child {
        border-right: none !important;
    }

    /* Remove bottom border on the last grid row */
    .sidebar-grid-row.last-row .sidebar-cell {
        border-bottom: none !important;
    }

    /* Hover States */
    .sidebar-cell:hover {
        background: #fafafa !important;
        color: var(--sb-primary) !important;
    }

    /* Premium Dynamic Pills/Tags */
    .sidebar-cell .cell-title {
        display: flex !important;
        align-items: center !important;
        gap: 6px;
        white-space: nowrap;
    }

    .hot-badge {
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        background: var(--sb-accent-hot-light) !important;
        color: var(--sb-accent-hot) !important;
        padding: 2px 8px !important;
        border-radius: 12px !important;
        margin-top: 6px !important;
        border: 1px solid rgba(249, 115, 22, 0.1) !important;
        display: inline-block !important;
    }

    .dot-hot {
        width: 6px;
        height: 6px;
        background-color: var(--sb-accent-hot);
        border-radius: 50%;
        display: inline-block;
    }
