/* Main Container */
.page-id-1395 .page-header.bg-hero-with-shape-star {
  display: none;
}
.page-id-1395 .main-content-wrapper .container{
    padding:0px;
}
.page-id-1395 section.main-section.is-container{
    padding:60px 0 100px 0;
}
/* Tab Styles */
.wrap_editor_header_tab{
    display: flex;
    align-items:center;
    justify-content: space-between;
    margin-bottom: 35px;
    gap: 10px;
}
.abr-tab-nav {
    display: flex;
    border-bottom: 0;
}

.abr-tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    /*border-bottom: 3px solid transparent;*/
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    font-size: 16px;
}

.abr-tab-btn.active {
    color: #2c3e50;
    border-bottom-color: #3498db;
}

.abr-tab-pane {
    display: none;
}

.abr-tab-pane.active {
    display: block;
}

.abr-original-img {
    max-width: 100%;
    max-height: 512px;
    display: block;
/*    margin: 0 auto;*/
    object-fit: contain;
}

.abr-canvas-container {
    max-height: 512px;
    overflow: hidden;
    text-align: center;
/*    background: #f5f5f5 url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="10" height="10" fill="%23ddd"/><rect x="10" y="10" width="10" height="10" fill="%23ddd"/></svg>');*/
    margin: 0 auto;
    /* background-image: 
        linear-gradient(45deg, #ddd 25%, transparent 25%),
        linear-gradient(-45deg, #ddd 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #ddd 75%),
        linear-gradient(-45deg, transparent 75%, #ddd 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;*/
    background: #fff;
}
#abrOriginalImage{
    margin: 0 auto;
}
#abrOriginalImage,
#abrRemovedCanvas {
/*    max-height: 512px;*/
    max-width: 100%;
    object-fit: contain;
}
.abr-tab-pane {
    text-align: center;
}

/* Ensure canvas container is properly sized */
.abr-canvas-container {
    width: 100% !important;
    height: 512px !important;
    background-color: #f5f5f5;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="10" height="10" fill="%23ddd"/><rect x="10" y="10" width="10" height="10" fill="%23ddd"/></svg>');
    /*border: 1px solid #eee;*/
    overflow: hidden;
    position: relative;
}

#abrRemovedCanvas {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Canvas styling */
#abrRemovedCanvas {
    max-width: 100%;
/*    max-height: 512px;*/
    display: block;
/*    margin: 0 auto;*/
}

/* Make sure the container doesn't stretch beyond 512px */
.abr-tab-pane[data-tab="original"] {
    max-height: 512px;
}

/* Canvas Container */
.abr-canvas-container {
    max-height: 512px;
    overflow: auto;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #eee;
    background: #f5f5f5 url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="10" height="10" fill="%23ddd"/><rect x="10" y="10" width="10" height="10" fill="%23ddd"/></svg>');
}

.abr-canvas-container canvas {
    max-width: 100%;
    max-height: 512px;
    display: block;
    margin: 0 auto;
}
.advanced-bg-remover {
    max-width: 1000px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E5EA;
    /*box-shadow: 0 4px 20px rgba(0,0,0,0.1);*/
    /*overflow: hidden;*/
    overflow: visible;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Upload Section */
.abr-upload-section {
/*    padding: 3rem;*/
    padding: 0;
    text-align: center;
}

.abr-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 4rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: #f9fafb;
}

.abr-dropzone:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.abr-dropzone.dragover {
    border-color: #3b82f6;
    background: #f0f7ff;
    transform: scale(1.01);
}

#abrFileInput,
#audioFileInput{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.abr-upload-content {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.abr-upload-content svg {
    margin-bottom: 1rem;
    color: #9ca3af;
}

.abr-upload-content h3 {
    margin: 0 0 0.5rem;
    color: #111827;
    font-size: 1.5rem;
}

.abr-upload-content p {
    margin: 0;
    color: #6b7280;
}

.abr-file-info {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: #9ca3af;
}

/* Processing Indicator */
.abr-processing {
    display: none;
    padding: 3rem;
    text-align: center;
}

.abr-spinner {
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: abr-spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes abr-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Editor Section */
.abr-editor {
    display: none;
}
.abr-editor {
    display: flex;
    gap: 20px; /* optional spacing between left and right sections */
}

/* Left Section */
.abr-tab-section {
/*    width: 80%;*/
    width: 65%;
    display: flex;
    flex-direction: column;
}

/* Right Section */
.abr-toolbar {
/*    width: 20%;*/
    width: 36%;
}

.abr-canvas-container {
    padding: 1rem;
    background: #f3f4f6;
    text-align: center;
}

#abrCanvas {
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Toolbar */
.abr-toolbar {
    background: #fff;
    padding: 1rem;
}

.abr-toolbar-nav {
    display: flex;
    margin-bottom: 24px;
}

.abr-tool-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.abr-tool-btn:hover {
    color: #111827;
}

.abr-tool-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* Tool Panels */
.abr-tool-panel {
    display: none;
}

.abr-tool-panel.active {
    display: block;
}

/* Background Panel */
.abr-bg-options {
    /*display: grid;
    grid-template-columns: 1fr 1fr; */
    gap: 2rem;
}

.abr-bg-colors h4, .abr-bg-images h4 {
    margin: 0 0 1rem;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 600;
}

.abr-color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    display: flex;
    margin-bottom: 15px;
    flex-wrap: wrap;
    flex-direction: row;
}

.abr-color-btn {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.abr-color-btn:hover {
    /*transform: scale(1.05);*/
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.abr-color-btn.transparent {
    background: 
        linear-gradient(45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(-45deg, #e5e7eb 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e5e7eb 75%),
        linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    border-color: #d1d5db;
}

.abr-color-btn.white {
    background: #ffffff;
    border-color: #d1d5db;
}

.abr-color-btn.black {
    background: #000000;
}

.abr-color-btn.gray {
    background: #808080;
}

.abr-custom-color {
    grid-column: span 4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

#abrCustomColor {
    flex: 1;
    height: 40px;
    padding: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
}

#abrApplyColor {
    padding: 0.5rem 1rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
/*    font-size: 0.875rem;*/
    font-size: 17px;
    cursor: pointer;
}

.abr-bg-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.abr-bg-image-thumb {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    /*transition: all 0.2s;*/
}

/*.abr-bg-image-thumb:hover {*/
/*    border-color: #3b82f6;*/
/*    transform: scale(1.02);*/
/*}*/

#abrBgImageUpload {
    display: none;
}

.abr-upload-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #e5e7eb;
    color: #111827;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.abr-upload-label:hover {
    background: #d1d5db;
}

/* Erase/Restore Panel */
.abr-erase-tools {
    display: grid;
    gap: 1.5rem;
}

.abr-brush-controls {
    display: grid;
/*    gap: 0.5rem;*/
}
.abr-brush-controls .wrap_erase_restore_input,
.abr-effect-control{
    border: 1px solid #E5E5EA;
    background-color:#fff;
    margin-bottom:10px;
    border-radius:10px;
    padding:15px;
}
.abr-brush-controls label {
    display: flex;
    justify-content: space-between;
/*    font-size: 0.875rem;*/
    font-size: 15px;
    color: #6b7280;
    font-weight:500;
    font-family: 'Poppins';
}

.abr-brush-controls input[type="range"] {
    width: 100%;
}

.abr-erase-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.abr-action-btn {
    padding: 0.5rem 1rem;
    background: #fff;
    color: #111827;
    border: none;
    border-radius: 6px;
/*    font-size: 0.875rem;*/
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s;
    text-wrap-mode: nowrap; 
}

.abr-action-btn:hover {
    background: #d1d5db;
}

.abr-action-btn.active {
    background: #3b82f6;
    color: white;
}

/* Effects Panel */
.abr-effect-options {
    display: grid;
    gap: 1.5rem;
}

.abr-effect-grid {
/*  display: grid;
    grid-template-columns: repeat(4, 1fr);*/
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.abr-effect-btn {
    padding: 0.5rem;
    background: #e5e7eb;
    color: #111827;
    border: none;
    border-radius: 4px;
/*    font-size: 0.875rem;*/
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s;
}

.abr-effect-btn:hover {
    background: #d1d5db;
}

.abr-effect-btn.active {
    background: #3b82f6;
    color: white;
}

.abr-effect-controls {
    /*padding: 1rem;*/
    padding: 0;
    /*background: #f9fafb;*/
    border-radius: 6px;
}
.abr-effect-controls:empty {
  padding: 0;
}

/*.abr-effect-controls:not(:empty) {*/
/*  padding: 1rem;*/
/*}*/

/* Download Section */
.abr-download-section {
    /*border-top: 1px solid #e5e7eb;*/
    padding-top: 1rem;
    margin-top: 1rem;
}

.abr-format-options {
    display: flex;
    gap: 0.5rem;
}

#abrFormatSelect {
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
}

.abr-download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    width:100%;
    justify-content:center;
}

.abr-download-btn:hover {
    background: #059669;
}

.abr-download-btn svg {
    stroke-width: 2.5;
}
.abr-canvas-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.abr-canvas-container canvas {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}
.abr-bg-images .abr-upload-label{
    background: #f7f7f7 !important;
    color: #000 !important;
    font-size: 17px !important;
    border: 1px solid #c5bfbf;
    width: 100%;
    height: 62px;
    justify-content: center;
    align-items: center;
    display: flex;
}
.abr-upload-label:hover {
    border-color: #293fcc;
}
.abr-custom-color{
    align-items: center;
}
.abr-custom-color p{
    margin: 0;
    font-size: 17px;
}

input#abrCustomColor {
    position: absolute;
    z-index:-9;
/*    left: -9999px;*/
}
img.custom-color-set {
    width: 100%;
    height: 100%;
    border: 1px solid #fefefe;
    border-radius: 5px;
    cursor: pointer;
}
/*.abr-custom-color{
    display: contents;
}*/
/* Style for disabled toolbar */
.abr-toolbar.disabled {
    opacity: 0.6;
    background-color: #f5f5f5;
}

/* Disable all interactive elements in toolbar when disabled */
.abr-toolbar.disabled .abr-tool-btn,
.abr-toolbar.disabled .abr-action-btn,
.abr-toolbar.disabled select,
.abr-toolbar.disabled input,
.abr-toolbar.disabled button {
    cursor: not-allowed;
}

