:root {
    --color-text-workable: #30695f;
    --gray-2: #e5e7eb;
    --border-radius-1: 0.25rem;
}

/* Custom radio button styles for workable-radio-buttons */
#workable-radio-buttons input[type="radio"] {
    display: none;
}

#workable-radio-buttons .radio-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 4rem 2rem;
    border: 2px solid var(--gray-2);
    border-radius: var(--border-radius-1);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    color: var(--color-text-workable);
    /* Inherit text color */
}

#workable-radio-buttons input[type="radio"]:checked+label.radio-container {
    border-color: var(--color-text-workable);
    /* Use root variable */
    background-color: var(--color-text-workable);
    /* Use root variable */
    color: white;
    /* Ensure text is visible */
}

#workable-radio-buttons input[type="radio"]:checked+label.radio-container .radio-label {
    color: white;
    /* Ensure the span changes color when checked */
}

#workable-radio-buttons label.radio-container svg {
    color: var(--color-text-workable);
    /* Use root variable */
}

#workable-radio-buttons input[type="radio"]:checked+label.radio-container svg {
    color: white;
    /* Change color when selected */
}

/* Ensure the SVG uses the current color */
#workable-radio-buttons .radio-container svg circle,
.radio-container svg path {
    stroke: currentColor;
}

/* for workable */

.group-alpha .item {
    transition: all .1s ease-in-out;
}

.group-alpha .item:hover {
    transform: scale(1.05);
    background-color: #f6f7f8;
}

/* Color Classes */
.text-workable {
    color: var(--color-text-workable) !important;
}

.button-workable {
    background-color: var(--color-text-workable) !important;
    color: white !important;
}

.button-workable2 {
    background-color: white !important;
    color: var(--color-text-workable) !important;
    border: 1px solid var(--color-text-workable) !important;
}

.button-workable3 {
    background-color: transparent !important;
    color: var(--color-text-workable) !important;
    border: 1px solid var(--color-text-workable) !important;
}

.header-workable {
    background-color: #131f25 !important;
}

.hamburger-workable {
    background-color: var(--color-text-workable) !important;
}

.ts-control {
    border-color: var(--form-input-border-color, #e5e7eb);
    border-width: var(--form-input-border-width, 2px);
    border-radius: var(--form-input-border-radius, 0.25rem);
    padding: var(--form-input-padding, 0.75rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 48px !important;
    height: 48px !important;
    box-sizing: border-box !important;
}

.ts-wrapper.multi .ts-control>div {
    margin-bottom: 0px;
    padding: 2px 4px !important;
    display: inline-flex;
    align-items: center;
    margin-right: 10px !important;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    background-color: #f9fafb;
}

.ts-wrapper.multi .ts-control>div .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: 4px;
    cursor: pointer;
    margin-top: -4px;
}

.ts-wrapper.multi .ts-control input {
    border: none;
    padding: 4px;
    margin: 0;
    display: inline-block;
    flex: 1;
    height: 100% !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

.ts-wrapper.focus .ts-control {
    border-color: var(--form-input-border-color-focus, #191919);
}

.ts-wrapper.focus.dropdown-active .ts-control {
    border-bottom: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.ts-dropdown {
    margin: 0;
    box-shadow: unset;
    border-color: var(--form-input-border-color-focus, #191919);
    border-width: var(--form-input-border-width, 2px);
    border-radius: var(--form-input-border-radius, 0.25rem);
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.ts-dropdown .active {
    background-color: #001a4b;
    color: var(--bg-primary-text, #fff);
}

/* Custom radio button styles for workable-radio-application */
#workable-radio-application input[type="radio"] {
    display: none;
}

#workable-radio-application .radio-application {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border: 2px solid var(--gray-2);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    color: black;
}

#workable-radio-application input[type="radio"]:checked+label.radio-application {
    border-color: var(--color-text-workable);
    background-color: var(--color-text-workable);
    color: white;
}

#workable-radio-application input[type="radio"]:checked+label.radio-application .radio-label {
    color: white;
}

#workable-radio-application label.radio-application svg {
    color: black;
}

#workable-radio-application input[type="radio"]:checked+label.radio-application svg {
    color: white;
}

#workable-radio-application .radio-application svg circle,
.radio-application svg path {
    stroke: currentColor;
}

/* Custom radio button styles */
#workable-radio-application input[type="radio"] {
    display: none;
}

/* For toggle button */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--color-text-workable);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* Default state */
label[for="referral-rewards-checkbox"] {
    background-color: white;
    transition: background-color 0.3s;
}

/* Selected state */
#referral-rewards-checkbox:checked+label {
    background-color: #fef9c3;
}

.standard-radio input[type="radio"] {
    display: inline-block;
    margin-right: 5px;
}

.standard-radio label {
    cursor: pointer;
    color: #000;
}

.border-custom-active {
    border-color: var(--color-text-workable);
}

.htmx-request .shown-while-loading {
    display: block;
}

.htmx-request .hidden-while-loading {
    display: none;
}

.shown-while-loading {
    display: none;
}

