body.modal-is-open {
    overflow: hidden;
}

.slide-wheel-parent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #19293db9, #19293d);
    z-index: 1000000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    display: none;
}

.slide-wheel-parent.slide-open {
    display: flex;
}

.captcha-close-button {
    padding: 8px;
    position: absolute !important;
    top: 5px;
    right: 5px;
    cursor: pointer;


}

.captcha-info {
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
}

.captcha-info-img {
    width: 100%;
    padding-top: 50%;
    background-size: contain;
    z-index: 2;
    position: relative;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.chaptcha-info-text {
    color: #fff;
    z-index: 3;
    position: relative;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

.captcha-heading {
    font-size: 24px;
    margin-bottom: 0px;
    color: #ffffff;
    z-index: 3;
    position: relative;
}

.captcha-close-button svg {
    width: 20px;
    height: 20px;
}

.wheel-wrapper {
    background: linear-gradient(45deg, #425369, #366991);
    width: 650px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;

}

.wheel-wrapper * {
    z-index: 2;
}

/** {
  font-family: verdana, arial, sans-serif;
}*/


.are-you-human-slide-wrapper {
    width: 100%;
    margin: auto;
    margin-top: 0px;
    padding: 0px 0;
}

.are-you-human-slide-wrapper #validated {
    opacity: 0;
    display: block;
    text-align: center;
    transition: all 1s;
    margin-top: 20px;
    font-size: 20px;
    color: rgb(12, 94, 32);
}

.are-you-human-slide-wrapper #validated.true {
    opacity: 1;
}

.are-you-human-slide-wrapper label {
    position: relative;
    width: 100%;
    height: 20px;
    display: block;
    margin: auto;
}

.are-you-human-slide-wrapper #result {
    display: block;
    font-size: 20px;
    text-align: center;
    margin-top: 10px;
    color: white;
    position: absolute;
    right: 0;
    top: -12px;
}




.change-captcha-button {
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.change-captcha-button svg {
    margin-left: 10px;
}

/* css */
.are-you-human-wrapper {
    color: #fff;
    display: flex;
    justify-content: flex-end;
}

.are-you-human-wrapper .dcontent {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #5645FF; */
    padding: 10px 16px !important;
    border-radius: 10px;
    /* border: 1px solid rgba(255, 255, 255, 0.4); */
    width: 100%;
}

.are-you-human-wrapper label {
    color: #fff;
    margin-bottom: 0px;
}

.are-you-human-wrapper .are-you-human-button {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.1);
    margin-left: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex: none;
}

.are-you-human-wrapper .are-you-human-button.checked {
    border: 1px solid rgb(25, 163, 32);
}

.are-you-human-wrapper .are-you-human-button .are-you-human-result {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b5ecb8;
    display: none;
}

.are-you-human-wrapper .are-you-human-button.checked .are-you-human-result {
    display: flex;
}

.are-you-human-wrapper .are-you-human-button .are-you-human-result img {
    width: 60%;
}