/* Visual feedback for disabled tabs */
.abr-tab-btn:not(.active) {
    opacity: 0.7;
}
/* Upload Section Styles */
.abr-upload-section {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  /*padding: 20px;*/
}
.faceswap_section,
.light-photo_section{
    padding: 30px 0px 24px 0px;
}
.faceswap_section .abr-upload-section{
  padding:0px 81px;
}
.faceswap_section .abr-upload-section .wrap_source_target_div #previewImages{
    margin-top:0px !important;
}
.bgremove_section .abr-upload-section{
    max-width:655px;
    padding:0px 45px;
}
.bgremove_section .text-to-speech-section,
.light-photo_section .abr-upload-section,
.photomaker_section .abr-upload-section{
    max-width:584px;
    padding:0px;
}
.faceswap_section .abr-upload-heading,
.bgremove_section .abr-upload-heading,
.light-photo_section .abr-upload-heading,
.photomaker_section .abr-upload-heading,
.photo-voicing-section .audio-upload-wrapper h3,
.text-to-speech-section .upload-image-wrapper h3,
.speech-text-to-section .upload-image-wrapper h3,
.prompt-enhacement-section .upload-image-wrapper h3,
.photo-voicing-section .text-input-section-with-audio h3{
  font-size: 20px;
  font-family: 'Poppins';
  line-height:30px;
  margin-bottom:24px;
  font-weight: 500;
  color: #344054;
}
.bgremove_section .abr-upload-section .upload-image-wrapper,
.prompt-enhacement-section .upload-image-wrapper,
.light-photo_section .abr-upload-section .upload-image-wrapper,
.photomaker_section .abr-upload-section .upload-image-wrapper{
    width:100%;
    margin-bottom: 30px;
}
.bgremove_section .speech-text-to-section .upload-image-wrapper,
.bgremove_section .ai-hug-kiss-section .upload-image-wrapper,
.photomaker_section .abr-upload-section .upload-image-wrapper{
    margin-bottom: 20px;
}
.bgremove_section .abr-upload-section .abr-upload-footer{
    margin-bottom: 15px;
}
.photo-voicing-section .wrap_audio_text{
    margin-top:30px;
}
.photo-voicing-section .audio-upload-wrapper .audio-dropzone{
    flex-direction: column;
}
/*.abr-upload-heading,*/
/*.photo-voicing-section .audio-upload-wrapper h3,*/
/*.photo-voicing-section .text-input-section-with-audio h3,*/
/*.photo-voicing-section .voices_available{*/
/*  font-size: 24px;*/
/*  color: #333;*/
/*  margin-bottom: 10px;*/
/*  font-weight: 500;*/
/*  font-family: 'Poppins';*/
/*}*/
/*.photo-voicing-section .audio-upload-wrapper h3,*/
/*.photo-voicing-section .text-input-section-with-audio h3,*/
/*.photo-voicing-section .voices_available{*/
/*  font-size: 22px;*/
/*}*/
.abr-dropzone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Poppins';
}

.abr-editor.colorisation_editor_section{
    justify-content:center;
}
.colorisation_editor_section .wrap_editor_header_tab .abr-download-section{
    display:none;
}

.abr-dropzone.dragover {
  border-color: #0099ff;
  background-color: rgba(0, 153, 255, 0.05);
}

.abr-upload-btn {
  background-color: #0099ff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

.abr-upload-btn:hover {
  background-color: #007acc;
}

.abr-upload-divider {
  position: relative;
  margin: 20px 0;
}

.abr-upload-divider span {
  display: inline-block;
  padding: 0 10px;
  background: white;
  position: relative;
  z-index: 1;
  color: #666;
}

.abr-upload-divider:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: 0;
}

.abr-upload-options p {
  margin: 5px 0;
  color: #666;
}

/* Sample Images Section */
.abr-sample-images {
  margin-top: 30px;
}

.abr-sample-heading {
  color: #666;
  margin-bottom: 15px;
  font-family: 'Poppins';
  font-weight: 400;
}
.abr-upload-footer p{
    font-family: 'Poppins';
    font-weight: 400;
}

