:root{
    --theme-color: 0;
    --theme-light: 33%;
    --theme-sat: 52%;
    --comp-color: 180;
    --theme-radius: 4px;
    --background-light:98%;

    /* MAIN */
    --sifa-main-color:              hsl(var(--theme-color), var(--theme-sat), var(--theme-light));
    --sifa-secondary-color:         hsl(var(--theme-color), var(--theme-sat), calc(var(--theme-light) + 20%));
    --sifa-accent-color:            hsl(var(--comp-color),  var(--theme-sat), var(--theme-light));
    --sifa-main-background-color:   hsl(var(--theme-color), 10%, var(--background-light));

    --sifa-text-color:              hsl(var(--theme-color), 30%, 20%);
    --sifa-icon-color:              hsl(var(--theme-color), 80%, 10%);
    --sifa-light-color:             hsl(var(--theme-color), 51%, 46%);   
    --sifa-black-color:             hsl(var(--theme-color), 0%, 27%);
    --sifa-grey-color:              hsl(var(--theme-color), 0%, 83%);
    --sifa-white-color:             hsl(var(--theme-color), 0%, 99%);

    
    --sifa-lightback-text-color: hsl(var(--theme-color), 0%, 27%);
    --sifa-darkback-text-color: hsl(var(--theme-color), 0%, 83%);
    
    --sifa-border-radius: var(--theme-radius);
    --sifa-border: 1px solid var(--sifa-grey-color);
    --sifa-button-text-color: white;

    /* INPUT FIELDS */
    --sifa-input-color: var(--sifa-black-color);
    --sifa-input-padding: 0.75rem;
    --sifa-input-border-bottom: 3px;
    --sifa-input-focus-border: 2px solid var(--sifa-main-color);
    --sifa-input-background-color: var(--sifa-white-color);
    --sifa-input-border-radius: var(--theme-radius);
    --sifa-input-border-shape: rounded;

    /* BREADCRUMBS */
    --sifa-breadcrumb-color: var(--sifa-main-color);
    --sifa-breadcrumb-hover-background: var(--sifa-light-color);
    --sifa-breadcrumb-border: 3px solid var(--sifa-main-background-color);
    --sifa-breadcrumb-border-radius: var(--theme-radius);
    --sifa-breadcrumb-step-shape: rounded;
    --sifa-breadcrumb-step-radius: 50%;

    /* SURVEY */
    --sifa-survey-even-background: hsl(var(--theme-color), 51%, 90%);
    --sifa-survey-odd-background: transparent;

    /* STAR RATING */
    --sifa-star-color: var(--sifa-main-color);
    --sifa-star-size: 40px;
    --sifa-star-border-width: 5px;
    --sifa-star-border-color: hsl(var(--theme-color), 51%, 20%);
}
.dark-theme {

}

body{
    font-family: Arial, Helvetica, sans-serif;
    padding: 30px;
    background-color: var(--sifa-main-background-color);
    color: var(--sifa-text-color);
}

h1, h2, h3, h4, h5, h6{
    color: var(--sifa-main-color);
}

/* BREAD CRUM URL */
.sifa-breadcrumbs-url{
    display: flex;
    gap: 10px;
    margin-bottom: 1.5em;
    font-size: 12px;
    box-sizing: border-box;
    padding-bottom: 8px;
}
.sifa-breadcrumbs-url .sifa-breadcrumb{
    cursor: pointer;
    position: relative;
    color: var(--sifa-breadcrumb-color);
    font-weight: 600;
    padding-bottom: 4px;
    transition: 0.3s ease-in-out;
}
.sifa-breadcrumbs-url .sifa-breadcrumb::after{
    content:'/';
    position: absolute;
    right:-6px;
}