.htmx-request.faded-while-loading,
.htmx-request .faded-while-loading {
    opacity: 0.6
}

@media (min-width: 1024px) {

    /* lg and above */
    .custom-layout {
        grid-column-start: 2;
        grid-column-end: 6;
    }
}

@media (max-width: 1023px) {

    /* md and below */
    .custom-layout {
        grid-column-start: 1;
        grid-column-end: 8;
    }
}

@media (min-width: 1024px) {

    /* lg and above */
    .custom-layout {
        grid-column-start: 1;
        grid-column-end: 6;
        /* Ends at the 6th column */
    }
}

@media (min-width: 1280px) {

    /* xl screens (1280px and above) */
    .custom-layout {
        grid-column-start: 2;
        grid-column-end: 6;
        /* Ends at the 6th column */
    }
}

@media (min-width: 320px) and (max-width: 639px) {
    .publish-button {
        grid-column-start: 5;
        grid-column-end: 7;
    }
}

@media (min-width: 640px) and (max-width: 1024px) {
    .publish-button {
        grid-column-start: 6;
        grid-column-end: 8;
    }
}

@media (min-width: 1280px) {
    .publish-button {
        grid-column-start: 6;
        grid-column-end: 7;
    }
}

@media (min-width: 320px) and (max-width: 1024px) {
    .custom-grid2 {
        grid-column-start: 1;
        grid-column-end: 8;
    }


}

@media (min-width: 1280px) {
    .custom-grid2-lg {
        grid-column-start: 2;
        grid-column-end: 7;
    }


}

@media (min-width: 320px) and (max-width: 1023px) {
    .custom-grid4 {
        grid-column-start: 1;
        grid-column-end: 8;
    }


}

@media (min-width: 1024px) {
    .custom-grid4-lg {
        grid-column-start: 2;
        grid-column-end: 7;
    }


}

/* Custom CSS for sm and md screens */
@media (min-width: 640px) and (max-width: 1023px) {
    .custom-grid {
        grid-column-start: 1;
        grid-column-end: 8;
    }


}

/* Retain the original layout for lg and bigger screens */
@media (min-width: 1024px) {
    .custom-grid-lg {
        grid-column-start: 2;
        grid-column-end: 7;
    }


}

/* Custom CSS for sm and md screens */
@media (min-width: 640px) and (max-width: 1024px) {
    .custom-grid-3 {
        grid-column-start: 1;
        grid-column-end: 8;
    }


}

/* Retain the original layout for lg and bigger screens */
@media (min-width: 1280px) {
    .custom-grid3-lg {
        grid-column-start: 2;
        grid-column-end: 7;
    }


}

/* Apply the same custom class to all the grid items */
.grid-item {
    grid-column-start: inherit;
    grid-column-end: inherit;
}

/* Apply styles for small (sm) and medium (md) screens */
@media (min-width: 640px) and (max-width: 1023px) {
    .custom-grid-item:nth-child(1) {
        grid-column-start: 1;
        grid-column-end: 2;
    }

    .custom-grid-item:nth-child(2) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .custom-grid-item:nth-child(3) {
        grid-column-start: 3;
        grid-column-end: 4;
    }

    .custom-grid-item:nth-child(4) {
        grid-column-start: 4;
        grid-column-end: 5;
    }

    .custom-grid-item:nth-child(5) {
        grid-column-start: 5;
        grid-column-end: 6;
    }

    .custom-grid-item:nth-child(6) {
        grid-column-start: 6;
        grid-column-end: 7;
    }

    .custom-grid-item:nth-child(7) {
        grid-column-start: 7;
        grid-column-end: 8;
    }
}

/* Retain original styles for large (lg) and bigger screens */
@media (min-width: 1024px) {
    .custom-grid-item:nth-child(1) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .custom-grid-item:nth-child(2) {
        grid-column-start: 3;
        grid-column-end: 4;
    }

    .custom-grid-item:nth-child(3) {
        grid-column-start: 4;
        grid-column-end: 5;
    }

    .custom-grid-item:nth-child(4) {
        grid-column-start: 5;
        grid-column-end: 6;
    }

    .custom-grid-item:nth-child(5) {
        grid-column-start: 6;
        grid-column-end: 7;
    }
}

@media (min-width: 640px) and (max-width: 1024px) {
    .custom-grid-item1:nth-child(1) {
        grid-column-start: 1;
        grid-column-end: 2;
    }

    .custom-grid-item1:nth-child(2) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .custom-grid-item1:nth-child(3) {
        grid-column-start: 3;
        grid-column-end: 4;
    }

    .custom-grid-item1:nth-child(4) {
        grid-column-start: 4;
        grid-column-end: 5;
    }

    .custom-grid-item1:nth-child(5) {
        grid-column-start: 5;
        grid-column-end: 6;
    }

    .custom-grid-item1:nth-child(6) {
        grid-column-start: 6;
        grid-column-end: 7;
    }

    .custom-grid-item1:nth-child(7) {
        grid-column-start: 7;
        grid-column-end: 8;
    }
}