.abr-sample-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.abr-sample-item {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.abr-sample-item:hover {
  transform: translateY(-5px);
}

.abr-sample-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.abr-upload-footer {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.abr-upload-footer a {
  color: #0099ff;
  text-decoration: none;
}

.abr-upload-footer a:hover {
  text-decoration: underline;
}

/*NEW Layout css*/

/* Base Styles */
        .advanced-bg-remover {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            max-width: 100%;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* Upload Section */
        .abr-upload-section {
            display: flex;
            justify-content: center;
            align-items: center;
            height: auto;
/*            border: 2px dashed #ccc;*/
            border-radius: 8px;
/*            background-color: #f9f9f9;*/
            transition: all 0.3s;
            flex-wrap: wrap;
            width:100%;
        }
        
        .abr-upload-section.dragover {
            border-color: #3498db;
            background-color: #eaf4fd;
        }
        
        .abr-dropzone {
            text-align: center;
            cursor: pointer;
            /*            */
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .abr-dropzone svg {
            margin-bottom: 15px;
        }
        
        .abr-dropzone h3 {
            margin: 0;
            color: #333;
            font-family: 'Poppins';
            font-weight: 500;
        }
        
        .abr-dropzone p {
            margin: 5px 0;
            color: #666;
            font-family: 'Poppins';
            font-weight: 400;
        }
        
        .abr-file-info {
            font-size: 0.9em;
            color: #999;
        }
        
        #abrFileInput,
        #audioFileInput{
            display: none;
        }
        
        /* Processing Indicator */
        .abr-processing {
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            /*height: 400px;*/
            height: 100%;
        }
        
        .abr-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #1d31ad;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Editor Section */
        .abr-editor {
            display: none;
/*            flex-direction: column;*/
            gap: 20px;
        }
        
        /* Tab Navigation */
        .abr-tab-nav {
            display: flex;
            border: 1px solid #ddd;
            /*border-bottom: 0;*/
            width: fit-content;
            /*margin-bottom: 35px;*/
            border-radius:8px;
            padding:4px;
        }
        
        .abr-tab-btn {
            font-family: 'Poppins';
            padding: 8px 16px;
            background: none;
            border: none;
            /*border-bottom: 3px solid transparent;*/
            cursor: pointer;
            font-weight: 400;
            color: #344054;
            transition: all 0.3s;
            opacity:1;
        }
        
        .abr-tab-btn.active {
            /*font-weight: 600;*/
            /*color: #2c3e50;*/
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            color: #fff;
            background: #293FCC;
            border-radius: 4px;
            padding: 8px 16px;
        }
        
        /* Tab Content */
        .abr-tab-pane {
            display: none;
        }
        
        .abr-tab-pane.active {
            display: block;
        }
        
        .abr-canvas-container {
            width: 100%;
            height: 512px;
            overflow: auto;
            margin: 0 auto;
            text-align: center;
            border: 0;
            padding:0;
            background: #f5f5f5;
/*            background: #f5f5f5 url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="10" height="10" fill="%23ddd"/><rect x="10" y="10" width="10" height="10" fill="%23ddd"/></svg>');*/
        }
        
        .abr-canvas-container canvas,
        .abr-canvas-container img {
            max-width: 100%;
            max-height: 100%;
            display: block;
/*            margin: 0 auto;*/
        /*border: 1px solid #cfcaca;*/
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }
        
        /* Toolbar */
        .abr-toolbar {
            display: flex;
            flex-direction: column;
            justify-content:space-between;
/*            gap: 15px;*/
            background: #293FCC0D;
            border-radius: 8px;
            padding: 20px;
        }
        
        .abr-toolbar-nav {
            display: flex;
            flex-wrap:wrap;
            border-bottom: 1px solid #D3DDE7;
            padding-bottom: 24px;
            /*gap:4px;*/
            justify-content:space-between;
        }
        
        .abr-tool-btn {
            font-family: 'Poppins';
            padding: 8px 15px;
            border: 1px solid #D0D5DD;
            box-shadow: 0px 1px 2px 0px #1018280D;
            background-color:#fff;
            /*background: none;*/
            /*border: none;*/
            /*border-bottom: 3px solid transparent;*/
            cursor: pointer;
            font-weight: 400;
            color: #344054;
            transition: all 0.3s;
            font-size: 16px;
            margin-bottom:8px;
            border-radius:8px;
        }
        
        .abr-tool-btn.active {
            font-weight: 400;
            color: #fff;
            background-color: #293fcc;
        }
        
        /* Tool Panels */
        .abr-tool-panel {
            display: none;
        }
        
        .abr-tool-panel.active {
            display: block;
        }
        
        /* Background Panel */
        .abr-bg-options {
/*            display: flex;*/
            gap: 20px;
        }
        
        .abr-bg-colors, .abr-bg-images {
            flex: 1;
        }
        
        .abr-bg-colors h4, .abr-bg-images h4 {
            margin-top: 0;
            margin-bottom: 10px;
            font-size: 16px;
            font-weight:500;
        }
        
        .abr-color-grid {
            /*display: grid;
            grid-template-columns: repeat(4, 1fr);*/
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 20px;
        }
        
        .abr-color-btn {
            width: 62px;
            height: 62px;
            border: 2px solid #ddd;
            border-radius: 5px;
            cursor: pointer;
        }
        
        /*.abr-color-btn:hover {*/
        /*    transform: scale(1.1);*/
        /*}*/
        /*.abr-bg-thumb-container.active,*/
        /*.abr-color-btn.active{*/
        /*    position:relative;*/
        /*}*/
        .abr-color-btn.active,
        .abr-gradient-btn.active,
        .abr-bg-thumb-container.active .abr-bg-image-thumb{
            /*content:"";*/
            /*background-image : url("https://www.xoomini.ai/wp-content/uploads/2025/05/active-color.png");*/
            /*position:absolute;*/
            /*top:50%;*/
            /*left:50%;*/
            /*transform:translate(-50%, -50%);*/
            /*width: 30px;*/
            /*height: 30px;*/
            /*background-size: contain;*/
            /*border-color: #3498db;*/
            border: 2px solid #293fcc;
            /*box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);*/
            box-shadow: 0px 4px 8px 0px #00000033;

        }
        
        .abr-color-btn.transparent {
            background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="10" height="10" fill="%23ddd"/><rect x="10" y="10" width="10" height="10" fill="%23ddd"/></svg>');
            position: relative;
        }
        
/*        .abr-color-btn.transparent::after {*/
/*            content: '';*/
/*            position: absolute;*/
/*            top: -2px;*/
/*            left: -2px;*/
/*            right: -2px;*/
/*            bottom: -2px;*/
/*            border: 2px solid #fff;*/
/*            border-radius: 50%;*/
/*        }*/
        
        .abr-color-btn.white { background-color: #ffffff; }
        .abr-color-btn.black { background-color: #000000; }
        .abr-color-btn.gray { background-color: #808080; }
        
        .abr-custom-color {
            position: relative;
            margin-top: 0;
            width: 62px;
        }
        
        .abr-custom-color p {
            margin: 5px 0;
        }
        
        .abr-custom-color input[type="color"] {
            width: 30px;
            height: 30px;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
        }
        
        #abrApplyColor:hover {
            background: #303b85;
        }
        #abrApplyColor {
            margin-left: 10px;
            padding: 5px 20px;
            background: #293fcc;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .abr-bg-image-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 5px;
            margin-bottom: 15px;
        }
        
        .abr-bg-image-thumb {
            width: 100%;
            height: 62px;
            object-fit: cover;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            /*transition: all 0.2s;*/
        }
        
        /*.abr-bg-image-thumb:hover {*/
        /*    transform: scale(1.05);*/
        /*    border-color: #3498db;*/
        /*}*/
        
        .abr-bg-image-upload input[type="file"] {
            display: none;
        }
        
        .abr-upload-label {
            display: inline-block;
            padding: 8px 15px;
            background: #f0f0f0;
            color: #333;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .abr-upload-label:hover {
            background: #e0e0e0;
        }
        
        /* Erase/Restore Panel */
        .abr-erase-tools {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .abr-brush-controls {
            display: flex;
            flex-direction: column;
/*            gap: 10px;*/
            gap: 0;
        }
        
        .abr-brush-controls label {
            display: flex;
            /*justify-content: space-between;*/
            justify-content: space-between;
            align-items: center;
        }
        .abr-brush-controls .wrap_input_range_text,
        .abr-effect-control span{
            border: 1px solid #D0D5DD;
            border-radius:4px;
            color:#667085;
            font-weight:400;
            padding:4px 10px;
            line-height:18px;
            font-size:12px;
        }
        .abr-brush-controls input[type="range"] {
            width: 100%;
        }
        
        .abr-erase-buttons {
            display: flex;
            gap: 10px;
        }
        
        .abr-action-btn {
            flex: 1;
            padding: 8px;
            background: #fff;
            color: #333;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Poppins';
            font-size: 15px;
        }
        
        .abr-action-btn.active {
            background: #293fcc;
            color: white;
            border-color: #293fcc;
        }
        
        /* Effects Panel */
        .abr-effect-options {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .abr-effect-presets h4 {
            margin-top: 0;
            /*margin-bottom: 10px;*/
            font-size: 16px;
            font-weight: 500;
        }
        
        .abr-effect-grid {
            /*display: grid;
            grid-template-columns: repeat(4, 1fr);*/
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .abr-effect-btn {
            padding: 6px 20px;
            background: #fff;
            color: #333;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'Poppins';
            font-size: 14px;
        }
        
        .abr-effect-btn.active {
            background: #293fcc;
            color: white;
            border-color: #293fcc;
        }
        
        .abr-effect-controls {
            /*margin-top: 15px;*/
        }
        
        .abr-effect-control {
            /*margin-bottom: 10px;*/
        }
        
        .abr-effect-control label {
            display: flex;
            justify-content:space-between;
            align-items:center;
            margin-bottom: 5px;
            font-size: 17px;
            font-family: 'Poppins';
            font-size: 15px !important;
            font-weight: 500;
        }
        .abr-processing p{
            font-family: 'Poppins';
        }
        
        .abr-effect-control input[type="range"] {
            width: 100%;
        }
        
        /* Download Section */
        .abr-download-section {
            display: flex;
            justify-content: flex-end;
            /*margin-top: 15px;*/
            margin: 0px;
            padding: 0px;
            gap: 5px;
        }
        
        .abr-format-options {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        #abrFormatSelect {
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 17px;
        }
        
        .abr-download-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 8px 17px;
            background: #293fcc;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 17px;
        }
        
        .abr-download-btn:hover {
            background-color: #1d31ad;
            color: #fff;
        }
        
        .abr-download-btn svg {
            width: 16px;
            height: 16px;
        }

        /* Download Button Styles */
        .abr-download-section {
          /*margin: 0 auto;*/
          text-align: center;
        }

        .abr-download-container {
          position: relative;
          display: inline-block;
          /*width:100%;*/
        }

        .abr-download-btn {
          background-color: #293fcc;
          color: white;
          border: none;
          padding: 10px 20px;
          border-radius: 4px;
          cursor: pointer;
          display: flex;
          align-items: center;
          gap: 8px;
          font-size: 14px;
          transition: background-color 0.3s;
            font-family: 'Poppins';
        }

        .abr-download-btn svg {
          width: 16px;
          height: 16px;
        }

        .abr-download-options {
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background: white;
          border: 1px solid #ddd;
          border-radius: 4px;
          box-shadow: 0 2px 5px rgba(0,0,0,0.1);
          display: none;
          z-index: 100;
        }

        .abr-download-options.show {
          display: block;
        }

        .abr-download-option {
          padding: 8px 16px;
          cursor: pointer;
          color: #333;
          text-align: center;
        }

        .abr-download-option:hover {
          background-color: #f5f5f5;
        }

        .abr-download-option:first-child {
          border-bottom: 1px solid #eee;
        }
        .abr-sample-item img {
    height: 80px;
    object-fit: cover;
}
.abr-download-section {
  position: relative;
}

.abr-download-container {
  position: relative;
  display: inline-block;
}

.abr-download-dropdown {
  display: none;
  /*position: absolute;*/
  background-color: #fff;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  top: 100%;
  left: 0;
  margin-top: 5px;
}

.abr-download-dropdown.show {
  display: block;
}

.abr-download-option {
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
    font-family: 'Poppins';
}

.abr-download-option:hover {
  background-color: #f5f5f5;
}
/* Comparison Mode Styles */
.abr-comparison-container {
    position: relative;
    display: inline-block;
}

.abr-original-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
    display: none; /* Hidden by default */
}

/* Checkerboard background for transparency */
.abr-canvas-container {
    /*background-image: 
        linear-gradient(45deg, #eee 25%, transparent 25%),
        linear-gradient(-45deg, #eee 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eee 75%),
        linear-gradient(-45deg, transparent 75%, #eee 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;*/
    background: #fff;
}

/* Toggle button style */
.abr-compare-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
canvas#abrRemovedCanvas,
.upper-canvas {
    left: 50% !important;
    transform: translate(-50%) !important;
}
canvas#abrRemovedCanvas{
    background-image: linear-gradient(45deg, #e5e5e5 25%, transparent 25%), linear-gradient(-45deg, #e5e5e5 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e5e5e5 75%), linear-gradient(-45deg, transparent 75%, #e5e5e5 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}
/*#abrBrushSize{*/
/*    margin-bottom: 20px;*/
/*}*/
#abrBrushOpacity,
#abrBrushSize,
#abrBrightnessAmount,
#abrContrastAmount,
#abrVintageAmount,
#abrRestoreBrushSize,
#abrRestoreOpacity,
#abrBlurAmount{
    background: linear-gradient(to right, #293FCC 0%, #293FCC 40%, #0000001a 40%, #0000001a 100%);
    border: solid 1px transparent;
    border-radius: 8px;
    height: 4px;
    width: 100%;
    outline: none;
    transition: background 450ms ease-in;
    -webkit-appearance: none;
    min-height: auto;
    padding: 2px 0px;
}
#abrBrushSize,
#abrRestoreBrushSize{
    background: linear-gradient(to right, rgb(41, 63, 204) 0%, rgb(41, 63, 204) 26.3158%, #0000001a 26.3158%,  #0000001a 100%);
}
#abrBlurAmount{
    background: linear-gradient(to right, rgb(41, 63, 204) 0%, rgb(41, 63, 204) 20%,  #0000001a 20%,  #0000001a 100%);
}
#abrContrastAmount{
    background: linear-gradient(to right, rgb(41, 63, 204) 0%, rgb(41, 63, 204) 55%,  #0000001a 55%,  #0000001a 100%);
}
#abrBrightnessAmount{
    background: linear-gradient(to right, rgb(41, 63, 204) 0%, rgb(41, 63, 204) 55%,  #0000001a 55%,  #0000001a 100%);
}
#abrVintageAmount{
    background: linear-gradient(to right, rgb(41, 63, 204) 0%, rgb(41, 63, 204) 50%,  #0000001a 50%,  #0000001a 100%);
}
#abrBrushOpacity::-webkit-slider-thumb,
#abrBlurAmount::-webkit-slider-thumb,
#abrBrightnessAmount::-webkit-slider-thumb,
#abrContrastAmount::-webkit-slider-thumb,
#abrVintageAmount::-webkit-slider-thumb,
#abrBrushSize::-webkit-slider-thumb,
#abrRestoreOpacity::-webkit-slider-thumb,
#abrRestoreBrushSize::-webkit-slider-thumb{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  -webkit-appearance: none;
  cursor: ew-resize;
  background: #293fcc;
}
.wrap_erase_brush,
.wrap_erase_brush_opacity{
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
}
.wrap_erase_brush {
    margin-bottom: 15px;
}

/* NEw bg remove design start*/
.abr-download-container {
  position: relative;
  display: inline-block;
}

.abr-download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: #293FCC;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.abr-download-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 100;
  margin-top: 5px;
}

.abr-download-options.show {
  display: block;
}

.abr-download-option {
  padding: 8px 6px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;

}

.abr-download-option:hover {
  background: #f5f5f5;
}

.abr-download-option[data-quality="full"] {
  color: #4CAF50;
  font-weight: 500;
}

/* Quality Notice Styles */
.abr-quality-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #293FCC;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 9999;
  max-width: 300px;
}

.abr-quality-notice p {
  margin: 0;
  font-size: 14px;
}

.abr-quality-notice a {
  color: white;
  text-decoration: underline;
}

.abr-notice-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
.offcanvas-body .navbar-nav-right{
    width:100%;
}
.abr-gradient-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px !important;
    margin-bottom: 20px;
}

.abr-gradient-btn {
    width: 62px;
    height: 62px;
    border-radius: 4px;
    cursor: pointer;
    /*border: 2px solid transparent;
    transition: all 0.2s ease;*/
}

.abr-gradient-btn:hover {
    /*transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);*/
}

.abr-gradient-btn.active {
    position:relative;
    /*border-color: #293FCC;*/
    /*box-shadow: 0 0 0 2px rgba(41, 63, 204, 0.3);*/
}


/* Quality Notice Styles */
.abr-quality-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #293FCC;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    max-width: 300px;
    animation: fadeIn 0.3s ease;
}

.abr-quality-notice p {
    margin: 0;
    font-size: 14px;
}

.abr-quality-notice a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.abr-notice-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0 5px;
}

.abr-quality-info {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    text-align: center;
}