/* BREADCRUM TEXT */
.sifa-breadcrumbs-text{
    display: flex;
    gap: 19px;
    margin-bottom: 1.5em;
    font-size: 12px;
    box-sizing: border-box;
    padding-bottom: 8px;
}
.sifa-breadcrumbs-text .sifa-breadcrumb{
    cursor: pointer;
    position: relative;
    color: var(--sifa-breadcrumb-color);
    font-weight: 600;
    padding-bottom: 4px;
    transition: 0.3s ease-in-out;
}
.sifa-breadcrumbs-text .sifa-breadcrumb::after{
    content: '>';
    position: absolute;
    right: -14px;
    top: -3px;
    font-size: 17px;
}

/* BREADCRUM point */
.sifa-breadcrumbs-point{
    display: flex;
    width: 100%;
    height: 50px;
    margin-bottom: 1.5em;
    font-size: 12px;
    box-sizing: border-box;
    padding-bottom: 8px;
    position: relative;
}
.sifa-breadcrumbs-point::after{
    content: '';
    position: absolute;
    background-color: var(--sifa-main-color);
    height: 2px;
    width: 100%;
    top: 10px;
}
.sifa-breadcrumbs-point .sifa-breadcrumb{
    flex:1;
    cursor: pointer;
    position: relative;
    text-align: center;
    color: var(--sifa-breadcrumb-color);
    font-weight: 600;
    padding-bottom: 4px;
    transition: 0.3s ease-in-out;
    padding-top: 30px;
}
.sifa-breadcrumbs-point .sifa-breadcrumb:nth-child(1){
    text-align: left;
}
.sifa-breadcrumbs-point .sifa-breadcrumb:nth-last-child(1){
    text-align: right;
}
.sifa-breadcrumbs-point .sifa-breadcrumb span{
    position: relative;
    bottom: 0;
}
.sifa-breadcrumbs-point .sifa-breadcrumb span::after{
    content: '';
    position: absolute;
    border: 2px solid var(--sifa-main-color);
    background-color: var(--sifa-main-background-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: -30px;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 9;
}

/* BREADCRUM ARROW */
.sifa-breadcrumbs-arrow{
    display: flex;
    margin-bottom: 20px;
    width: calc(100% - 20px);
    font-size: 13px;
}
.sifa-breadcrumbs-arrow .sifa-breadcrumb{
    flex: 1;
    height: 30px;
    width: calc(100% / 3);
    display: flex;
    border: var(--sifa-border);
    border-radius: 4px 0px 0px 4px;
    background-color: var(--sifa-main-color);
    position: relative;
    align-items: center;
    padding-left: 30px;
    color: var(--sifa-darkback-text-color);
    cursor: pointer;
}
.sifa-breadcrumbs-arrow .sifa-breadcrumb.active{
    color:white;
    background-color: var(--sifa-secondary-color);
}
.sifa-breadcrumbs-arrow .sifa-breadcrumb.active:after{
    background-color: var(--sifa-secondary-color);
}   
.sifa-breadcrumbs-arrow .sifa-breadcrumb::after{
    content: '';
    background-color: var(--sifa-main-color);
    position: absolute;
    display: inline-block;
    border-right: var(--sifa-border);
    border-top: var(--sifa-border);
    border-bottom: var(--sifa-border);
    border-width: 1px;
    corner-top-right-shape: bevel;
    corner-bottom-right-shape: bevel;
    border-radius: 0px 15px 15px 0px;
    width: 20px;
    height: 30px;
    right: -20px;
    z-index: 5;
}


section{
    display: block;
    box-sizing: border-box;
    padding: 20px;
    border: var(--sifa-border);
    margin-bottom: 20px;
}
button{
    display: inline-block;
    font-weight: bold;
    background-color: var(--sifa-main-color, black);
    color: var(--sifa-button-text-color, white);
    box-sizing: border-box;
    border: none;
    padding: var(--sifa-input-padding, 0.50rem) var(--sifa-input-padding, 0.50rem);
    border-radius: var(--sifa-input-border-radius);
    corner-shape: var(--sifa-input-border-shape, rounded);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: var(--sifa-secondary-color, #333);
}



.sifa-input-container{
    display: flex;
    flex-direction: column;
    margin-top: 1.2em;
    position: relative;
}

.sifa-input-label{
    display: block;
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.25rem;
    margin-bottom: .7rem;
}
.sifa-input-desc{
    display: block;
    font-size: .75rem;
    line-height: 1.25rem;
    color: var(--sifa-input-desc-color, gray);
    margin-bottom: 0.7em;
}

.sifa-singleselect,
.sifa-multiselect,
.sifa-number,
.sifa-telephone,
.sifa-input {
    padding: var(--sifa-input-padding, 0.50rem);
    border-width: 1px;
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    width: 100%;
    border: var(--sifa-border, 1px solid black);
    color: var(--sifa-input-color, black);
    border-bottom-width: var(--sifa-input-border-bottom);
    box-sizing: border-box;
}

.sifa-singleselect:focus,
.sifa-multiselect:focus,
.sifa-number:focus,
.sifa-telephone:focus,
.sifa-input:focus {
    border: var(--sifa-input-focus-border);
    outline: none;
}

select[multiple]:focus option:checked {
    background: var(--sifa-main-color, black);
    color: var(--sifa-input-color, black);
}


/* RADIO AND CHECKBOX LISTS */
.sifa-radio-list, .sifa-checkbox-list{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.sifa-radio-row, .sifa-checkbox-row{
    display: block;
    border: var(--sifa-border, 1px solid black);
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    border-bottom-width: var(--sifa-input-border-bottom);
    width: 100%;
    padding: var(--sifa-input-padding, 0.50rem);
    box-sizing: border-box;
}
.sifa-radio-row input, .sifa-checkbox-row input{
    accent-color: var(--sifa-main-color, black);
}
.sifa-radio-row span, .sifa-checkbox-row span{
    display: inline-block;
    margin-left: 8px;
}
.sifa-radio-row:has(input:checked), .sifa-checkbox-row:has(input:checked){
    border: var(--sifa-input-focus-border);
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.2);
}


/* RANGE SLIDER */
.sifa-range-container{
    display: grid;
    grid-template-columns: auto 50px;
    gap: 10px;
}
.sifa-range{
    width: 100%;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
}
.sifa-range::-webkit-slider-runnable-track {
    height: 20px;
    background: var(--sifa-input-background-color, white);
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    border: var(--sifa-border, 1px solid black);
    border-bottom-width: var(--sifa-input-border-bottom);
    outline: none;
}
.sifa-range::-moz-range-track {
    height: 20px;
    background: var(--sifa-input-background-color, white);
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    border: var(--sifa-border, 1px solid black);
    border-bottom-width: var(--sifa-input-border-bottom);
    outline: none;
}

.sifa-range::-webkit-slider-thumb{
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    background: var(--sifa-main-color, black);
    border:1px solid grey;
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    cursor: pointer;
    top: -4px;
}
.sifa-range::-moz-range-thumb{
    position: relative;
    width: 26px;
    height: 26px;
    background: var(--sifa-main-color, black);
    border:1px solid grey;
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    cursor: pointer;
    top: -4px;
}
/* For WebKit browsers */
.sifassinput_range_view {
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--sifa-border, 1px solid black);
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    border-bottom-width: var(--sifa-input-border-bottom);
    width: 100%;
    height: 20px;
    pointer-events: none;
}


/* IMAGE GRID */
.sifa-imagegrid-cell{
    display: block;
    overflow: hidden;
    aspect-ratio: 1.1; 
    width: 100%;
    border: var(--sifa-border, 1px solid black);
    border-radius: var(--sifa-input-border-radius, 4px);
    corner-shape: var(--sifa-input-border-shape, rounded);
    border-bottom-width: var(--sifa-input-border-bottom);
}
.sifa-imagegrid-cell:has(input:checked){
    border: var(--sifa-input-focus-border);
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.2);
    background-color: var(--sifa-main-color);
}
.sifa-imagegrid-input{
    display: none;
}

