@charset "utf-8";
/* CSS Document */

  body {
            font-family: 'Inter', sans-serif;
            background-color: #1a1a1a;
            color: #e2e8f0;
        }
        .carousel-container {
            position: relative;
            overflow: hidden;
            border-radius: 1rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            aspect-ratio: 16/9;
        }
        .carousel-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            border-radius: 1rem;
        }
        .carousel-item.active {
            opacity: 1;
        }
        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 1rem;
        }
        .text-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
            padding: 2rem;
            color: white;
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }
        .carousel-item.active .text-overlay {
            opacity: 1;
        }
        .caption {
            font-size: 1.25rem;
            font-weight: 600;
        }
        .neon-text {
            text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff00ff, 0 0 30px #ff00ff, 0 0 40px #ff00ff, 0 0 55px #ff00ff, 0 0 70px #ff00ff;
        }
        .neon-button {
            transition: all 0.3s ease;
        }
        .neon-button:hover {
            box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0ff;
            transform: translateY(-2px);
        }
        .message-box {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #2c2c2c;
            color: white;
            padding: 2rem;
            border-radius: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            z-index: 1000;
            display: none;
            text-align: center;
        }
        .message-box button {
            margin-top: 1rem;
            padding: 0.5rem 1rem;
            background-color: #0ff;
            color: black;
            border-radius: 0.5rem;
        }
        .draggable-line, .draggable-image {
            position: absolute;
            user-select: none;
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            cursor: move;
            border: 1px dashed transparent;
            transition: border-color 0.2s;
            box-sizing: border-box;
            line-height: 1;
            white-space: nowrap;
        }
        .draggable-line.selected, .draggable-image.selected {
            border-color: rgba(255, 255, 255, 0.5);
        }
        .resize-handle {
            position: absolute;
            width: 1rem;
            height: 1rem;
            background-color: #fff;
            border: 2px solid #0ff;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.2s;
            z-index: 10;
        }
        .draggable-line.selected .resize-handle, .draggable-image.selected .resize-handle {
            opacity: 1;
        }
        .resize-handle.top-left { top: -0.5rem; left: -0.5rem; cursor: nwse-resize; }
        .resize-handle.top-right { top: -0.5rem; right: -0.5rem; cursor: nesw-resize; }
        .resize-handle.bottom-left { bottom: -0.5rem; left: -0.5rem; cursor: nesw-resize; }
        .resize-handle.bottom-right { bottom: -0.5rem; right: -0.5rem; cursor: nwse-resize; }
        .tab-button.active {
            background-color: #3b82f6;
        }
        .image-gallery-item {
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            border-radius: 0.5rem;
        }

        .image-gallery-item.selected {
            outline: 2px solid #0ff;
            transform: scale(1.05);
            box-shadow: 0 0 10px rgba(0,255,255,0.7);
        }
        .ruler-container {
            position: relative;
            background: #2c2c2c;
            border-radius: 1rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }
        .ruler-top, .ruler-left {
            position: absolute;
            background: #4a4a4a;
            color: #ccc;
            font-size: 10px;
            z-index: 20;
            pointer-events: none;
            overflow: hidden;
        }
        .ruler-top {
            top: 0;
            left: 0;
            right: 0;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 5px;
        }
        .ruler-left {
            top: 0;
            left: 0;
            bottom: 0;
            width: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            padding: 5px 0;
        }
        .ruler-top span, .ruler-left span {
            position: absolute;
            transform: translateX(-50%);
        }
        .ruler-top span { top: 2px; }
        .ruler-left span { left: 2px; transform: translateY(-50%); }
        .ruler-top .marker {
            position: absolute;
            height: 100%;
            width: 1px;
            background: #ccc;
        }
        .ruler-left .marker {
            position: absolute;
            width: 100%;
            height: 1px;
            background: #ccc;
        }
        .editable {
            outline: 2px dashed rgba(255, 255, 255, 0.5);
            cursor: text;
        }
        .editable-resizable {
            position: relative;
            border: 2px dashed rgba(255, 255, 255, 0.5);
            user-select: none;
        }
        .editable-resizable.selected {
            border-color: #0ff;
        }
        #rulerWrapper {
            position: relative;
            width: 100%;
            max-width: 900px;
            aspect-ratio: 1/1;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        #signPreview {
            width: 100%;
            height: 100%;
            padding: 20px;
        }
        #designArea {
            position: relative;
            width: 100%;
            height: 100%;
            background-color: #1a1a1a;
        }