.abr-quality-info a {
    color: #293FCC;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* NEw bg remove design End */
/* Responsive Adjustments */


.abr-reset-mask-btn {
  display: none; /* Hidden by default */
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px 12px;
  /*margin-left: 10px;*/
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.2s;
  align-items: center;
  justify-content: center;
  gap: 6px;
}


.abr-reset-mask-btn svg {
  stroke-width: 2;
}

.abr-reset-mask-btn.visible {
  display: flex;
  width:100%;
  font-family: 'Poppins';
  color:#344054;
  font-weight:400;
  background-color:#FFFFFF;
  border: 1px solid #D0D5DD;
  box-shadow: 0px 1px 2px 0px #1018280D;
}
.abr-reset-mask-btn:hover,
.abr-reset-mask-btn.visible:hover{
  background: #293fcc;
  color:#fff;
}

/* New styles for the layout */
.abr-tab-nav {
    display: flex;
    align-items: center;
    position: relative;
}

.abr-download-container {
    /*margin-left: auto;*/
    position: relative;
    /*margin-right: 10px;*/
}

.abr-toolbar {
    display: flex;
    position: relative;
}

.abr-reset-mask-container {
    margin-left: auto;
    padding-right: 15px;
}

.abr-reset-mask-btn {
    display: none;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    color:#344054;
}

.abr-reset-mask-btn.visible {
    display: block;
}

/* Adjust existing styles as needed */

.abr-editor {
    position: relative; /* Needed for absolute positioning of child */
    display: none; /* Initially hidden */
}

.abr-processing {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    display: none; /* Initially hidden */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9; /* Ensure it's above everything */
}

.abr-editor.processing {
    filter: blur(2px);
}
/*Upload source Css*/
.faceswap_section .abr-upload-section{
    max-width: 100%;
    justify-content: space-between;
}

.faceswap_section,
.photomaker_section,
.light-photo_section,
.bgremove_section{
    padding:30px 30px 20px 30px;
}
.faceswap_section .abr-dropzone,
.photomaker_section .abr-dropzone,
.speech-text-to-section .audio-upload-area,
.speech-text-to-section .record-option,
.light-photo_section .abr-dropzone,
.bgremove_section .abr-dropzone{
    height:242px;
    margin: 0px;
    border: 1.5px dashed #293FCC66;
    background: linear-gradient(90.8deg, rgba(5, 212, 245, 0.1) -42.67%, rgba(41, 63, 204, 0.1) 99.84%);
    padding:30px 30px 20px 30px;
    border-radius:4px;
} 
.bgremove_section .abr-dropzone .abr-upload-content img,
.faceswap_section .abr-dropzone .abr-upload-content img,
.photomaker_section .abr-dropzone .abr-upload-content img,
.light-photo_section .abr-dropzone .abr-upload-content img,
.speech-text-to-section .upload-option .audio-upload-area img,
.faceswap_section .abr-dropzone .abr-upload-content-target img,
.photo-voicing-section .audio-upload-wrapper .audio-dropzone img{
  margin-bottom: 20px;  
} 
.bgremove_section .abr-dropzone .abr-upload-content,
.faceswap_section .abr-dropzone .abr-upload-content,
.photomaker_section .abr-dropzone .abr-upload-content,
.light-photo_section .abr-dropzone .abr-upload-content,
.speech-text-to-section .upload-option .audio-upload-area,
.speech-text-to-section .record-option .recorder-controls,
.faceswap_section .abr-dropzone .abr-upload-content-target{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.speech-text-to-section .record-option .recorder-controls{
    width:100% !important;
    gap:5px;
}
.bgremove_section .abr-dropzone .abr-upload-content h3,
.faceswap_section .abr-dropzone .abr-upload-content h3,
.photomaker_section .abr-dropzone .abr-upload-content h3,
.light-photo_section .abr-dropzone .abr-upload-content h3,
.speech-text-to-section .upload-option .audio-upload-area h3,
.faceswap_section .abr-dropzone .abr-upload-content-target h3{
    font-size: 16px !important;
    line-height:24px;
    background: #293FCC;
    padding: 10px 16px 10px 46px;
    width: fit-content;
    color: #fff;
    font-weight: 400;
    border-radius: 4px;
    position:relative;
    margin-bottom: 8px;
} 
.bgremove_section .abr-dropzone .abr-upload-content h3::before,
.faceswap_section .abr-dropzone .abr-upload-content h3::before,
.photomaker_section .abr-dropzone .abr-upload-content h3::before,
.light-photo_section .abr-dropzone .abr-upload-content h3::before,
.speech-text-to-section .upload-option .audio-upload-area h3::before,
.faceswap_section .abr-dropzone .abr-upload-content-target h3::before{
    content:"";
    background-image:url('https://www.xoomini.ai/wp-content/uploads/2025/07/upload-01.png');
    position: absolute;
    width: 20px;
    height: 20px;
    left: 16px;
} 
.bgremove_section .abr-dropzone .abr-upload-content p,
.faceswap_section .abr-dropzone .abr-upload-content p,
.photomaker_section .abr-dropzone .abr-upload-content p,
.light-photo_section .abr-dropzone .abr-upload-content p,
.speech-text-to-section .upload-option .audio-upload-area p,
.faceswap_section .abr-dropzone .abr-upload-content-target p{
    color:#0B0757;
    font-size: 16px;
    line-height:24px;
    margin: 0px 0px 15px 0;
    font-weight: 400;
}
.bgremove_section .abr-dropzone .abr-upload-content p.abr-file-info,
.faceswap_section .abr-dropzone .abr-upload-content p.abr-file-info,
.light-photo_section .abr-dropzone .abr-upload-content p.abr-file-info,
.photomaker_section .abr-dropzone .abr-upload-content p.abr-file-info,
.speech-text-to-section .upload-option .audio-upload-area p.small,
.faceswap_section .abr-dropzone .abr-upload-content-target p.abr-file-info{
    color:#667085;
    margin: 0px;
}
.faceswap_section div#previewImages .preview_border_set,
.photomaker_section div#sourcePreview .preview_border_set,
.ai-hug-kiss-section div#sourcePreview .preview_border_set,
.photo-voicing-section div#sourcePreview .preview_border_set,
.speech-text-to-section .upload-option .preview_border_set,
.light-photo_section div#sourcePreview .preview_border_set{
    text-align: center;
    height:242px;
    gap: 10px;
    margin-top: 10px;
    border: 1.5px dashed #293FCC;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin:0px !important;
    border-radius: 8px;
    padding:10px;
}
.speech-text-to-section .upload-option .preview_border_set{
    flex-direction:column;
}
.faceswap_section div#previewImages .preview_border_set .image-preview,
.faceswap_section div#previewImages .preview_border_set .image-preview img,
.photomaker_section div#sourcePreview .preview_border_set .image-preview,
.photomaker_section div#sourcePreview .preview_border_set .image-preview img,
.photo-voicing-section div#sourcePreview .preview_border_set .image-preview,
.photo-voicing-section div#sourcePreview .preview_border_set .image-preview img,
.ai-hug-kiss-section div#sourcePreview .preview_border_set .image-preview,
.ai-hug-kiss-section div#sourcePreview .preview_border_set .image-preview img,
.light-photo_section div#sourcePreview .preview_border_set .image-preview,
.light-photo_section div#sourcePreview .preview_border_set .image-preview img{
    height: 100%;
}

.faceswap_section #previewImages img {
    object-fit: cover !important;
}
.faceswap_section #previewImages #targetPreview,
.faceswap_section #previewImages #sourcePreview{
    width:100%;
}
.faceswap_section .wrap_source_target_div{
    display: flex;
    justify-content: space-between;
    width:100%;
}
.faceswap_section .wrap_source_target_div .upload-image-wrapper,
.faceswap_section .wrap_source_target_div .faceswap-wrapper,
.magic-erase-section .magic-erase-container #eraseSelectedArea,
.magic-erase-section .magic-erase-container #removeMagicEraseImage,
.reimagine-section .magic-erase-container #eraseSelectedArea,
.reimagine-section .magic-erase-container #removeMagicEraseImage{
    width: 49%;
}
.magic-erase-section .magic-erase-container #eraseSelectedArea,
.magic-erase-section .magic-erase-container #removeMagicEraseImage,
.reimagine-section .magic-erase-container #eraseSelectedArea,
.reimagine-section .magic-erase-container #removeMagicEraseImage{
    font-family: 'Poppins';
    font-size:16px;
    font-weight: 400;
    border-radius:8px;
}
.faceswap_section .sample-target-image-wrap,
.faceswap_section .sample-image-wrap,
.bgremove_section .sample-image-wrap,
.photomaker_section .sample-image-wrap,
.light-photo_section .sample-image-wrap,
.bgremove_section .sample-image-wrap{
    max-width:400px;
    margin: 0 auto;
}
.faceswap_section .abr-upload-footer{
    margin: 0 auto;
}
.wrap_output_faceswap {
    display: block;
    text-align: center;
    width: 100%;
}
.faceswap_section .image-preview{
    max-width:200px;
    margin:0 auto;
    position:relative;
}
.ai-hug-kiss-section .image-preview{
    position:relative;
    margin:0 auto;
}
.faceswap_section .remove-target-image,
.faceswap_section .remove-source-image,
.light-photo_section .remove-source-image,
.ai-hug-kiss-section .remove-source-image,
.photo-voicing-section .remove-source-image,
.photomaker_section .remove-source-image,
.photomaker_section .remove-target-image{
    position:absolute;
    top: 5px;
    right:5px;
    min-width:auto;
    padding: 6px !important;
    min-height: auto;
    height: fit-content;
    border-radius: 2.4px;
    margin: 0 !important;
}
.light-photo_section .upload-status-message,
.faceswap_section .upload-status-message,
.photomaker_section .upload-status-message{
    display:none;
}
@media (max-width:991px){
    .faceswap_section .abr-upload-section {
        padding: 0px;
    }
}
@media (max-width:768px){
    .faceswap_section .wrap_source_target_div{
        flex-wrap:wrap;
        gap:10px;
    }
    .faceswap_section .wrap_source_target_div .upload-image-wrapper, .faceswap_section .wrap_source_target_div .faceswap-wrapper{
        width:100%;
    }
    
}
@media (max-width:425px){
    /*.faceswap_section .remove-target-image,*/
    /*.faceswap_section #sourcePreview .image-preview button,*/
    /*.photomaker_section #sourcePreview .image-preview button,*/
    /*.light-photo_section #sourcePreview .image-preview button{*/
    /*    padding:2px 8px !important;   */
    /*    font-size: 13px !important; */
    /*}*/
}
.faceswap_section .image-preview img{
    max-width:200px !important;
    width:100%;
}
div#uploadStatus p{
    border: 3px solid #293fcc;
    padding: 5px;
    width: 50%;
    margin: 0 auto;
    margin-top: 15px;
    font-family: 'Poppins';
    background: transparent;
}
.ai-hug-kiss-section div#uploadStatus p{
    width:100%;
}
#magicEraseCanvas{
    left: 50% !important;
    transform: translate(-50%) !important;
}