.sifa-imagegrid-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 8px;
}
.sifa-imagegrid-list img{
    width: auto;
    height: 100%;
    display: block;
    margin: auto;
}

/* TEXT GRID */
.sifa-textgrid-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 8px;
}
.sifa-textgrid-row{
    display: flex;
    flex-direction: column;
}
.sifa-textgrid-cell{
    display: flex;
    align-items: center;
    width: 100%;
    height: 30px;
    border-radius: 15px;
    background-color: var(--sifa-main-background-color, black);
    color: var(--sifa-lightback-text-color);
    box-sizing: border-box;
    border: var(--sifa-border, 1px solid black);
    border-bottom-width: var(--sifa-input-border-bottom);
    font-size: 0.8em;
    padding: 0 9px;
    position: relative;
    cursor: pointer;
}
.sifa-textgrid-cell:has(input:checked){
    border: var(--sifa-input-focus-border);
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.2);
    color: var(--sifa-main-color, black);
}
.sifa-textgrid-cell:has(input:checked) .sifa-textgrid-mean{
    color: var(--sifa-lightback-text-color);
}
.sifa-textgrid-input{
    width: 14px;
    height: 14px;
    position: relative;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    margin: 0;
    margin-right: 10px;
}
.sifa-textgrid-input::after {
    content:'';
    position: absolute;
    width:100%;
    height:100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: var(--sifa-border, 1px solid black);
    box-sizing: border-box;
    pointer-events: none;
}
.sifa-textgrid-input:checked:after {
    border: 1px solid var(--sifa-main-color, black);
}

