﻿
.canvas-area {
    /*padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;*/
    position: relative;
    padding-top: 100%;
}

/*.drop-zone-container {
    
}*/

.drop-zone {
    position: absolute;
    inset: 0;
    border: 3px dashed #cbd5e1;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(45deg, #f8fafc, #f1f5f9);
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .drop-zone.drag-over {
        border-color: #4f46e5;
        background: linear-gradient(45deg, #eef2ff, #e0e7ff);
        transform: scale(1.02);
    }

    .drop-zone.has-svg {
        overflow: hidden;
        cursor: grab;
        border: none;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

.drop-icon {
    width: 80px;
    height: 80px;
    background: #CCEA4A;
    padding: 1rem;
    /*color: #CCEA4A;*/
    /*linear-gradient(45deg, #4f46e5, #7c3aed);*/
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    /*color: white;*/
    /*font-size: 2rem;*/
}

.drop-text {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 10px;
    font-weight: 600;
}

.drop-hint {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

.file-input-btn {
    background: #CCEA4A;
    /*linear-gradient(45deg, #4f46e5, #7c3aed);*/
    /*color: white;*/
    border: none;
    padding: 12px 48px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease;
}

    .file-input-btn:hover {
        transform: translateY(-2px);
    }

.svg-preview {
    max-width: 100%;
    max-height: 500px;
    border-radius: 10px;
}

.controls-panel {
    background: #f8fafc;
    padding: 25px;
    overflow-y: auto;
    border-radius: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}




    .controls-panel .controls-overlay {
        position: absolute;
        inset: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 32px;
        padding: 20px;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }



        .controls-panel .controls-overlay .drop-text {
            font-size: 1.25rem;
            color: #000;
            margin-bottom: 8px;
        }



        .controls-panel .controls-overlay .drop-hint {
            font-size: 1rem;
            text-align: center;
        }




.panel-section {
    margin-bottom: 24px;
}


@media (min-width: 1280px) {

    .controls-panel .controls-overlay .drop-text {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }



    .controls-panel .controls-overlay .drop-hint {
        font-size: 1.25rem;
    }


    .panel-section {
        margin-bottom: 32px;
    }
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25px, 1fr));
    gap: 6px;
    margin-bottom: 15px;
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);*/
}

    .color-circle:hover {
        transform: scale(1.2);
        /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        border-color: #4f46e5;*/
    }

    .color-circle.editing {
        border-color: #4f46e5;
        border-width: 3px;
        transform: scale(1.15);
    }

/* .color-circle.ghost {
        border-color: #f59e0b;
        border-style: dashed;
    }*/

.color-tooltip {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.color-circle:hover .color-tooltip {
    opacity: 1;
}

.color-picker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.size-controls {
    margin-bottom: 15px;
}

.size-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.size-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.size-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.custom-size {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.size-input {
    padding: 12px 20px;
    border: 1px solid #d1d5db;
    border-radius: 40px;
    font-size: 1rem;
    width: 100%;
}

    .size-input::placeholder {
        color: #9ca3af;
        /*font-size: 0.7rem;*/
    }

/* Floating Color Picker */
.floating-color-picker {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 15px;
    width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e7eb;
    display: none;
    z-index: 500;
}

.floating-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.floating-picker-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

.floating-picker-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6b7280;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

    .floating-picker-close:hover {
        background: #f3f4f6;
    }

.floating-color-display {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 2px solid #e5e7eb;
}

.floating-hex-input {
    width: 100%;
    padding: 6px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.floating-color-presets {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

.floating-color-preset {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    transition: transform 0.1s ease;
}

    .floating-color-preset:hover {
        transform: scale(1.1);
        border-color: #4f46e5;
    }

/* Canvas Controls */
.canvas-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    display: none;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.canvas-control-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

    .canvas-control-btn:hover {
        background: #f3f4f6;
        transform: translateY(-1px);
    }

/* Global Controls */
.global-controls {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.global-control-btn {
    flex: 1;
    padding: 12px 12px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 32px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

    .global-control-btn:hover {
        background: #f3f4f6;
        border-color: #9ca3af;
    }

    .global-control-btn.danger {
        color: #dc2626;
        border-color: #fecaca;
    }

        .global-control-btn.danger:hover {
            background: #fef2f2;
            border-color: #dc2626;
        }

.export-section {
    display: flex;
    /*flex-direction: column;*/
    gap: 30px;
}

.export-btn {
    background: #CCEA4A;
    /*color: white;*/
    flex: 1;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease;
}

    .export-btn:hover {
        transform: translateY(-1px);
    }

    .export-btn:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        transform: none;
    }

.stats {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #0c4a6e;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .main {
        grid-template-columns: 1fr;
    }

    .controls-panel {
        border-left: none;
        /*border-top: 1px solid #e2e8f0;*/
    }
}

/* Hide old custom floating picker when using Coloris */
#floatingColorPicker {
    display: none !important;
}

/* Kill-switch for any floating upload buttons */
.gi-upload-btn, #giUploadBtn {
    display: none !important;
}


.editor-benefits {
    /*padding-top: 8rem;
    padding-bottom: 8rem;*/
    background: linear-gradient(180deg, #b1e583, #fff);
}

/*  .editor-benefits h2 {
        margin-bottom: 4rem;
    }*/


.benefit-card {
    background-color: #ffffff;
    padding: 48px 32px 32px 32px;
    border-radius: 20px;
    /*margin-bottom: 30px;*/
    height: 100%;
}

    .benefit-card p,
    .benefit-card h3 {
        text-align: center;
    }

        .benefit-card p a {
            font-weight: 600;
        }

    .benefit-card h3 {
        margin-bottom: 1rem;
    }



.editor-use-cases {
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
}

.troubleshooting-sec {
    background: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.8))
}


.troubleshooting-sec {
    color: #fff;
    border-radius: 1.5rem;
}

    .troubleshooting-sec h2 {
        color: #CCEA4A;
    }



.checkmarks p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: 1rem;
    color: #000000;
}

@media (min-width:768px) {
    .checkmarks p {
        margin-bottom: 1.25rem;
        gap: .75rem
    }
}



@media (min-width: 1280px) {

    .checkmarks p {
        margin-bottom: 1.5rem;
        font-size: 1.25rem;
    }
}

.troubleshooting-sec .checkmarks p {
    color: rgb(255, 255, 255)
}

.link-card {
    background: linear-gradient(180deg, #e1e1e1, #f2f2f2);
    padding: 24px;
    border-radius: 20px;
    height: 100%;
}


    .link-card a span {
        font-weight: 600;
        font-size: 1.25rem;
        display: block;
        margin-bottom: 0.5rem;
    }


@media (min-width: 1280px) {
    .link-card {
        padding: 32px;
    }

        .link-card a span {
            font-weight: 600;
            font-size: 1.5rem;
            display: block;
            margin-bottom: 1rem;
        }
}


#faq-accordion .card {
    padding: 0;
    margin: 0;
    border-radius: 0px;
    border-color: transparent;
    background: #fff;
    box-shadow: none;
}


    #faq-accordion .card .card-header {
        padding: 0;
        margin-bottom: 0;
        background-color: transparent;
        border-bottom: none;
    }


        #faq-accordion .card .card-header button.btn {
            color: #000000;
            border-radius: 16px;
            background: transparent;
            margin-top: 0;
            padding: 0.5rem 0rem;
            font-weight: 500;
            font-size: 1.25rem;
        }


    #faq-accordion .card .card-body {
        padding-top: 0.75rem;
        padding-bottom: 1.25rem;
        justify-content: flex-start;
        font-size: 1rem;
        border-bottom: 1px solid #eee;
    }



@media (min-width: 1280px) {


    #faq-accordion .card .card-header button.btn {
        font-size: 1.75rem;
    }


    #faq-accordion .card .card-body {
        font-size: 1.25rem;
    }
}