/*text to speech set*/
.language-selector {
    margin:10px auto 20px auto;
    /*max-width:400px;*/
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.language-selector label{
    text-wrap-mode: nowrap;
    font-family: 'Poppins';
}

.language-selector select {
    font-family: 'Poppins';
  padding: 5px 16px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.splide__slide {
  background: #fff;
  /*border: 2px solid #e0e0e0;*/
  border-radius: 16px;
  /*padding: 20px;*/
  padding: 2px 0px !important;
  margin: 0 3.6px !important;
  text-align: center;
  transition: border-color 0.3s;
  position: relative;
  cursor: pointer;
}
.photo-voicing-section .splide__slide {
  max-width: 186px;
}

.text-to-speech-section .splide__slide {
  max-width: 110px;
  width: 100% !important;
}
.splide__slide.selected {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.speaker-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}
.text-to-speech-section #speaker_slider{
    position:relative;
}
.text-to-speech-section .btn-wrapper{
    margin-top:20px;
}
.text-to-speech-section .splide__arrows .splide__arrow,
.photo-voicing-section .splide__arrows .splide__arrow{
    background-color:#fff;
    border: 1.13px solid #8A8A8E;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    top:0;
    transform:none;
    
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-between;*/
    width: 35px;
    height: 35px;
}
.text-to-speech-section .splide__arrows .splide__arrow.splide__arrow--prev,
.photo-voicing-section .splide__arrows .splide__arrow.splide__arrow--prev{
    left: -10px;
    transform: rotate(180deg) translateY(-50%);
    top:30%;
}
.text-to-speech-section .splide__arrows .splide__arrow.splide__arrow--next,
.photo-voicing-section .splide__arrows .splide__arrow.splide__arrow--next{
    right: -10px;
}
.text-to-speech-section .splide__arrows .splide__arrow.splide__arrow--prev::before,
.text-to-speech-section .splide__arrows .splide__arrow.splide__arrow--next::before,
.photo-voicing-section .splide__arrows .splide__arrow.splide__arrow--prev::before,
.photo-voicing-section .splide__arrows .splide__arrow.splide__arrow--next::before{
    content:"";
    background-image:url('https://www.xoomini.ai/wp-content/uploads/2025/07/left-right-arrow.png');
    position:absolute;
    background-repeat: no-repeat;
    width: 7px;
    height: 10px;
    background-size: contain;
}
.text-to-speech-section .splide__arrows .splide__arrow svg,
.photo-voicing-section .splide__arrows .splide__arrow svg{
    display:none;
}
.photo-voicing-section .splide__arrows .splide__arrow--prev{
    left: -35px;
}
.photo-voicing-section .splide__arrows .splide__arrow--next{
    right: -35px;
}
.photo-voicing-section .splide__arrows svg path{
    stroke:#000 !important;
}
.play-button {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.voice-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 10px;
}

.voice-desc {
  color: #777;
  font-size: 14px;
}

.btn-wrapper,
.wrap_input_text #prompt_submit{
  margin-top: 15px;
}
.wrap_input_text .btn-wrapper,
.wrap_input_audio .btn-wrapper,
.wrap_input_text #prompt_submit,
.prompt_result{
    margin-bottom:10px;
    font-family: 'Poppins';
}
.convert_to_text,
#convert_to_text{
    font-size: 18px;
}
.speech-text-to-section .btn-wrapper,
.speech-text-to-section .abr-upload-footer{
    margin:0px !important;
}
.speech-text-to-section .btn-wrapper #convert_to_text{
    font-family: 'Poppins';
    padding: 12px 25px !important;
    font-size: 16px;
    font-weight: 400;
}
.btn-primary {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.speaker-card {
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  text-align: center;
  position: relative;
  transition: 0.3s border;
}

.speaker-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.play-button {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
}

.splide__slide.selected-audio .speaker-card {
  /*border-color: #007bff;*/
  /*box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);*/
  box-shadow: none;
}

.voice-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 12px;
}

.voice-desc {
  color: #8A8A8E;
  font-size: 14px;
}

#voice-slider-wrapper {
    max-width: 100%;
    overflow: visible;
    margin: auto;
}

.splide {
    max-width: 100%;
    padding: 1rem 0;
}

.speaker-card {
    text-align: center;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: 'Poppins';
}

.speaker-card .voice-name {
    font-weight: 400;
    margin-top: 10px;
    overflow: hidden;
    color: #3C3C3C;
    font-size:16px;
}
#voice-slider-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
}

.splide {
  width: 100%;
  margin: 0 auto;
}

.splide__slide {
  padding: 10px;
}

.speaker-card {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.speaker-img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 10px;
}

.voice-name {
  font-weight: bold;
}

.voice-desc {
  font-size: 13px;
  color: #666;
}
.speaker-card {
  position: relative;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #007bff;
  text-align: center;
}

.img-wrapper {
  position: relative;
  display: inline-block;
}

.speaker-img {
  border-radius: 50%;
  width: 68px;
  height: 68px;
  margin:0px;
}

.play-button {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
  background: white;
  border: 2px solid #007bff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-weight: bold;
  cursor: pointer;
}

.voice-wave img {
  margin-top: 10px;
  height: 20px;
}
.abr-upload-section.text-to-speech-section .upload-image-wrapper{
    width: 100%;
    margin-bottom: 10px;
}
.abr-upload-section.photo-voicing-section {
    max-width: 1160px;
    padding:0px;
}

/* Container visibility toggle */
.speaker-card.playing .nr-voice-wave {
  display: block;
}

.nr-play-wave {
  width: 100px;
  height: 30px;
  margin: 10px auto;
}

/* Optional: dark/light mode toggle */
.show-light {
  display: block;
}
.show-dark {
  display: none;
}

.speaker-card {
  border: 1px solid #E3E3E3; /* default light border */
  border-radius: 8px;
  padding: 10px;
  transition: border 0.2s ease;
  box-shadow: none ;
}

.speaker-card.selected,
.speaker-card:hover{
  border: 1px solid #293FCC;
  box-shadow: 0px 4px 8px 0px #00000033;
}

@keyframes wavePulse {
  0% {
    transform: scaleY(1);
    opacity: 0.6;
  }
  50% {
    transform: scaleY(2);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0.6;
  }
}

.nr-voice-wave .nr-play-wave {
  animation: wavePulse 1s linear infinite;
  transform-origin: center;
  display: inline-block;
}

.speaker-card .nr-voice-wave {
  display: none;
}
.speaker-card.playing .nr-voice-wave {
  display: block;
}
/* Hide wave by default */
.speaker-card .nr-voice-wave {
  display: none;
  margin-top: 10px;
  text-align: center;
}

/* Show wave while playing */
.splide__slide.is-visible.playing .nr-voice-wave {
  display: block;
}

.nr-play-wave rect {
  transform-origin: bottom;
}

.speaker-card {
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
/*.speaker-card:hover {*/
/*  box-shadow: 0 0 0 2px #007bff;*/
/*}*/

.icon-wrapper {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #293FCC;
  border-radius: 50%;
  /*padding: 6px;*/
  box-shadow: 0 0 0 2px #293FCC;
}

.play-icon,
.pause-icon {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
}
#speech_loader,
#prompt_loader{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 00;
    top: 0;
    background: #ffffffe0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
}
.light-photo_section input#input_light_photo,
.photomaker_section input#input_photomaker,
.ai-hug-kiss-section input#input_text_ai_hug{
    border-color:#E5E5EA;
    color:#8A8A8E;
    font-family: 'Poppins';
    font-weight:300;
    height:auto;
    padding:10px 15px;
}
input#input_light_photo,
input#input_photomaker,
input#input_text_ai_hug{
    margin-bottom: 10px;
    margin-top: 10px;
}
.magic-erase-instructions p {
    margin-bottom: 8px;
}
.reimagine-section #selectionCoordinates p{
    margin-bottom:5px;
}

@media (max-width: 768px) {
    .abr-bg-options {
        grid-template-columns: 1fr;
    }
    
    .abr-toolbar-nav {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .abr-tool-btn {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
 /*   .abr-upload-section {
        padding: 1.5rem;
    }*/
    
    .abr-dropzone {
        padding: 3rem 1rem;
    }
    
    .abr-color-grid, .abr-effect-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-id-1395 main{
    margin-top: 60px;
}
.page-id-1395 section.main-section.is-container{
    display: flex;
    width: 100%;
    align-items: end;
}
.page-id-1395 .section-title,
.page-id-1395 .section-title .sort-info{
    margin-bottom:0px;
}
/*.abr-color-btn {*/
/*    width: 10%;*/
/*    border-radius: 2px;*/
/*    height:40px;*/
/*}*/
.abr-canvas-container .canvas-container{
    width: 100% !important;
    height: 100% !important;
}

/* Effect Preview Styles */
.abr-effect-upload {
  margin-bottom: 15px;
  text-align: center;
}
 
.abr-effect-upload input[type="file"] {
  display: none;
}
 
.abr-effect-upload .abr-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: #f5f5f5;
  border: 1px dashed #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
 
.abr-effect-upload .abr-upload-label:hover {
  background: #e9e9e9;
}
 
.abr-effect-previews {
  display: grid;
  grid-template-columns: repeat(4, minmax(97px, 1fr));
  gap: 3px;
  /*margin-top: 15px;*/
}
 
.effect-preview-item {
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s;
}
 
/*.effect-preview-item:hover {*/
/*  transform: translateY(-2px);*/
/*  box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/
/*}*/
 
.effect-preview-item.active .effect-preview-image{
  border: 2px solid #293FCC;
  box-shadow: 0px 4px 8px 0px #00000033;
}
 
.effect-preview-image {
  width: 97px;
  height: 97px;
  border: 1px solid #ddd;
  border-radius:8px;
  object-fit: cover;
}
 
.effect-preview-label {
  padding: 7px 0px 0px;
  text-align: center;
  font-size: 16px;
  font-weight:400;
  color:#344054;
  font-family: 'Poppins';
  /*background: #f9f9f9;*/
}
.advanced-bg-remover-container{
    position:relative;
}
.text-to-speech-section #loader{
    color: #000000;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    background:#ffffff96;
    font-size:18px;
    font-weight: 600;
}
.text-to-speech-section .wrap_textarea_lable{
    text-align:start;
    max-width: 800px;
    margin: 0 auto;
    font-family: "Poppins",sans-serif;
}
.text-to-speech-section.loading-active .upload-image-wrapper{
    filter:blur(5px) !important;
    background-color:#fff;
}
.text-to-speech-section #audio_result .custom-audio-wrapper{
    display: flex;
    /*flex-wrap:wrap;*/
    align-items: center;
    gap: 12px;
    border: 1px solid #E5E5EA;
    width: fit-content;
    margin: 10px auto;
    padding: 5px;
    padding: 18px 60px;
    margin-top: 20px;
    background: linear-gradient(90.8deg, rgba(5, 212, 245, 0.1) -42.67%, rgba(41, 63, 204, 0.1) 99.84%);
}

/**/
.audio-input-options {
    margin-bottom: 20px;
}
 
.option-tabs {
    display: flex;
    margin-bottom: 24px;
    justify-content:center;
    gap:7px;
    /*border-bottom: 1px solid #ddd;*/
}
 
.option-tab {
    padding: 10px 20px;
    background: none;
    cursor: pointer;
    font-size: 16px;
    line-height:20px;
    position: relative;
    color: #344054;
    border: 1px solid #D0D5DD;
    border-radius: 5px;
    font-family: 'Poppins';
}
 
.option-tab.active {
    color: #fff;
    background:#293FCC;
    font-weight: 500;
}
 
/*.option-tab.active:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -1px;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 2px;*/
/*    background: #293FCC;*/
/*}*/
 
.option-content > div {
    display: none;
}
 
.option-content > div.active {
    display: block;
}
 
/*.audio-upload-area {*/
/*    border: 2px dashed #ccc;*/
/*    padding: 30px;*/
/*    text-align: center;*/
/*    border-radius: 8px;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s;*/
/*}*/
 
/*.audio-upload-area:hover {*/
/*    border-color: #293FCC;*/
/*    background: #f8f9ff;*/
/*}*/
 
.upload-icon svg,
.text_result{
    margin-bottom: 10px;
}
 
.audio-preview, .recorded-audio {
    margin-top: 15px;
    text-align: center;
}
 
.recorder-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}
 