.sifa-textgrid-mean{
    position: relative;
    padding: 6px;
    box-sizing: border-box;
    font-size: 12px;
    border-left: var(--sifa-border, 1px solid black);
}
.sifa-textgrid-mean h5, .sifa-textgrid-mean p{
    padding: 0;
    margin: 0;
}
.sifa-textgrid-mean h5{
    margin-bottom: 6px;
}
.sifa-textgrid-mean p{
    display: block;
    overflow: auto;
    height: fit-content;
    max-height: 70px;
}


/* SWITCH */
.sifa-input-switch{
    width: 40px;
    height: 20px;
    position: relative;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.sifa-input-switch::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--sifa-input-background-color, white);
    border-radius: 10px;
    border: var(--sifa-border, 1px solid black);
    border-bottom-width: var(--sifa-input-border-bottom);
    pointer-events: none;
}
.sifa-input-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: var(--sifa-main-color, black);
    border-radius: 50%;
    transition: transform 0.3s;
}
.sifa-input-switch:checked::after {
    transform: translateX(20px);
}

/* DATE */
.sifa-date {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.sifa-date input, .sifa-date select {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    padding: 4px;
    border: var(--sifa-border, 1px solid black);
    border-radius: var(--sifa-input-border-radius, 0px);
    border-bottom-width: var(--sifa-input-border-bottom, 1px);
}
.sifa-date input:focus {
    border: var(--sifa-input-focus-border);
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.2);
}

