.tab-st-content { display: none; }
.tab-st-content.active { display: block; }
.tab-st-button.active {
    background: #0073aa;
    color: #fff;
}
.tab-st-button {
    padding: 8px 16px;
    margin-right: 5px;
    border: none;
    cursor: pointer;
    background: #f1f1f1;
}

.tab-st-section {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    padding: 0;
}
.toplevel_page_cretats-theme-showcase #cretats-popup-content {
    display: none;
}

.toplevel_page_cretats-theme-showcase #cretats-popup-overlay {
    display: none;
}

.toplevel_page_cretats-theme-showcase .menu-icon-cretats_testimonial .wp-menu-image img {
    height: 30px !important;
}

.menu-icon-cretats_testimonial .wp-menu-image img {
    height: 20px !important;
}

#adminmenu .menu-icon-cretats_testimonial.wp-has-current-submenu .wp-menu-image img,
#adminmenu .menu-icon-cretats_testimonial.current .wp-menu-image img{
    height: 28px !important;

}
.cretats-copy-shortcode {
    cursor: pointer;
    color: #0073aa;
    
}

#cretats_sequence{
    width: 100%;
    
}

/* Creta Testimonial Layout Selector Styles */
.cretats-layout-selector .layout-preview {
    width: 150px;
    height: 100px;
    margin-top: 0.5rem; /* Matches Bootstrap's mt-2 */
    object-fit: cover; /* Optional for better image appearance */
}

.cretats-layout-selector .layout-label {
    margin-top: 0.25rem; /* Matches Bootstrap's mt-1 */
    font-size: 0.85rem;
    display: block;
    text-align: center;
}

.cretats-layout-option {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cretats-layout-option:hover {
    transform: scale(1.03);
}

/* Form fields full-width override */
.cretats-full-width {
    width: 100%;
}


.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.color-picker,
.bg-color-picker,
.block-bg-color-picker {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
}

/* Optional: ensure consistent spacing between fields */
.col-md-4,
.col-md-6 {
    margin-bottom: 1rem;
}










/* Wrapper */
.tabs-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

/* Tabs */
.tab-st-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 10px;
    border: none;
}

.tab-st-button {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.tab-st-button:hover {
    color: #111827;
}

.tab-st-button.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Content */
.tab-st-content {
    display: none;
}

.tab-st-content.active {
    display: block;
}

/* Section Card */
.tab-st-content .row {
    background: transparent;
    border: none;
    padding: 0;
    gap: 14px;
    
}

/* Field Cards */
.tab-st-content .col-md-6,
.tab-st-content .col-md-4,
.tab-st-content .col-auto {
    background: #f1f1f1;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.tab-st-content .col-md-6:hover,
.tab-st-content .col-md-4:hover,
.tab-st-content .col-auto:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Labels */
.form-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

/* Inputs */
.form-control,
.form-select,
.color-picker,
.bg-color-picker,
.block-bg-color-picker {
    width: 100%;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 6px 10px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* Help text */
.text-muted {
    font-size: 11px;
    color: #9ca3af;
}

/* Layout selector */
.cretats-layout-selector {
    background: transparent;
    padding: 0;
    gap: 14px;
}

/* Layout cards */
.cretats-layout-option,
.cretats-ts-layout-option {
    /* background: #ffffff; */
    border-radius: 12px;
    padding: 5px;
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
    text-align: center;
}

.cretats-layout-option:hover,
.cretats-ts-layout-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* Hide radio */
.cretats-layout-option input,
.cretats-ts-layout-option input {
    display: none;
}

/* Selected Layout */
.cretats-layout-option input:checked + img,
.cretats-ts-layout-option input:checked + img {
    border: 2px solid #2563eb;
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

/* Layout image */
.layout-preview {
    width: 120px;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.layout-preview:hover {
    transform: scale(1.04);
}

/* Layout label */
.layout-label {
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    color: #4b5563;
}

/* Spacing fix */
.row.g-4 > div {
    padding: 14px;
}

/* Smooth animation */
.tab-st-content * {
    transition: all 0.15s ease-in-out;
}








.row.content-demo-row {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.col-md-6.demo-con {
    width: 45% !important;
}

.form-control.form-control-color.cretats-full-width {
	width: 68px;
}