@media (min-width: 1280px) {
    .custom-grid-item1:nth-child(1) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    .custom-grid-item1:nth-child(2) {
        grid-column-start: 3;
        grid-column-end: 4;
    }

    .custom-grid-item1:nth-child(3) {
        grid-column-start: 4;
        grid-column-end: 5;
    }

    .custom-grid-item1:nth-child(4) {
        grid-column-start: 5;
        grid-column-end: 6;
    }

    .custom-grid-item1:nth-child(5) {
        grid-column-start: 6;
        grid-column-end: 7;
    }
}

.text-xs {
    font-size: 11px;
}

.text-xs2 {
    font-size: 12px;
}


@media (min-width: 375px) and (max-width: 639px) {
    .custom-text-size {
        font-size: 12px;
    }
}

@media (min-width: 320px) and (max-width: 374px) {
    .custom-text-size2 {
        font-size: 8px;
    }

    .custom-text-size3 {
        font-size: 12px
    }

    .hide-icons {
        display: none;

    }

    .margin-small {
        margin-top: -50px;
    }

    .margin-small2 {
        margin-top: -6px;
    }

    .margin-small3 {
        margin-top: -6px;
    }

    .margin-small2-left {
        margin-left: 10px
    }

    .icons-small {
        width: 7rem;
    }

    .custom-text-size3-title {
        font-size: 9px
    }

    .custom-text-size3-content {
        font-size: 8px
    }

    .step-10-col {
        flex-direction: column;
    }

    .step-10-width {
        width: 100%;
    }
}

@media (min-width: 375px) and (max-width: 424px) {
    .custom-text-size2 {
        font-size: 10px;
    }

    .custom-text-size3 {
        font-size: 14px
    }

    .custom-text-size3-title {
        font-size: 12px
    }

    .custom-text-size3-content {
        font-size: 10px
    }

    .icons-small {
        width: 7rem;
    }

    .hide-icons1 {
        display: none;
    }

    .margin-small2 {
        margin-top: 8px;
    }

    .margin-small3 {
        margin-top: 20px;
    }

    .margin-small2-left {
        margin-left: 10px
    }

    .step-10-col {
        flex-direction: column;
    }

    .step-10-width {
        width: 100%;
    }

    .step-10-img {
        width: 10%
    }
}

@media (min-width: 425px) and (max-width: 639px) {
    .custom-text-size2 {
        font-size: 11px;
    }



    .hide-icons1 {
        display: none;
    }

    .margin-small2 {
        margin-top: 8px;
    }

    .margin-small3 {
        margin-top: 24px;
    }

    .custom-text-size3 {
        font-size: 16px
    }

    .custom-text-size3-title {
        font-size: 15px
    }

    .custom-text-size3-content {
        font-size: 11px
    }

    .custom-text-size4-title {
        font-size: 12px
    }

    .custom-text-size4-content {
        font-size: 10px
    }

    .margin-small2-left {
        margin-left: 10px
    }

    .step-10-col {
        flex-direction: column;
    }

    .step-10-width {
        width: 100%;
    }
}

@media (min-width: 320px) and (max-width: 374px) {
    .custom-size {
        width: 30%;
    }

    .custom-size2 {
        width: 55%;
    }

    .xxs-text-size {
        font-size: 13px;
    }

    .page3-320-display {
        align-items: flex-start;
        flex-direction: column;

    }

    .page3-width {
        width: 100%;
        gap: 10px;
    }

    .button-page4 {
        height: 10px;
        width: 10px;
    }

}

@media (min-width: 375px) and (max-width: 424px) {
    .custom-size {
        width: 31.5%;
    }

    .custom-size2 {
        width: 55%;
    }

    .page3-320-display {
        align-items: flex-start;
        flex-direction: column;
    }

    .page3-width {
        width: 100%;
        gap: 10px;
    }

    .button-page4 {
        height: 10px;
        width: 10px;
    }

    .xxs-text-size {
        font-size: 13px;
    }
}

/* Custom CSS for sm and md screens */
@media (min-width: 320px) and (max-width: 1023px) {
    .custom-grid-step8 {
        grid-column-start: 1;
        grid-column-end: 3;
    }

    .custom-grid-step8-2 {
        grid-column-start: 3;
        grid-column-end: 8;
    }

}

/* Retain the original layout for lg and bigger screens */
@media (min-width: 1024px) {
    .custom-grid-step8 {
        grid-column-start: 2;
        grid-column-end: 7;
    }

    .custom-grid-step8-2 {
        grid-column-start: 4;
        grid-column-end: 7;
    }


}

@media (min-width: 640px) and (max-width: 1279px) {
    .text-xs3 {
        font-size: 12px;
    }
}

details summary {
    list-style: none;
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::marker {
    display: none;
}




@media (min-width: 2560px) {
    .custom-margin {
        margin-left: -10px;
    }

    .custom-padding {
        padding-bottom: 0;
    }

}

@media (min-width: 1536px) and (max-width: 2559px) {
    .custom-margin {
        margin-left: -10px;
    }

}