/**
 * Business Cards Price Form Image Carousel Styles
 * Extracted from shape-selector.php for better maintainability
 */

#_55psc_wrapper-main {
    width: 100%;
    max-width: 450px;
}

#_55psc_wrapper-main ._55psc_image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#_55psc_wrapper-main #_55psc_cardPreview {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: none !important;
    /* Explicitly remove any box-shadow */
    filter: none !important;
    /* Explicitly remove any filter effects */
}

@keyframes _55psc_slide-out-left {
    0% {
        transform: translateX(0%);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes _55psc_slide-in-right {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

#_55psc_wrapper-main ._55psc_slide-out {
    animation: _55psc_slide-out-left 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

#_55psc_wrapper-main ._55psc_slide-in {
    animation: _55psc_slide-in-right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

#_55psc_wrapper-main ._55psc_shapes-container {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    padding-top: 30px;
}

#_55psc_wrapper-main ._55psc_product-title {
    all: initial !important;
    display: block !important;
    box-sizing: border-box !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    margin: 0 auto 10px auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: linear-gradient(135deg, #8B9DC3 0%, #DFB3E6 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: 0 2px 4px rgba(139, 157, 195, 0.3) !important;
}

#_55psc_wrapper-main ._55psc_shape {
    background-color: #9ca3af !important;
    width: 30px;
    height: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-origin: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

#_55psc_wrapper-main ._55psc_shape:not(._55psc_selected):hover {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

#_55psc_wrapper-main ._55psc_shape._55psc_selected {
    background-color: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    transform: scale(1.2) translateY(-8px);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
    animation: _55psc_pulse 1.5s infinite;
}

#_55psc_wrapper-main ._55psc_shape._55psc_clicked {
    animation: _55psc_clickBounce 0.6s ease-out;
}

@keyframes _55psc_pulse {

    0%,
    100% {
        transform: scale(1.2) translateY(-8px);
    }

    50% {
        transform: scale(1.25) translateY(-10px);
    }
}

@keyframes _55psc_clickBounce {
    0% {
        transform: scale(1.2) translateY(-8px);
    }

    25% {
        transform: scale(1.35) translateY(-12px) rotate(5deg);
    }

    50% {
        transform: scale(1.1) translateY(-5px) rotate(-3deg);
    }

    75% {
        transform: scale(1.3) translateY(-10px) rotate(2deg);
    }

    100% {
        transform: scale(1.2) translateY(-8px) rotate(0deg);
    }
}

#_55psc_wrapper-main ._55psc_shape._55psc_shape1 {
    border-radius: 4px 10px 10px 4px;
}

#_55psc_wrapper-main ._55psc_shape._55psc_shape2 {
    border-radius: 50%;
}

#_55psc_wrapper-main ._55psc_shape._55psc_shape3 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

#_55psc_wrapper-main ._55psc_shape._55psc_shape4 {
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

#_55psc_wrapper-main ._55psc_shape._55psc_shape5 {
    border-radius: 2px;
}

#_55psc_wrapper-main ._55psc_shape._55psc_shape6 {
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

#_55psc_wrapper-main ._55psc_shape._55psc_shape7 {
    border-radius: 8px;
}

#_55psc_wrapper-main ._55psc_shape-name {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    pointer-events: none;
}

#_55psc_wrapper-main ._55psc_shape:hover ._55psc_shape-name {
    opacity: 1;
}



/* CCF-UPLOADER-FIX-START */
#ccf-isolated-container .results-section {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 10px !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow-y: visible !important;
    transition: none !important;
}
#ccf-isolated-container .results-section.active {
    max-height: none !important;
    opacity: 1 !important;
    overflow-y: visible !important;
}
#ccf-isolated-container .results-section > .file-result-item,
#ccf-isolated-container .file-result-item {
    width: 100% !important;
    max-width: 480px !important;
    box-sizing: border-box !important;
    margin: 6px auto !important;
    float: none !important;
    clear: both !important;
}
#ccf-isolated-container .results-section * {
    float: none !important;
    clear: both !important;
}
/* CCF-UPLOADER-FIX-END */