.recording-status {
    /*margin: 7px auto;*/
    /*min-height: 30px;*/
}
 
.recording-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #d33;
    border: 1px solid #dd333387;
    padding: 5px 15px;
    margin: 6px auto;
    width: fit-content;
    border-radius: 8px;
}
 
.pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d33;
    animation: pulse 1.5s infinite;
}
 
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(211, 51, 51, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(211, 51, 51, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(211, 51, 51, 0); }
}
 
.text-result {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 8px;
}
 
.text-output {
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    min-height: 100px;
    text-align: left;
}
 
.small {
    font-size: 0.8em;
    color: #666;
}

/*.upload-option.active .audio-preview,*/
.record-option.active .recorder-controls p{
    color: #575757;
    font-size: 16px;
    margin: 0;
    line-height: 24px;
    /*padding-bottom: 15px;*/
}
.record-option.active .recorded-audio .wrap_record_audio_divs{
    display: flex;
    gap: 10px;
}
.record-option.active .recorded-audio .wrap_record_audio_divs #live_recorded_audio{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 30px;
}
/*    display: flex;*/
/*    align-items: center;*/
/*    padding: 10px 5px;*/
/*    border: 1px solid #E5E5EA;*/
/*    border-radius: 8px;*/
/*    gap: 7px;*/
/*}*/
.upload-option.active .audio-preview #change_audio,
.record-option.active .recorded-audio #rerecord,
.text-result #copy_text{
    color: #fff !important;
    border: 1px solid #293FCC;
    background-color: #293FCC;
}
.upload-option.active .audio-preview #change_audio:hover,
.record-option.active .recorded-audio #rerecord:hover,
.text-result #copy_text:hover{
    background-color: #1d31ad !important;   
    border-color: #1d31ad !important;
}

/*.wrap_input_text .prompt_result{*/
/*    background: #f8f9ff;*/
/*    padding: 20px;*/
/*    margin-bottom: 15px;*/
/*}*/
 
.wrap_input_text .prompt_result{
    position:relative;
    /*margin-bottom: 15px;*/
}
.wrap_input_text .prompt_result #copy_prompt_text,
.wrap_input_text .prompt_result #copy_prompt_text:hover{
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size:14px;
    background: transparent !important;
    color: #8A8A8E !important;
    padding: 0 !important;
    width: fit-content;
    min-width: fit-content;
    border: none;
    min-height: fit-content;
    gap:5px;
}
.wrap_input_text .prompt_result #copy_prompt_text::before{
    content:"";
    background-image:url(https://www.xoomini.ai/wp-content/uploads/2025/07/copy-icon.png);
    width: 20px;
    height: 20px;
    background-size: contain;
}
.wrap_input_text .prompt_result .enhanced-prompt-box .prompt-header{
    text-align: start;
    padding-bottom: 5px;
    color: #000000;
}
.wrap_input_text .prompt_result .enhanced-prompt-box .prompt-body{
    border: 1px solid #E5E5EA;
    padding:10px 15px;
    color:#434343;
    border-radius:5px;
}
.wrap_input_text .prompt_result .enhanced-prompt-box .prompt-body p{
    padding-bottom: 30px;
    font-size:14px;
    line-height:20px;
}

.record-option.active .recorder-controls,
.upload-option.active{
    width: fit-content;
    margin: 0 auto;
}
.speech-text-to-section .upload-option.active{
    width: 100%;
}
.speech-text-to-section .audio-input-options .option-tab{
    min-width: 277px;
}
.record-option.active .recorded-audio{
    width: fit-content;
    margin: 15px auto;    
}
.recorder-controls #start_recording,
.record-option #stop_recording,
.record-option #rerecord{
    /*width:300px;*/
    background:#293FCC;
    font-family: 'Poppins';
    color:#fff;
    font-weight:500;
    padding:12px 25px;
    margin-top:5px;
}
.abr-upload-footer a{
    color: #293FCC;
}
.prompt_result p{
    text-align:left;
}
/*photo-voicing-section*/
.photo-voicing-section #sourcePreview{
    margin-bottom: 10px;
}
/*.photo-voicing-section #sourcePreview .image-preview img{*/
/*    width:200px;*/
/*    height:200px;*/
/*    object-fit:cover;*/
/*    border-radius: 8px;*/
/*}*/
.photo-voicing-section #sourcePreview .image-preview,
.photomaker_section #sourcePreview .image-preview,
.light-photo_section .image-preview{
    position: relative;  
    width: fit-content;
    margin: 0 auto;
}
/*.photo-voicing-section #sourcePreview .image-preview button,*/
/*#sourcePreview .image-preview button{*/
/*    position: absolute;*/
/*    right: 5px;*/
/*    width: fit-content;*/
/*    min-width: auto;*/
/*    padding: 3px 10px !important;*/
/*    min-height: auto;*/
/*    height: fit-content;*/
/*}*/
.photo-voicing-section .wrap_input_text .wrap_audio_text{
    display:flex;
    justify-content:space-between;
    margin-bottom: 20px;
}
.photo-voicing-section .wrap_input_text .wrap_audio_text .audio-upload-wrapper{
    width: 46%;
    height: 100%;
}
.photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio{
    position:relative;
}
.photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio::before{
    content: "OR";
    position: absolute;
    left: -65px;
    top: 50%;
    z-index: 9;
    background: #fff;
    padding: 0px 5px;
    color:#8A8A8E;
    font-weight:500;
}
.photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio{
    width: 46%;
    height: 100%;
}
.photo-voicing-section #input_photo_voicing,
.text-to-speech-section #input_text_to_speech{
    height: 186px;
    min-height:auto;
}
.photo-voicing-section #input_photo_voicing,
.text-to-speech-section #input_text_to_speech,
.text-to-speech-section .language-selector select,
.photo-voicing-section select.form-control{
    border-color:#E5E5EA;
    font-family: "Poppins",sans-serif;
    font-weight: 400;
}

.text-to-speech-section .language-selector select{
    padding:0px 15px !important;
}
.text-to-speech-section .language-selector select,
.photo-voicing-section select.form-control{
    padding: 10px 15px;
    color: #8A8A8E;
    height: 40px;
    line-height: normal;
    font-size:14px;
}
.photo-voicing-section .audio-dropzone.abr-dropzone{
    padding:15px 20px;
    margin-bottom:0px !important;
}
.photo-voicing-section .audio-dropzone.abr-dropzone #audioPreview{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.photo-voicing-section .audio-dropzone.abr-dropzone .abr-upload-content svg{
    width:50px;
    height:50px;
}
.photo-voicing-section .audio-dropzone .abr-upload-content h3{
    font-size: 20px;
}
.photo-voicing-section .audio-dropzone .abr-upload-content p{
    font-size: 14px;
}
.photo-voicing-section .voice-selection{
    position:relative;
    margin-top:10px;
}
.text-to-speech-section .language-selector{
    max-width:100%;
}
.photo-voicing-section .voice-selection label,
.text-to-speech-section .wrap_textarea_lable label,
.text-to-speech-section .language-selector label{
    display:none;
}

.photo-voicing-section .voice-selection::before{
    content: "";
    position: absolute;
    right: 17px;
    top: 50%;
    z-index: 9;
    padding: 0;
    border-left: 1px solid #8A8A8E;
    border-bottom: 1px solid #8A8A8E;
    width: 8px;
    height: 8px;
    transform: rotate(-45deg) translateY(-50%);
}

@media (max-width: 1399px) {
    /*.abr-bg-image-thumb,*/
    /*.abr-bg-images .abr-upload-label{*/
    /*    height: 70px;*/
    /*}*/
    .abr-color-btn{
        width: 12%;
    }
    .abr-toolbar{
        width:40%;
    }
    .abr-custom-color{
        width: 58px;
    }
    .abr-gradient-btn,
    .abr-color-btn,
    .abr-bg-image-thumb,
    .abr-bg-images .abr-upload-label{
        width: 58px;
        height: 58px;
    }
    .speech-text-to-section .upload-image-wrapper{
        width:100%;
    }
    .abr-bg-image-grid{
        grid-template-columns: repeat(5, 58px);
    }
    .photo-voicing-section .splide__slide {
        max-width: 172px;
    }
}