.are-you-human-message {
    text-align: center;
    display: none;
    background: rgb(167, 50, 50);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.are-you-human-message.show {
    display: block;
}

.wheel-wrapper .change-captcha-button {
    color: #fff;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.wheel-wrapper .change-captcha-button svg {
    stroke: #fff;
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.wheel-wrapper .check-captcha-button {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    z-index: 4;
    position: relative;
}

.wheel-wrapper .check-captcha-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.captcha-is-wrong-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(157 157 157 / 77%);
    background: rgba(0, 0, 0,.75);
    z-index: 1000000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.captcha-is-wrong-modal-wrapper.close {
    display: none;
}

.captcha-is-wrong-modal {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background:var(--blue-1);
    border-radius: 20px;
    color: #fff;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 100000;
    text-align: center;
}

.captcha-is-wrong-modal-ok {
    padding: 6px 20px;
    max-width: 100px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #e39b1f;
    text-align: center;
    display: block;
    margin-top: 10px;
    cursor: pointer;
}


/************** Nick Code ******************/

.are-you-human-slide-wrapper h5 {
    line-height: 30px;
    color: #fff;
}

.are-you-human-slide-wrapper .spacer {
    max-width: 50px;
    margin-left: auto;
    margin-right: auto;
}

.are-you-human-slide-wrapper .spacer img {
    max-width: 100%;
}

#contenedorPuzzle {
    margin: 10px auto;
    width: 100%;
    background: linear-gradient(45deg, var(--green-1), var(--cyan-1));
    color: #ccc;
    padding: 10px;
    overflow: hidden;

}


/* Puzzle Pieces - CSS Generated Colored Blocks */
.puzzle-piece {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    cursor: grab;
    transition: transform 0.2s;
}

.puzzle-piece:active {
    cursor: grabbing;
}

/* Color scheme for pieces - Using background images */
.puzzle-piece[data-color="yellow"] {
    background-image: url('images/yellow.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.puzzle-piece[data-color="red"] {
    background-image: url('images/red.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(235, 51, 73, 0.4);
}

.puzzle-piece[data-color="blue"] {
    background-image: url('images/blue.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.puzzle-piece[data-color="green"] {
    background-image: url('images/green.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
}

.puzzle-piece[data-color="orange"] {
    background-image: url('images/orange.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.5);
}

.puzzle-piece[data-color="violet"] {
    background-image: url('images/violet.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.puzzle-piece[data-color="pink"] {
    background-image: url('images/pink.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

/* Drop zone hints - Show color text */
.pattern-hint {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pattern-hint .hint-text {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    text-transform: capitalize;
}

.pattern-hint:has(.puzzle-piece) .hint-text {
    display: none;
}

/* Puzzle */
#contenedorPiezas {
    background: #ffffff;
    width: calc(50% - 5px);
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    float: left;
    grid-gap: 5px;
    padding: 5px;
}

#contenedorPiezas .puzzle-piece {
    /* All pieces are perfect squares in 2x2 grid */
}

/* Placeholder slots for left side to maintain positions */
.piece-slot {
    width: 100%;
    height: 100%;
    position: relative;
}

.piece-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}


#puzzle {
    background: #fff;
    width: calc(50% - 5px);
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    float: right;
    position: relative;
    grid-gap: 5px;
    padding: 5px;
}

#puzzle .contenedorPieza {
    /* All slots are perfect squares in 2x2 grid */
}

#puzzle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

#puzzle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.contenedorPieza {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

#contenedorPuzzle .puzzle-piece {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/******************************************/
#message-after-email {
/*    width: 100%;
    position: fixed;
    top: 0px;
    max-width: 600px;
    z-index: 1;
    left: 0x;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, .4);
    overflow: hidden;
    border-radius: 20px;*/
}

.error-overlay,
.success-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    background: rgba(0, 0, 0, .75);
    left: 0px;
    top: 0px;
}

#message-after-email #image-captcha-wrong-result-message {
    padding: 20px;
    background: rgb(201, 7, 7);
    border-radius: 20px;
    position: relative;
    padding-right:50px;
}

#message-after-email #image-captcha-success-result-message {
    background:#008080;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #fff;
    position: relative;
    padding: 20px;
    border-radius: 20px;
    padding-right: 50px;
}

#message-after-email .tcm-close {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 1;
    transform: translateY(-50%);
}

#message-after-email #image-captcha-success-result-message p {
    color: #fff;
}

@media only screen and (max-width: 900px) {
    .wheel-wrapper {
        width: calc(100% - 40px);
        max-width: 340px;
    }

    .are-you-human-slide-wrapper h5 {
        font-size: 18px !important;
        line-height: 22px;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 30px;
    }

    .are-you-human-slide-wrapper .spacer {
        max-width: 30px;
    }

    .captcha-heading {
        font-size: 20px;
        line-height: 24px;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    #contenedorPiezas {
        width: calc(50% - 5px);

    }


    #puzzle {
        width: calc(50% - 5px);
    }

    .pattern-hint .hint-text {
        font-size: 14px;
    }

}