/* Survey Grid */
.sifa-survey-grid{
    display: grid;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: repeat(1, minmax(20px, 1fr));
    font-size: 12px;
}
.sifa-survey-row-even{
    background-color: var(--sifa-survey-even-background, #ffffff);
}
.sifa-survey-row-odd{
    background-color: var(--sifa-survey-odd-background, #f9f9f9);
}
.sifa-survey-cell{
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sifa-survey-cell input{
    border: var(--sifa-border, 1px solid black);
}

/* START RATING */
.sifa-starrate-grid{
    display: flex;
    gap: 4px;
}
.sifa-starrate-icon svg{
    width: var(--sifa-star-size, 30px);
    height: var(--sifa-star-size, 30px);
}
.sifa-starrate-icon path{
    fill:var(--sifa-main-background-color, white);
    stroke-width: var(--sifa-star-border-width, 3px);
    stroke: var(--sifa-star-border-color, #000000);
}
.active_star path{
    fill: var(--sifa-star-color, black);
}

/* DUAL LIST BOX */
.sifa-dual-listbox-container{
    display: grid;
    grid-template-columns: calc(50% - 50px) 50px calc(50% - 50px);
    min-height: 20px;
    height: fit-content;
    gap: 20px;
    box-sizing: border-box;
}
.sifa-dual-listbox-left input, .sifa-dual-listbox-right input{
    width: 100%;
    box-sizing: border-box;
    border: var(--sifa-border, 1px solid black);
    outline: none;
}
.sifa-dual-listbox-left-list, .sifa-dual-listbox-right-list{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: scroll;
    width: 100%;
    min-height: 200px;
    overflow-x: hidden;
    border: var(--sifa-border, 1px solid black);
}
.sifa-dual-listbox-center{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    justify-content: center;
}
.sifa-dual-listbox-option{
    box-sizing: border-box;
    padding: 5px;
    cursor: pointer;
}
.sifa-dual-listbox-option:hover{
    opacity: 0.8;
}
.sifa-dual-listbox-option:has(input:checked){
    background-color: var(--sifa-main-color, #f0f0f0);
    color: var(--sifa-white-color, white);
}


/* SEARCH SELECT */
.sifa-searchselect{
    display: grid;
    grid-template-columns: auto 30px;
    padding: 6px 10px;
    align-items: center;
    cursor: pointer;
    color: var(--sifa-lightback-text-color);
}
.sifa-searchselect-searchblock{
    display: flex;
    flex-direction: column;
    margin-top: 6px;
    border: var(--sifa-border);
    box-sizing: border-box;
    padding: 13px;
    border-radius: var(--sifa-border-radius);
    border-bottom-width: 3px;
    position: absolute;
    background-color: white;
    width: 100%;
    top: 92px;
    z-index: 99;
}
.sifa-searchselect-searchblock input{
    background-color: transparent;
    color: var(--sifa-lightback-text-color);
    border: var(--sifa-border, 1px solid black);
    border-radius: var(--sifa-border-radius, 0px);
    padding: 10px;
}
.searchselect_option{
    display: block;
    border-radius: var(--sifa-border-radius, 0px);
    padding: 6px;
    cursor: pointer;
}
.searchselect_option:hover{
    background-color: var(--sifa-main-color, #f0f0f0);
    color: var(--sifa-white-color, white);
}


/* PRICING CARDS */
.sifa-input-label-ele_pricecards{
    font-size: 2em;
    letter-spacing: 0;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}
.sifa-input-desc-ele_pricecards{
    font-size: 1.1em;
    letter-spacing: 0;
    font-weight: normal;
    text-align: center;
}
.sifa-price-cards{
    display:flex;
    gap: 1em;
    height: fit-content;
}
.sifa-price-card{
    border-radius: calc(var(--sifa-border-radius) * 2);
    border: var(--sifa-border);
    flex: 1;
    padding: 1.1em;
    display: grid !important;
    grid-template-rows: 30px 40px auto 40px;
    gap: 13px;
}
.sifa-price-card:hover{
    background-color: hsla(var(--theme-color), 50%, 50%, 0.1);
}
.sifa-price-card-focused{
    box-shadow: 0 0 10px var(--sifa-accent-color, #f0f0f0);
    background-color: hsla(var(--theme-color), 50%, 50%, 0.4);
}
.sifa-price-card-label{
    display: block;
    font-size: 1.2em;
    text-align: center;
    width: 100%;
    font-weight: bold;
}
.sifa-price-card-desc{
    display: block;
    font-size: 0.9em;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
}
.sifa-price-card-list{
    list-style: none;
    padding: 0;
    margin: 0;
}
.sifa-price-card-item{
    font-size: 13px;
    padding: 4px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 30px auto;
}
.sifa-price-card-button{
    width: fit-content;
    margin: auto;

}
.sifa-price-card-button a{
    text-decoration: none;
    color: var(--sifa-white-color);
}


/* FEATURE BLOCK */
.sifa-feature-block{
    display: flex;
    flex-direction: column;
    gap: 13px;
    font-size: 13px;
    padding: 20px;
    border: var(--sifa-border);
    border-radius: var(--sifa-border-radius);
}
.sifa-feature-block h1, .sifa-feature-block p, .sifa-feature-block ul, .sifa-feature-block span{
    margin: 0;
    padding: 0;
}
.sifa-feature-block h1{
    font-size: 1.1em;
    font-weight: bold;
    color: var(--sifa-main-color);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sifa-feature-block ul{     
    margin-left: 3em;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}
.sifa-feature-block-keyword{
    display: inline-block;
    background-color: var(--sifa-light-color);
    color: var(--sifa-white-color);
    padding: 3px 6px !important;
    border-radius: var(--sifa-border-radius);
    box-sizing: border-box;
    margin-right: 4px !important;
}

/* Subject Score */
.sifa-subject-score{
    font-size: 13px;
    padding: 20px;
    border: var(--sifa-border);
    border-radius: var(--sifa-border-radius);
    margin-bottom: 20px;
}
.sifa-subject-score-bar{
    display: block;
    height: 20px;
    background-color: var(--sifa-main-color);
    border-radius: var(--sifa-border-radius);
}
.sifa-subject-score-name{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
}
.subjectscoretable{
    width: 100%;
    border-collapse: collapse;
}
.itemScore{
    padding: 4px;
    border: none;
    width: 100px;
}
.itemBarCell{
    padding: 4px;
    border: none;
    width: 50%;
}

/* PROFILE CARDS */
/* SIMPLE */
.sifa-profile-cards-label-simple{
    font-size: 1.2em;
    color: var(--sifa-text-secondary-color);
    margin-bottom: 15px;
}
.sifa-profile-cards-desc-simple{
    font-size: 0.9em;
    color: var(--sifa-text-secondary-color);
}
.sifa-profilecards-layout-simple{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sifa-profilecards-layout-simple .sifa-profile-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
}
.sifa-profilecards-layout-simple h1{
    font-size: 1.2em;
    text-align: center;
    color: var(--sifa-text-color);
    font-weight: normal;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}
.sifa-profilecards-layout-simple h2{
    font-size: 0.9em;
    text-align: center;
    color: var(--sifa-text-color);
    opacity: 0.5;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
.sifa-profilecards-layout-simple p{
    display: block;
    text-align: center;
    max-width: 400px;
    font-size: 0.9em;
}

.sifa-profilecards-layout-simple .sifa-profile-card-image{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    background-color: white;
    border: var(--sifa-border);
}
.sifa-profilecards-layout-simple .sifa-profile-card-image img{
    width: 90%;
    max-width: 400px;
}
/* BOXED */
.sifa-profile-cards-label-boxed{
    font-size: 1.2em;
    color: var(--sifa-text-secondary-color);
    margin-bottom: 15px;
}
.sifa-profile-cards-desc-boxed{
    font-size: 0.9em;
    color: var(--sifa-text-secondary-color);
}
.sifa-profilecards-layout-boxed{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-sizing: border-box;
    padding: 10px;
}
.sifa-profilecards-layout-boxed .sifa-profile-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 9px;
    padding-top: 80px;
    margin-top: 44px;
    background-color: hsla(var(--theme-color), 50%, 50%, 0.1);
    border-radius: 4px;
}
.sifa-profilecards-layout-boxed h1{
    font-size: 1.2em;
    text-align: center;
    color: var(--sifa-text-color);
    font-weight: normal;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}
.sifa-profilecards-layout-boxed h2{
    font-size: 0.9em;
    text-align: center;
    color: var(--sifa-text-color);
    opacity: 0.5;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
.sifa-profilecards-layout-boxed p{
    display: block;
    text-align: center;
    max-width: 400px;
    font-size: 0.9em;
}

.sifa-profilecards-layout-boxed .sifa-profile-card-image{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: absolute;
    top: -60px;
    align-items: center;
    background-color: white;
    border: var(--sifa-border);
}
.sifa-profilecards-layout-boxed .sifa-profile-card-image img{
    height: 100%;
}

/* POLAROID */
.sifa-profile-cards-label-polaroid{
    font-size: 1.2em;
    color: var(--sifa-text-secondary-color);
    margin-bottom: 15px;
}
.sifa-profile-cards-desc-polaroid{
    font-size: 0.9em;
    color: var(--sifa-text-secondary-color);
}
.sifa-profilecards-layout-polaroid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
}
.sifa-profilecards-layout-polaroid .sifa-profile-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 9px;
    background-color: var(--sifa-white-color);
    border: var(--sifa-border);
    border-radius: var(--sifa-border-radius);
    padding: 20px;
}
.sifa-profilecards-layout-polaroid .sifa-profile-card-image{
    width: 100%;
    height: auto;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--sifa-border-radius);
    border: var(--sifa-border);
    background-color: white;
}
.sifa-profilecards-layout-polaroid .sifa-profile-card-image img{
    width:100%;
}
.sifa-profilecards-layout-polaroid h1{
    font-size: 1.2em;
    text-align: center;
    color: var(--sifa-text-color);
    font-weight: normal;
    margin: 10px 0px 0px 0px;
    padding: 0;
}
.sifa-profilecards-layout-polaroid h2{
    font-size: 0.9em;
    text-align: center;
    color: var(--sifa-text-color);
    opacity: 0.5;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
.sifa-profilecards-layout-polaroid p{
    display: none;
}

/* LINES */
.sifa-profile-cards-label-lines{
    font-size: 1.2em;
    color: var(--sifa-text-secondary-color);
    margin-bottom: 15px;
}
.sifa-profile-cards-desc-lines{
    font-size: 0.9em;
    color: var(--sifa-text-secondary-color);
}
.sifa-profilecards-layout-lines{
    display: flex;
    gap: 30px;
    box-sizing: border-box;
    width: 100%;
    flex-direction: column;
}
.sifa-profilecards-layout-lines .sifa-profile-card{
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 200px auto;
    position: relative;
    background-color: hsla(var(--theme-color), 50%, 50%, 1);
    border-radius: 20px;
    padding: 12px 20px;
    gap: 20px;
}
.sifa-profilecards-layout-lines .sifa-profile-card:nth-child(odd){
    direction: ltr;
    background-color: hsla(var(--theme-color), 50%, 50%, 0.8);
}
.sifa-profilecards-layout-lines .sifa-profile-card:nth-child(even){
    direction: rtl;
    background-color: hsla(var(--theme-color), 50%, 50%, 0.6);
}
.sifa-profilecards-layout-lines .sifa-profile-card-image{
    width: 200px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.sifa-profilecards-layout-lines .sifa-profile-card-image img{
    max-height: calc(100% + 45px);
    max-width: 100%;
    position: absolute;
    bottom: -12px;
    left: 0;
}
.sifa-profilecards-layout-lines h1, .sifa-profilecards-layout-lines h2, .sifa-profilecards-layout-lines p{
    margin: 0;
    padding: 0;
}
.sifa-profilecards-layout-lines h1{
    font-size: 1.1em;
    color:var(--sifa-white-color);
}
.sifa-profilecards-layout-lines h2{
    font-size: 0.8em;
}
.sifa-profilecards-layout-lines p{
    border-top: 2px solid hsla(var(--theme-color), 50%, 90%, 0.8);
    padding-top: 10px;
    font-size: 0.7em;
    margin-top: 10px;
}

.sifa-textarea{
    resize: vertical;
}


/* RECURSIVE */
.sifa-recursive{

}
.sifa-recursive th{

}
.sifa-recursive td{

}
.sifa-recursive .sifa-input-container{
    margin: 0;
}
.sifa-recursive button{
    width: 100%;
    min-width: 50px;
}


        
        .editor-container {
            max-width: 1000px;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .editor-header {
            background: #2d3748;
            color: white;
            padding: 12px 20px;
            font-weight: 600;
        }
        
        #htmleditor {
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            font-size: 14px;
            line-height: 1.5;
            padding: 20px;
            border: none;
            outline: none;
            resize: vertical;
            width: 100%;
            min-height: 200px;
            box-sizing: border-box;
            background: #1e1e1e;
            color: #d4d4d4;
            overflow-wrap: break-word;
            white-space: pre-wrap;
        }
        
        /* Syntax highlighting styles */
        .html-tag {
            color: #569cd6;
        }
        
        .html-tag-bracket {
            color: #808080;
        }
        
        .html-attribute-name {
            color: #92c5f8;
        }
        
        .html-attribute-value {
            color: #ce9178;
        }
        
        .html-comment {
            color: #6a9955;
            font-style: italic;
        }
        
        .html-text {
            color: #d4d4d4;
        }
        
        .html-doctype {
            color: #569cd6;
        }
        
        .demo-section {
            padding: 20px;
            border-top: 1px solid #e2e8f0;
            background: #f8fafc;
        }
        
        .demo-section h3 {
            margin: 0 0 15px 0;
            color: #2d3748;
        }
        
        .sample-button {
            background: #4299e1;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            margin-right: 10px;
            margin-bottom: 10px;
        }
        
        .sample-button:hover {
            background: #3182ce;
        }

/* CELL SIZE */
@media screen and (max-width: 900px) {
    .breadcrumb{
        color: transparent;
    }
    .sifa-textgrid-list {
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr)) !important;
    }
    .sifa-imagegrid-list {
        grid-template-columns: repeat(auto-fill, minmax(48%, 1fr)) !important;
    }
    .sifa-profilecards-layout-polaroid{
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr)) !important;
        justify-items: center;
    }
    .sifa-profilecards-layout-polaroid .sifa-profile-card{
        width: 90%;
        max-width: 370px;
    }
    .sifa-profile-cards-label-simple, .sifa-profile-cards-label-boxed{
        text-align: center;
    }
    .sifa-profile-cards-desc-simple, .sifa-profile-cards-desc-boxed{
        text-align: center;
    }
    .sifa-profilecards-layout-simple, .sifa-profilecards-layout-boxed{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .sifa-price-cards{
        flex-direction: column;
    }


    /* FONT SIZE */
    .sifa-input-label{
        font-size: 0.7em;
    }
    .sifa-input-desc{
        font-size: 0.6em;
    }

    /* BREAD CRUMS */
    .sifa-breadcrumbs-arrow{
        width: 100%;
    }
    .sifa-breadcrumbs-arrow .sifa-breadcrumb{
        font-size: 0.6em;
        padding: 0;
        background-color: transparent;
        border: none;
        color: black;
        display: flex;
        justify-content: center;
        border-radius: var(--sifa-border-radius);
    }
    .sifa-breadcrumbs-arrow .sifa-breadcrumb:after{
        display: none;
    }
    .sifa-breadcrumbs-arrow .sifa-breadcrumb.active{
        background-color: transparent;
        border: none;
        color: var(--sifa-darkback-text-color);
        font-weight: bold;
        background-color: var(--sifa-main-color);
    }
}

@media screen and (max-width: 600px) {
    .sifa-profilecards-layout-lines .sifa-profile-card{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        justify-items: center;
    }
    .sifa-profile-card-words{
        text-align: center;
    }
}