@media (max-width:1199px){
    .abr-tool-btn,
    .abr-tab-btn{
        padding: 8px 10px;
        font-size: 16px;
    }
    .abr-effect-btn,
    .abr-effect-control label,
    .abr-effect-presets h4,
    .abr-brush-controls label,
    .abr-action-btn,
    #abrFormatSelect,
    .abr-download-btn,
    .abr-bg-colors h4, .abr-bg-images h4,
    .abr-custom-color p,
    #abrApplyColor{
        font-size: 15px;
    }
    .abr-bg-images .abr-upload-label{
        font-size: 15px !important;
    }
    .abr-color-btn,
    .abr-custom-color,
    .abr-gradient-btn,
    .abr-bg-image-thumb,
    .abr-bg-images .abr-upload-label{
        width: 53px;
        height: 53px;
    }
    .abr-tool-btn{
        width:49%;
    }
    .abr-bg-image-grid {
        grid-template-columns: repeat(5, 53px);
    }   
    .abr-effect-previews{
        grid-template-columns: repeat(3, minmax(97px, 1fr));
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio{
        width: 45%;
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio::before{
        left: -55px;
    }
    
}
@media (max-width:991px){
    .page-id-1395 section.main-section.is-container .container{ 
        padding:0px 10px;
    }   
    .abr-tool-btn, .abr-tab-btn {
        font-size: 13px;
    }
    .abr-color-btn, .abr-custom-color, .abr-gradient-btn, .abr-bg-image-thumb, .abr-bg-images .abr-upload-label {
        width: 45px;
        height: 45px;
    }
    .abr-bg-image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .abr-download-section{
        flex-wrap:wrap;
    }
    .abr-reset-mask-btn.visible{
        width:100%;
    }
    .effect-preview-image {
        width: 100px;
        height: 100px;
    }
    .abr-effect-previews{
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio::before {
        left: -45px;
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio::after {
        left: -85px;
        width: 80px;
    }
    .speech-text-to-section .audio-input-options .option-tab{
        min-width: 270px;
    }
    .photo-voicing-section .splide__slide {
        max-width: 152px;
    }
}
@media (max-width:950px){
    .abr-canvas-container{
        max-height: 450px;
    }
    .abr-tool-btn, .abr-tab-btn {
        padding: 8px;
    }
    .abr-effect-btn, .abr-effect-control label, .abr-effect-presets h4, .abr-brush-controls label, .abr-action-btn, #abrFormatSelect, .abr-download-btn, .abr-bg-colors h4, .abr-bg-images h4, .abr-custom-color p, #abrApplyColor{
        font-size: 14px;
    }
    .abr-bg-images .abr-upload-label {
        font-size: 14px !important;
    }
    #abrCustomColor{
        min-height: 30px;
        height: 30px;
    }
    .abr-download-btn{
        padding: 8px 10px;
    }
    .abr-color-btn, .abr-custom-color, .abr-gradient-btn,.abr-bg-images .abr-upload-label, .abr-bg-image-thumb{
        width:45px;
        height:45px;
    }
    .abr-gradient-grid,.abr-color-grid{
        gap:5px !important;
    }
    /* {*/
    /*    width: 50px;*/
    /*    height: 50px;*/
    /*}*/
}
@media (max-width:800px){
    .abr-canvas-container{
        max-height: 400px;
    }
    .abr-tool-btn, .abr-tab-btn{
        font-size: 14px;
    }
    .abr-toolbar{
        padding:12px;
    }
    #abrApplyColor{
        margin: 0;
    }
}

@media (max-width:768px){
    .text-to-speech-section .splide__slide{
        margin:0 5px !important;
    }
}
@media (max-width:767px){
    .abr-editor{
        flex-direction: column;
    }
    .abr-tab-section,
    .abr-toolbar{
        width: 100%;
    }
    /*.abr-custom-color,*/
    /*.abr-color-btn{*/
    /*    width: 6%;*/
    /*}*/
    /*.abr-bg-image-thumb,*/
    /*.abr-upload-label{*/
    /*    height: 119px;*/
    /*}*/
    .abr-bg-image-grid {
        grid-template-columns: repeat(8, 45px);
        gap: 5px;
    }
    /*.abr-color-btn.active::after, .abr-gradient-btn.active::after, .abr-bg-thumb-container.active::after{*/
    /*    width:23px;*/
    /*    height:23px;*/
    /*}*/
    .abr-download-section{
        flex-wrap:nowrap;
    }
    .abr-reset-mask-btn.visible{
        width:95%;
    }
    .effect-preview-image {
        width: 80px;
        height: 80px;
    }
    .abr-effect-previews{
        grid-template-columns: repeat(5, minmax(80px, 1fr));
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text{
        flex-direction:column;
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .audio-upload-wrapper,
    .photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio{
        width: 100%;
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .audio-upload-wrapper{
        margin-bottom:40px;
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio::after {
        width: 80px;
        top: -25px;
        bottom: auto;
        left: 0;
        width: 100%;
    }
    .photo-voicing-section .wrap_input_text .wrap_audio_text .text-input-section-with-audio::before {
        top: -25px;
        bottom: auto;
        left: 50%;
        width: fit-content;
        background: #fff;
        padding: 0px 15px;
        transform: translateX(-50%);
    }
    .bgremove_section .abr-upload-section{
        padding:0px;
    }
    .speech-text-to-section .audio-input-options .option-tab {
        min-width: 225px;
        font-size: 14px;
    }
    .speech-text-to-section .upload-option .audio-upload-area p.small{
        font-size:13px;
    }
    .record-option.active .recorded-audio .wrap_record_audio_divs #live_recorded_audio{
        width: 250px;
    }
    .photo-voicing-section .splide__slide {
        max-width: 145px;
    }
}
@media (max-width:675px){
    /*.abr-custom-color,*/
    /*.abr-color-btn{*/
    /*    width: 7%;*/
    /*}*/
    /*.abr-bg-image-grid {*/
    /*    grid-template-columns: repeat(6, 1fr);*/
    /*    gap: 13px;*/
    /*}*/
    /*.abr-bg-images .abr-upload-label,*/
    /*.abr-bg-image-thumb{*/
    /*    height: 80px;*/
    /*}*/
    .abr-toolbar-nav {
        margin-bottom: 12px;
    }
    .abr-tab-btn{
        padding:8px 16px;
    }
    .abr-tab-btn.active{
        font-size:14px;
    }
    .page-id-1395 section.main-section.is-container {
        padding: 40px 0 60px 0 !important;
    }
}
@media (max-width: 575px) {
    /*.abr-color-btn,*/
    /*.abr-custom-color{*/
    /*    width: 9%;*/
    /*}*/
    .abr-color-btn, .abr-custom-color, .abr-gradient-btn, .abr-bg-images .abr-upload-label, .abr-bg-image-thumb {
        width: 46px;
        height: 47px;
    }
    /*.abr-bg-image-thumb,*/
    /*.abr-bg-images .abr-upload-label{*/
    /*    height: 95px;*/
    /*}*/
    /*.abr-upload-heading,*/
    /*.audio-upload-wrapper h3,*/
    /*.text-input-section h3{*/
    /*    font-size: 22px;*/
    /*    line-height: 30px;*/
    /*}*/
    /*.audio-upload-wrapper h3,*/
    /*.text-input-section h3{*/
    /*  font-size: 20px;*/
    /*}*/
    .abr-upload-content h3 {
        font-size: 20px;
    }
    .abr-dropzone {
        padding: 30px 20px;
        margin-bottom: 0px;
    }
    /*.canvas-container{*/
    /*    overflow: hidden;*/
    /*    touch-action: none;*/
    /*    -webkit-overflow-scrolling: none;*/
    /*}*/
    
    /*#abrRemovedCanvas {*/
    /*    touch-action: none;*/
    /*}*/
    .text-to-speech-section #audio_result .custom-audio-wrapper{
        width:100%;
        flex-wrap:wrap;
        justify-content:center;
    }
    .recorder-controls #start_recording {
        /*min-width: 200px;*/
        /*width: 300px;*/
    }
    .record-option.active .recorder-controls, .upload-option.active,
    .record-option.active .recorded-audio{
        width:100%;
    }
    .record-option.active .recorded-audio{
        justify-content:space-between;
    }
    #convert_to_text{
        font-size: 16px;
    }
    .record-option.active .recorded-audio .wrap_record_audio_divs #live_recorded_audio,
    .upload-option.active .audio-preview #uploaded_audio{
        width: 100%;
    }
    .record-option.active .recorded-audio .wrap_record_audio_divs{
        flex-wrap:wrap;
        gap:5px;
        justify-content: center;
    }
    .speech-text-to-section .recorder-controls img{
        height: 50px;
    }
    .speech-text-to-section .recorder-controls #rerecord{
        margin:0px;
    }
    .speech-text-to-section .option-tabs{
        margin-bottom:12px;
    }
    .photo-voicing-section .splide__slide {
        max-width: 151px;
    }
}
@media (max-width: 571px) {
    /*.abr-bg-image-grid {*/
    /*    grid-template-columns: repeat(8, 1fr);*/
    /*}*/
    .abr-gradient-grid,.abr-color-grid{
        gap:5px !important;
    }
}

@media (max-width: 554px) {
    .abr-bg-image-grid {
        grid-template-columns: repeat(7, max-content);
    }
    .abr-color-btn, .abr-custom-color, .abr-gradient-btn, .abr-bg-images .abr-upload-label, .abr-bg-image-thumb {
        width: 51px;
        height: 50px;
    }
}
@media (max-width: 507px) {
    .abr-bg-image-grid {
        grid-template-columns: repeat(6, max-content);
    }
}
@media (max-width: 500px) {
    /*.abr-color-btn, .abr-custom-color {*/
    /*    width: 11%;*/
    /*}*/
    /*.abr-bg-image-thumb, .abr-bg-images .abr-upload-label {*/
    /*    height: 74px;*/
    /*}*/
    .abr-tool-panel {
        padding: 8px 0 10px;
    }
    .abr-sample-item img {
        height: 70px;
    }
    
    .effect-preview-label{
        font-size:14px;
    }
    .abr-effect-previews{
        grid-template-columns: repeat(4, minmax(80px, 1fr));
    }
    .photo-voicing-section .abr-dropzone,
    .faceswap_section .abr-dropzone,
    .photomaker_section .abr-dropzone,
    .speech-text-to-section .audio-upload-area,
    .speech-text-to-section .record-option,
    .light-photo_section .abr-dropzone,
    .bgremove_section .abr-dropzone
    .photo-voicing-section .audio-dropzone.abr-dropzone{
        padding: 10px 20px; 
    }
    
    .photo-voicing-section .abr-dropzone .abr-upload-content svg {
        width: 50px;
        height: 50px;   
    }
    .photo-voicing-section .audio-dropzone .abr-upload-content h3,
    .photo-voicing-section .abr-upload-content h3,
    .bgremove_section .abr-dropzone .abr-upload-content h3,
    .light-photo_section .abr-dropzone .abr-upload-content h3,
    .photomaker_section .abr-dropzone .abr-upload-content h3,
    .faceswap_section .abr-dropzone .abr-upload-content h3,
    .speech-text-to-section .upload-option .audio-upload-area h3,
    .faceswap_section .abr-dropzone .abr-upload-content-target h3{
        font-size: 18px;
    }
    .photo-voicing-section .speaker-card .voice-name{
        font-size: 14px;
    }
    .photo-voicing-section .speaker-card .voice-desc{
        margin-top:0px;
    }
    .photo-voicing-section .voices_available{
        margin:0px;
    }
    .magic-erase-section .magic-erase-container .abr-image-actions,
    .reimagine-section .magic-erase-container .abr-image-actions{
        margin-top:5px !important;
    }
    .magic-erase-section .magic-erase-container #eraseSelectedArea,
    .magic-erase-section .magic-erase-container #removeMagicEraseImage,
    .reimagine-section .magic-erase-container #eraseSelectedArea,
    .reimagine-section .magic-erase-container #removeMagicEraseImage{
        width: 100%;
        margin-top:5px;
        font-size: 14px;
    }
}

