
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-image: url('Background/background_001.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            min-height: 100vh;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
            animation: fadeInDown 1s ease-out;
            position: relative;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .logo-image {
            max-width: 500px;
            width: 100%;
            height: auto;
            margin-top: 2px;
            animation: fadeInDown 1s ease-out;
            transition: transform 0.3s ease;
        }

        .logo-image:hover {
            transform: scale(1.05);
        }

        .logo-link {
            display: inline-block;
            text-decoration: none;
            cursor: pointer;
        }

        .logo-link:hover .logo-image {
            transform: scale(1.05);
        }

        /* Responsive sizing */
        @media (max-width: 768px) {
            .logo-image {
                max-width: 300px;
            }
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        .back-button-home {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            width: auto;
            height: 50px;
            padding: 0 20px 0 15px;
            background: white;
            border-radius: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            text-decoration: none;
            z-index: 10;
        }

        .back-button-home:hover {
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
            background: #f0f7ff;
        }

        .back-button-home svg {
            display: block;
            flex-shrink: 0;
        }

        .back-button-home span {
            color: #4A90E2;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .back-button-home {
                left: 10px;
                height: 40px;
                padding: 0 15px 0 12px;
                gap: 8px;
            }
            
            .back-button-home svg {
                width: 20px;
                height: 20px;
            }
            
            .back-button-home span {
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .back-button-home span {
                display: none;
            }
            
            .back-button-home {
                width: 40px;
                padding: 0;
                border-radius: 50%;
            }
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            border: 1px solid rgba(255, 255, 255, 0.8);
            background: linear-gradient(180deg, #ffffff5d 0%, #fef7f7a7 100%);
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            backdrop-filter: blur(10px);
            overflow: hidden;
            display: flex;
            min-height: 70vh;
            animation: slideUp 1s ease-out 0.3s both;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .sidebar {
            width: 420px;
            background: linear-gradient(180deg, #fff 0%, #fef7f7 100%);
            padding: 25px;
            border-right: 1px solid rgba(212, 197, 249, 0.3);
            overflow-y: auto;
            height: 100%;
            display: flex;
            flex-direction: column;
            max-height: 100vh;
            transition: all 0.3s ease;
        }

        .sidebar:hover {
            background: linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
        }

        #sticker-container {
            flex: 1;
            overflow-y: auto;
            padding-right: 5px;
        }

        .sidebar h2 {
            color: #333;
            margin-bottom: 20px;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .search-container {
            position: relative;
            margin-bottom: 25px;
        }

        .search-bar {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #d4c5f9;
            border-radius: 25px;
            font-size: 14px;
            outline: none;
            transition: all 0.3s ease;
            background: white;
        }

        .search-bar:focus {
            border-color: #b8a9e8;
            box-shadow: 0 0 20px rgba(184, 169, 232, 0.2);
            transform: scale(1.02);
        }

        .search-bar::placeholder {
            color: #bbb;
        }

        .phone-selector h3 {
            color: #333;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            text-align: center;
        }

        .phone-selector {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 25px;
        }

        .phone-btn {
            padding: 12px 20px;
            border: 2px solid #d4c5f9;
            background: white;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
        }

        .phone-btn.active {
            background: linear-gradient(45deg, #a8e6cf, #dcedc1);
            color: white;
            border-color: #a8e6cf;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(168, 230, 207, 0.3);
        }

        .phone-btn:hover:not(.active) {
            border-color: #b8a9e8;
            transform: translateY(-1px);
        }

        .back-button-container {
            margin-bottom: 20px;
        }

        .back-btn {
            padding: 10px 20px;
            border: 2px solid #d4c5f9;
            background: white;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
            font-size: 14px;
            width: 100%;
        }

        .back-btn:hover {
            border-color: #b8a9e8;
            background: #f8f6ff;
            transform: translateY(-1px);
        }

        .color-filter {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 8px;
            margin-bottom: 2px;
            max-width: 280px;
        }

        .color-option {
            width: 18px;
            height: 18px;
            border: 2px solid #e0e0e0;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            font-size: 9px;
            font-weight: 600;
            color: #666;
        }

        .color-option:hover {
            border-color: #b8a9e8;
            transform: scale(1.1);
        }

        .color-option.active {
            border-color: #fdb4c4;
            transform: scale(1.15);
            box-shadow: 0 3px 8px rgba(253, 180, 196, 0.4);
        }

        .color-option.active:not([data-color="All colors"])::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 8px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }

        /* Color-specific backgrounds */
        .color-option[data-color="All colors"] { background-color: transparent; width: 50px; border-radius: 20px; }
        .color-option[data-color="pink"] { background-color: #ffb3d9; }
        .color-option[data-color="blue"] { background-color: #87ceeb; }
        .color-option[data-color="red"] { background-color: #ff9999; }
        .color-option[data-color="green"] { background-color: #90ee90; }
        .color-option[data-color="yellow"] { background-color: #ffff99; }
        .color-option[data-color="purple"] { background-color: #dda0dd; }
        .color-option[data-color="orange"] { background-color: #ffcc99; }
        .color-option[data-color="white"] { background-color: #ffffff; border-color: #ccc;}
        .color-option[data-color="black"] { background-color: #111111; }
        .color-option[data-color="brown"] { background-color: #d2b48c; }
        .color-option[data-color="gray"] { background-color: #808080; }

        .category-tabs {
            display: flex;
            gap: 5px;
            margin-bottom: 2px;
            overflow-x: auto;
            padding: 30px 0;
            overflow-y: hidden
        }

        .category-tab {
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            background: white;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 12px;
            font-weight: 500;
            color: #666;
            white-space: nowrap;
            display: flex;
            align-items: center;
            min-width: fit-content;
        }

        .category-tab:hover {
            border-color: #b8a9e8;
            transform: translateY(-1px);
        }

        .category-tab.active {
            background: linear-gradient(45deg, #a8e6cf, #dcedc1);
            color: white;
            border-color: #a8e6cf;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(168, 230, 207, 0.3);
        }

        .single-category-view {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .sticker-grid-large {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
            gap: 10px;
            padding: 5px 5px;
        }

        .sticker-grid-large::-webkit-scrollbar {
            width: 8px;
        }

        .sticker-grid-large::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        .sticker-grid-large::-webkit-scrollbar-thumb {
            background: #d4c5f9;
            border-radius: 4px;
        }

        .sticker-grid-large::-webkit-scrollbar-thumb:hover {
            background: #b8a9e8;
        }

        .load-more-container {
            text-align: center;
            padding: 15px;
        }

        .load-more-large-btn {
            padding: 12px 30px;
            border: 2px solid #d4c5f9;
            background: white;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .load-more-large-btn:hover:not(:disabled) {
            border-color: #b8a9e8;
            background: linear-gradient(45deg, #a8e6cf, #dcedc1);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(168, 230, 207, 0.3);
        }

        .load-more-large-btn:disabled {
            opacity: 0.6;
            cursor: none;
        }

        .sticker-grid {
            display: grid;
            grid-template-rows: repeat(2, 1fr);
            grid-auto-flow: column;
            grid-auto-columns: 70px;
            gap: 10px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 10px 5px;
            scrollbar-width: thin;
            scrollbar-color: #d4c5f9 #f1f1f1;
            max-height: 160px;
        }

        .sticker-grid::-webkit-scrollbar {
            height: 8px;
        }

        .sticker-grid::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        .sticker-grid::-webkit-scrollbar-thumb {
            background: #d4c5f9;
            border-radius: 4px;
        }

        .sticker-grid::-webkit-scrollbar-thumb:hover {
            background: #b8a9e8;
        }

        .sticker-item {
            width: 60px;
            height: 60px;
            background: white;
            border: 2px solid #f0f0f0;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-size: 28px;
            position: relative;
            overflow: hidden;
        }

        .sticker-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent, rgba(184, 169, 232, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .sticker-item:hover {
            border-color: #b8a9e8;
            transform: translateY(-3px) scale(1.05) rotate(2deg);
            box-shadow: 0 8px 25px rgba(184, 169, 232, 0.2);
        }

        .sticker-item:hover::before {
            opacity: 1;
        }

        .sticker-item:active {
            transform: translateY(-1px) scale(0.98);
        }

        .sticker-container-disabled {
            opacity: 0.5;
            pointer-events: none;
        }

       #sticker-container.sticker-container-disabled .sticker-item {
            cursor: not-allowed !important;
        }

        .search-bar:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: #f5f5f5;
        }

        .loading-stickers {
            text-align: center;
            padding: 40px 20px;
            color: #666;
            font-style: italic;
        }

        .load-more-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            grid-row: span 2;
        }

        .btn-load-more {
            padding: 0;
            border: 2px solid #d4c5f9;
            background: white;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            color: #666;
            font-size: 16px;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-load-more:hover:not(:disabled) {
            border-color: #b8a9e8;
            background: linear-gradient(45deg, #a8e6cf, #dcedc1);
            color: white;
            transform: translateY(-1px) scale(1.05);
        }

        .btn-load-more:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .sticker-item img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 10px;
        }

        .main-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 30px;
            align-items: center;
        }

        .main-phone-selection {
            max-width: 600px;
            text-align: center;
            padding: 20px;
            animation: fadeInUp 1s ease-out 0.5s both;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .main-phone-selection h2 {
            color: #ffffff;
            margin-bottom: 20px;
            font-size: 1.1rem;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .selection-heading {
            color: #ffffff !important;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 30px;
            text-align: center;
            opacity: 0;
            animation: fadeInDown 1s ease-out 0.3s forwards;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* Responsive heading */
        @media (max-width: 768px) {
            .selection-heading {
                font-size: 0.8rem;
                margin-bottom: 20px;
            }
        }

        /* Design Workspace - Three Column Layout */
        .design-workspace {
            display: flex;
            gap: 30px;
            width: 100%;
            align-items: flex-start;
            justify-content: center;
            padding: 20px;
        }

        /* Canvas Area (Center) */
        .canvas-area {
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .canvas-container {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .canvas-wrapper {
            position: relative;
            background: white;
            border-radius: 20px;
            padding: 50px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            border: 3px solid #d4c5f9;
            transition: all 0.3s ease;
            animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes scaleIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .canvas-wrapper:hover {
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
            transform: translateY(-2px);
        }

        #design-canvas {
            border-radius: 20px;
            background: #f5f5f5;
            border: 2px dashed #ddd;
            transition: all 0.3s ease;
        }

        #design-canvas:hover {
            border-color: #b8a9e8;
        }

        .instructions {
            text-align: center;
            color: #666;
            font-size: 14px;
            line-height: 1.5;
            opacity: 1;
            max-width: 500px;
        }

        .loading {
            display: none;
            text-align: center;
            color: #b8a9e8;
            font-weight: 600;
            animation: pulse 1.5s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.05); }
        }

        /* Control Panel (Right Side) */
        .control-panel {
            flex: 0 0 280px;
            display: flex;
            flex-direction: column;
        }

        .control-panel-inner {
            background: linear-gradient(180deg, #fff 0%, #fef7f7 100%);
            border-radius: 20px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid rgba(212, 197, 249, 0.3);
            display: flex;
            flex-direction: column;
            gap: 20px;
            position: sticky;
            top: 20px;
        }

        .back-to-selection-btn-new {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #d4c5f9;
            background: white;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: #666;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            justify-content: center;
        }

        .back-to-selection-btn-new:hover {
            border-color: #b8a9e8;
            background: #f8f6ff;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(184, 169, 232, 0.2);
        }

        .back-to-selection-btn-new svg {
            flex-shrink: 0;
        }

        .controls-vertical {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .controls-vertical .btn {
            width: 100%;
            padding: 15px 20px;
            border: none;
            border-radius: 15px;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }

        .controls-vertical .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.2);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .controls-vertical .btn:hover::before {
            opacity: 1;
        }

        .controls-vertical .btn-clear {
            background: linear-gradient(45deg, #ffb4b4, #ffcccb);
            color: white;
        }

        .controls-vertical .btn-clear:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 20px rgba(255, 180, 180, 0.4);
        }

        .controls-vertical .btn-checkout {
            background: linear-gradient(45deg, #0d92ff, #5a23ff);
            color: white;
            font-size: 15px;
            padding: 18px 20px;
        }

        .controls-vertical .btn-checkout:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 25px rgba(184, 230, 255, 0.5);
        }

        .controls-vertical .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        /* Remove old canvas info and controls styles */
        .canvas-info {
            display: none;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .design-workspace {
                flex-direction: column;
                align-items: center;
            }
            
            .control-panel {
                flex: 0 0 auto;
                width: 100%;
                max-width: 500px;
            }
            
            .control-panel-inner {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                max-height: 300px;
            }
            
            .design-workspace {
                padding: 10px;
                gap: 20px;
            }
            
            .canvas-wrapper {
                padding: 30px;
            }
            
            .control-panel {
                max-width: 100%;
            }
            
            .controls-vertical {
                gap: 10px;
            }
        }

        .phone-grid-clean {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 15px;
            margin-top: 25px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .phone-btn-clean {
            padding: 15px 20px;
            border: 1px solid #fbfbfbf9;
            background: linear-gradient(45deg, #f1f4f58a, #ffffffe5);
            border-radius: 20px;
            cursor: pointer;
            transition: transform 0.2s ease-out, background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;  /* Separate transitions */
            font-weight: 500;
            color: #666;
            font-size: 14px;
            text-align: center;
            opacity: 0;
            animation: popIn 0.6s ease-out forwards;
        }

        .phone-btn-clean:nth-child(1) { animation-delay: 0.1s; }
        .phone-btn-clean:nth-child(2) { animation-delay: 0.15s; }
        .phone-btn-clean:nth-child(3) { animation-delay: 0.2s; }
        .phone-btn-clean:nth-child(4) { animation-delay: 0.25s; }
        .phone-btn-clean:nth-child(5) { animation-delay: 0.3s; }
        .phone-btn-clean:nth-child(6) { animation-delay: 0.35s; }
        .phone-btn-clean:nth-child(7) { animation-delay: 0.4s; }
        .phone-btn-clean:nth-child(8) { animation-delay: 0.45s; }
        .phone-btn-clean:nth-child(9) { animation-delay: 0.5s; }
        .phone-btn-clean:nth-child(10) { animation-delay: 0.55s; }
        .phone-btn-clean:nth-child(11) { animation-delay: 0.6s; }
        .phone-btn-clean:nth-child(12) { animation-delay: 0.65s; }

        @keyframes popIn {
            from { 
                opacity: 0; 
                margin-top: 20px;  /* Use margin instead of transform */
            }
            to { 
                opacity: 1; 
                margin-top: 0;
            }
        }

    .phone-btn-clean:hover {
            border-color: #fefefe4f;
            background: linear-gradient(45deg, #a8e6cf, #dcedc1);
            color: white;
            transform: translateY(-4px) scale(1.02) !important;
            box-shadow: 0 8px 25px rgba(168, 230, 207, 0.3);
        }

        .btn {
            padding: 15px 30px;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.2);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .btn:hover::before {
            opacity: 1;
        }

        .btn-clear {
            background: linear-gradient(45deg, #ffb4b4, #ffcccb);
            color: white;
        }

        .btn-clear:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 30px rgba(255, 180, 180, 0.4);
        }

        .btn-checkout {
            background: linear-gradient(45deg, #0d92ff, #5a23ff);
            color: white;
            font-size: 18px;
            padding: 18px 40px;
            cursor: pointer;
        }

        .btn-checkout:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 15px 35px rgba(184, 230, 255, 0.5);
            cursor: pointer;
        }
        

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        /* Enhanced sticker interactions */
        .sticker-added-animation {
            animation: stickerPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        @keyframes stickerPop {
            0% { transform: scale(0) rotate(180deg); opacity: 0; }
            50% { transform: scale(1.2) rotate(90deg); opacity: 0.8; }
            100% { transform: scale(1) rotate(0deg); opacity: 1; }
        }

        /* Success feedback */
        .success-notification {
            position: fixed;
            top: 90px;
            right: 30px;
            background: linear-gradient(45deg, #3e78ff, #ff55f4);
            color: white;
            padding: 15px 25px;
            border-radius: 25px;
            box-shadow: 0 10px 25px rgba(168, 230, 207, 0.3);
            transform: translateX(400px);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 10000;
            max-width: 300px;
        }

        .success-notification.show {
            transform: translateX(0);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                max-height: 300px;
            }
            
            .phone-selector {
                flex-direction: row;
                overflow-x: auto;
            }
            
            .header h1 {
                font-size: 2rem;
            }

            .controls {
                flex-direction: column;
                gap: 15px;
            }

            .btn {
                width: 100%;
                max-width: 250px;
            }

                /* ADD THIS HERE - Responsive notification */
            .success-notification {
                top: 20px;
                right: 20px;
                left: 20px;
                max-width: none;
    }
        }

        /* Custom scrollbar */
        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: #d4c5f9;
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: #b8a9e8;
        }

        /* Tooltip styles */
        .tooltip {
            position: relative;
            cursor: pointer;
        }

        .tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 150%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 1000;
        }

        .tooltip:hover::after {
            opacity: 1;
        }

        #sticker-container:not(.sticker-container-disabled) .sticker-item {
    cursor: pointer !important;
}

.custom-upload-section {
            margin-top: 25px;
            padding-top: 25px;
            border-top: 2px solid rgba(212, 197, 249, 0.3);
        }

        .custom-upload-section h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .upload-area {
            margin-bottom: 15px;
        }

        .upload-zone {
            border: 2px dashed #d4c5f9;
            border-radius: 12px;
            padding: 20px 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }

        .upload-zone:hover {
            border-color: #b8a9e8;
            background: #f8f6ff;
            transform: translateY(-1px);
        }

        .upload-zone.dragover {
            border-color: #a8e6cf;
            background: #f0fff4;
        }

        .upload-icon {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .upload-zone p {
            color: #666;
            font-weight: 500;
            margin: 0 0 3px 0;
            font-size: 13px;
        }

        .upload-zone small {
            color: #999;
            font-size: 11px;
        }

        .image-editor {
            background: white;
            border-radius: 12px;
            padding: 15px;
            border: 2px solid #f0f0f0;
        }

        .preview-container {
            display: flex;
            justify-content: center;
            margin-bottom: 15px;
            min-height: 80px;
            align-items: center;
        }

        #editCanvas {
            max-width: 100%;
            max-height: 80px;
            border: 1px solid #ddd;
            border-radius: 6px;
        }

        .editor-controls {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .control-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .control-group label {
            font-size: 11px;
            font-weight: 500;
            color: #666;
            min-width: 50px;
        }

        #sizeSlider {
            flex: 1;
            height: 3px;
            border-radius: 2px;
            background: #ddd;
            outline: none;
            cursor: pointer;
        }

        #sizeSlider::-webkit-slider-thumb {
            appearance: none;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #b8a9e8;
            cursor: pointer;
        }

        #sizeValue {
            font-size: 11px;
            color: #666;
            min-width: 35px;
            text-align: right;
        }

        .btn-small {
            padding: 4px 8px;
            border: 1px solid #d4c5f9;
            background: white;
            border-radius: 8px;
            cursor: pointer;
            font-size: 10px;
            font-weight: 500;
            color: #666;
            transition: all 0.3s ease;
        }

        .btn-small:hover {
            border-color: #b8a9e8;
            background: #f8f6ff;
        }

        .btn-add-sticker {
            width: 100%;
            padding: 10px;
            border: none;
            background: linear-gradient(45deg, #a8e6cf, #dcedc1);
            color: white;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .btn-add-sticker:hover {
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(168, 230, 207, 0.3);
        }

        .btn-clear-small {
            width: 100%;
            padding: 6px;
            border: 1px solid #ffb4b4;
            background: white;
            color: #ff6b6b;
            border-radius: 8px;
            cursor: pointer;
            font-size: 11px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-clear-small:hover {
            background: #ffb4b4;
            color: white;
        }

        .uploaded-images-grid {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            overflow-x: auto;
            overflow-y: visible; /* Changed from hidden to visible */
            padding: 15px 10px 10px 10px; /* Added top padding for delete buttons */
            scrollbar-width: thin;
            scrollbar-color: #d4c5f9 #f1f1f1;
        }

        .uploaded-images-grid::-webkit-scrollbar {
            height: 6px;
        }

        .uploaded-images-grid::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .uploaded-images-grid::-webkit-scrollbar-thumb {
            background: #d4c5f9;
            border-radius: 3px;
        }

        .uploaded-images-grid::-webkit-scrollbar-thumb:hover {
            background: #b8a9e8;
        }

    .uploaded-image-item {
        position: relative;
        width: 80px;
        height: 80px;
        border: 2px solid #f0f0f0;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        overflow: visible;
    }

    .uploaded-image-item:hover {
        border-color: #b8a9e8;
        transform: translateY(-2px);
    }

    .uploaded-image-item.selected {
        border-color: #a8e6cf;
        border-width: 3px;
        box-shadow: 0 3px 10px rgba(168, 230, 207, 0.3);
    }

    .uploaded-image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
    }

    .uploaded-image-item .delete-btn {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 20px;
        height: 20px;
        background: #ff6b6b;
        color: white;
        border: 2px solid white;
        border-radius: 50%;
        cursor: pointer;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        z-index: 10;
    }

    .uploaded-image-item .delete-btn:hover {
        background: #ff5252;
        transform: scale(1.1);
    }

    /* Wallpaper Section */
    .wallpaper-section {
        text-align: center;
        margin: 40px 0 20px;
    }

    .section-title {
        color: #ffffff;
        font-size: 14px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .wallpaper-tabs {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .wallpaper-tab {
        background: white;
        border: 2px solid #ddd; /* Changed from #ffc6d9 to gray */
        border-radius: 25px;
        padding: 12px 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        color: #666;
        font-size: 14px;
        font-family: inherit;
    }

    .wallpaper-tab:hover {
        background: #f5f5f5; /* Changed from #fff0f5 to light gray */
        transform: translateY(-2px);
        border-color: #bbb; /* Darker gray on hover */
    }

    .wallpaper-tab.active {
        background: linear-gradient(45deg, #ff6b9d, #ffa6c1);
        color: white;
        border-color: #ff6b9d;
        box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    }

    .canvas-info {
        font-size: 14px;
        color: #999;
        margin-bottom: 15px;
    }