@media (max-width: 475px) {
    /*.abr-color-btn, .abr-custom-color {*/
    /*    width: 11%;*/
    /*}*/
    /*.abr-bg-image-thumb, .abr-bg-images .abr-upload-label {*/
    /*    height: 68px;*/
    /*}*/
    .text-to-speech-section .splide__slide{
        width:calc(100% + -10px) !important;
    }
    .recorder-controls #start_recording {
        width: 250px;
    }
    #convert_to_text {
        font-size: 14px;
    }
    .speech-text-to-section .audio-input-options .option-tab {
        min-width: 185px;
    }
}
@media (max-width: 451px) {
    .abr-bg-image-grid {
        grid-template-columns: repeat(5, max-content);
    }
    .speech-text-to-section .audio-input-options .option-tab {
        min-width: 170px;
    }
    .speech-text-to-section .btn-wrapper #convert_to_text{
        padding: 10px 25px !important;
        font-size: 14px;
    }
}
@media (max-width:431px){
    .abr-bg-image-grid {
        grid-template-columns: repeat(5, max-content);
        /*gap: 16px;*/
    }
    /*.abr-bg-image-thumb, .abr-bg-images .abr-upload-label {*/
    /*    height: 80px;*/
    /*}*/
}
@media (max-width:425px){
    .bgremove_section .abr-upload-section .upload-image-wrapper,
    .faceswap_section .abr-upload-section .upload-image-wrapper{
        margin-bottom: 15px;
    }
    .faceswap_section .abr-upload-heading,
    .bgremove_section .abr-upload-heading,
    .light-photo_section .abr-upload-heading,
    .photomaker_section .abr-upload-heading,
    .photo-voicing-section .audio-upload-wrapper h3,
    .text-to-speech-section .upload-image-wrapper h3,
    .prompt-enhacement-section .upload-image-wrapper h3,
    .speech-text-to-section .upload-image-wrapper h3,
    .photo-voicing-section .text-input-section-with-audio h3{
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .bgremove_section .abr-dropzone,
    .faceswap_section .abr-dropzone,
    .photomaker_section .abr-dropzone,
    .speech-text-to-section .audio-upload-area,
    .speech-text-to-section .record-option,
    .light-photo_section .abr-dropzone{
        padding: 15px 15px 10px 15px;
        height:210px;
    }
    .bgremove_section .abr-sample-images,
    .faceswap_section .abr-sample-images{
        margin-top: 15px;
    }
    .bgremove_section .sample-image-wrap .abr-sample-grid,
    .faceswap_section .sample-image-wrap .abr-sample-grid{
        margin-bottom: 15px;
    }
    .bgremove_section .abr-dropzone .abr-upload-content img,
    .faceswap_section .abr-dropzone .abr-upload-content img,
    .photomaker_section .abr-dropzone .abr-upload-content img,
    .light-photo_section .abr-dropzone .abr-upload-content img,
    .speech-text-to-section .upload-option .audio-upload-area img,
    .faceswap_section .abr-dropzone .abr-upload-content-target img,
    .photo-voicing-section .audio-upload-wrapper .audio-dropzone img{
        margin-bottom: 10px;
    }
    .bgremove_section .abr-dropzone .abr-upload-content h3,
    .faceswap_section .abr-dropzone .abr-upload-content h3,
    .photomaker_section .abr-dropzone .abr-upload-content h3,
    .light-photo_section .abr-dropzone .abr-upload-content h3,
    .faceswap_section .abr-dropzone .abr-upload-content-target h3,
    .speech-text-to-section .upload-option .audio-upload-area h3{
        padding:5px 8px 5px 26px;
        font-size:13px !important;
    }
    .bgremove_section .abr-dropzone .abr-upload-content p,
    .faceswap_section .abr-dropzone .abr-upload-content p,
    .photomaker_section .abr-dropzone .abr-upload-content p,
    .light-photo_section .abr-dropzone .abr-upload-content p,
    .faceswap_section .abr-dropzone .abr-upload-content-target p,
    .speech-text-to-section .upload-option .audio-upload-area p{
        font-size: 14px;
        line-height: 20px;
        margin: 0px 0px 5px 0;
    }
    .bgremove_section .abr-dropzone .abr-upload-content h3::before,
    .faceswap_section .abr-dropzone .abr-upload-content h3::before,
    .light-photo_section .abr-dropzone .abr-upload-content h3::before,
    .photomaker_section .abr-dropzone .abr-upload-content h3::before,
    .faceswap_section .abr-dropzone .abr-upload-content-target h3::before,
    .speech-text-to-section .upload-option .audio-upload-area h3::before{
        content: "";
        width: 14px;
        height: 14px;
        left: 8px;
        background-size: cover;
        top: 50%;
        transform: translateY(-50%);
    }
}
@media (max-width:420px){
     .abr-tab-btn {
        padding: 8px 16px;
    }
    .abr-tool-btn{
        padding: 8px 10px;
    }
    /*.abr-color-btn, .abr-custom-color {*/
    /*    width: 13%;*/
    /*}*/
    /*.abr-bg-image-thumb, .abr-bg-images .abr-upload-label {*/
    /*    height: 68px;*/
    /*}*/
    .abr-sample-grid{
        gap:5px;
    }
    .abr-upload-section{
        padding:0px;
    }
    /*.abr-upload-heading,*/
    /*.photo-voicing-section .audio-upload-wrapper h3,*/
    /*.photo-voicing-section .text-input-section-with-audio h3,*/
    /*.photo-voicing-section .voices_available{*/
    /*    font-size: 17px;*/
    /*    line-height: 24px;*/
    /*}*/
    .abr-upload-heading,
    .photo-voicing-section .audio-upload-wrapper h3,
    .photo-voicing-section .text-input-section-with-audio h3,
    .photo-voicing-section .voices_available,
    .faceswap_section .abr-upload-heading,
    .bgremove_section .abr-upload-heading,
    .light-photo_section .abr-upload-heading,
    .photomaker_section .abr-upload-heading,
    .text-to-speech-section .upload-image-wrapper h3,
    .speech-text-to-section .upload-image-wrapper h3,
    .prompt-enhacement-section .upload-image-wrapper h3,
    .photo-voicing-section .text-input-section-with-audio h3{
        font-size: 15px;
        line-height: 20px;
    }
    .advanced-bg-remover{
        padding:10px;
    }
    .abr-bg-image-grid {
        grid-template-columns: repeat(6, max-content);
        /*gap: 16px;*/
    }
    #voice-slider-wrapper{
        max-width:90%;
    }
    .record-option.active .recorded-audio{
        margin: 5px auto;
    }
    .record-option.active .recorded-audio .wrap_record_audio_divs #live_recorded_audio,
    .upload-option.active .audio-preview #uploaded_audio{
        height:45px;
    }
}
@media (max-width:411px){
    .abr-bg-image-grid {
        grid-template-columns: repeat(5, max-content);
        /*gap: 16px;*/
    }
}
@media (max-width:400px){
    .abr-effect-previews{
        grid-template-columns: repeat(3, minmax(80px, 1fr));
    }
    .effect-preview-image {
        width: 100px;
        height: 100px;
    }
    .language-selector{
        flex-wrap:wrap;
    }
    .speech-text-to-section .audio-input-options .option-tab {
        min-width: 150px;
    }
}
@media (max-width:375px){
    .abr-canvas-container {
        max-height: 350px;
    }
    .abr-custom-color{
        flex-wrap: wrap;
    }
    .abr-custom-color p{
        width: 100%;
    }
    .effect-preview-image {
        width: 80px;
        height: 80px;
    }
    .abr-tab-btn {
        padding: 8px;
    }
    .speech-text-to-section .option-tab{
        padding: 10px;
        font-size: 13px;
    }
    #voice-slider-wrapper {
        max-width: 95%;
    }
    .photo-voicing-section .splide__slide {
        max-width: 144px;
    }
    .speech-text-to-section .recorder-controls img {
        height: 40px;
    }
}
@media (max-width: 355px) {
    .abr-color-btn, .abr-custom-color, .abr-gradient-btn, .abr-bg-images .abr-upload-label, .abr-bg-image-thumb {
        width: 41px;
        height: 40px;
    }
     .abr-bg-image-grid {
        grid-template-columns: repeat(6, max-content);
        /*gap: 16px;*/
    }
}
@media (max-width: 350px) {
    .abr-canvas-container {
        max-height: 300px;
    }
    .abr-bg-image-grid {
        grid-template-columns: repeat(5, max-content);
        /*gap: 16px;*/
    }
    .upload-option.active .audio-preview, .record-option.active .recorder-controls, .record-option.active .recorded-audio{
        flex-wrap:wrap;
    }
    .recorder-controls #start_recording,
    .recorder-controls #stop_recording,
    .recorded-audio #rerecord,
    .audio-preview #change_audio,
    #text_result #copy_text{
        width:100%;
    }
    .text-result{
        margin-top:15px;
    }
    #live_recorded_audio{
        height: 40px;
    }
    .speech-text-to-section .audio-input-options .option-tab {
        min-width: 120px;
        font-size: 13px;
    }
}
@media (max-width: 330px) {
    .effect-preview-image {
        width: 75px;
        height: 75px;
    }
    .abr-effect-previews{
        grid-template-columns: repeat(3, minmax(75px, 1fr));
    }
    .photo-voicing-section .audio-dropzone #audioPreview audio{
        max-width:250px;
    }
}
@media (max-width: 305px) {
    .abr-bg-image-grid {
        grid-template-columns: repeat(4, max-content);
        /*gap: 16px;*/
    }
}
