@charset "utf-8";
/* CSS Document */
form {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
@media screen and (max-width: 500px) {
    .accordion-content form {
        padding: 0;
    }
}

.blue-gold{
    --fa-primary-color: blue ;
    --fa-secondary-color: gold;
}
.red-gold{
    --fa-primary-color: red;
    --fa-secondary-color: gold;
}
.red-blue{
    --fa-primary-color: red;
    --fa-secondary-color: blue;
}

.table-striped tr:nth-child(even) {
    background-color: #B9F3FC;
}

.table-striped tr:nth-child(odd) {
    background-color: #AEE2FF;
}

.size{
    font-size: 1.1em;
    font-weight: bold;
}
.d-flex{display: flex;}

#instructions{
    display: none;
    visibility: hidden;
}
ul{
    display: flex;
    flex-direction: column;
    padding: 0;
}

#accordion {
    width: 100%;
    margin: auto auto;

}

#accordion li:first-child  {order:1; background: #B9F3FC;}
#accordion li:nth-child(2) {order:2; background: #AEE2FF;}
#accordion li:nth-child(3) {order:3; background: #B9F3FC;}
#accordion li:nth-child(4) {order:5; background: #AEE2FF;}
#accordion li:nth-child(5) {order:4; background: #B9F3FC;}

#accordion p {  margin: 0; }

#accordion p:focus { outline: none;
}

#accordion .odd { background: #B9F3FC; color: grey}
#accordion .even { background: #AEE2FF; color: black; }
#accordion h3{
    display: flex;
    justify-content: flex-start;

    font-size: 1.25em;
}
#accordion h3 .icons{
    position:absolute;
    right :0;

}
#accordion i {
    margin: 0 5px 0 5px;
    cursor: pointer;
}

#accordion p.pSmall{font-size: .5em;padding-left: 2em;}
.ui-state-active {color: darkblue;}
.ui-accordion-content {
    padding :0.2em 0.2em !important;
    background-color: aliceblue;

}



#msgSpan {
    border-radius: 10px;
    padding: 5px;
}


.options {
    padding-left: 2em;
}

.close{
    display: flex;
    top:50%;
    justify-content: center;
}

/*.initPrompt  { border: lightGreen 3px solid; background: #e6ffe6; !important;}*/
.errorPrompt { border: red 3px solid; background: sandyBrown !important; }
.goodPrompt  { border: green 3px solid; background: #C4F7CE;}
.ep2, .ep1 {color:#FC5185;}
.ep1 {margin: -10px 0 0 15px;   }
.w100 {width: 97% !important;
    padding-left: 17px;
}

.rc10{ border-radius: 10px;}

.btn {
    display: inline-block;

    border:none;
    border-radius: 7px;
    padding: 10px 25px 10px 25px;
    margin: 5px 0 5px 0 !important;
    text-align: center;
    text-decoration: none;
}
.choose-file{
    padding-left: 40px;
    position: relative;
}
.choose-file::after{
    position: absolute;
    font-family: 'FontAwesome';
    font-size: 1.5em;
    top: 12%;
    left: 10px;
    content: "\f1c5"; /* font awesome code for the file ad icon */
}
.b{ background-color: mediumseagreen; }
.g{ background-color:cornflowerblue; 	}

.submit{
    color:  #fff;
    background-color: #04AA6D;
    width: fit-content;
    text-align: center;
    justify-content:space-evenly;

}
.reset{
    color:  #fff;
    background-color: #5bc0de;
}
.remind{
    color:  #fff;
    background-color: #5bc0de;
}
.c{ /*padding-left: 1em;*/}

.create {
    color: #fff;
    background-color: #337ab7;
}
.generate {
    color: #fff;
    background-color: #337ab7;
    width: fit-content;
}
.generate .fa-microchip-ai {
    --fa-secondary-color: #fff;
    --fa-secondary-opacity: 0.5;
}
.m1{margin: 15px 0px 15px 0px ;}

.pt8 {padding-top: 8px;}

.cb {height: 35px; width: 35px; background-color: #eee; }
.cbl{text-align: left; line-height: 1.2em; margin-right: 1em;}

.s2{font-size: 1.5em;}

.fr{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.no-fouc{display: none;}




.ui-dialog-titlebar, .ui-dialog-titlebar-close{
    background: LightBlue;
}
.ui-widget-overlay{
    background: GoldenRod;
    opacity: .4;

}
.red, .fa-lock { color: red;}
.green, .fa-lock-open {color: green; }
.custom-file-input::before{
    content: 'Add File(s)';
    display: inline-block;
    width:138px;
    background:	#4A89DC;
    border-radius: 4px;
    border:none;
    color: white;
    line-height: 45px;
    text-align: center;
    font-size: 1em;
    padding: 2px 10px 1.5px;
    height: 45px;
    cursor: pointer;
}

#addFiles{
    display: inline-block;
    width: 138px;
    padding: 0px;
    margin: 10px 2px 0px 0px;
    border: none;

}

.file-input-button{
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor:pointer;
}

.file-upload-all-button{
    position: relative;
    overflow: hidden;
    cursor:pointer;
    background-color: sandybrown;
}

.file-cancel-all-button{
    position: relative;
    overflow: hidden;
    cursor:pointer;
    background-color: orangered;
}

/*
 * jQuery File Upload UI Plugin CSS
 * https://github.co.uk/blueimp/jQuery-File-Upload
 *
 * Copyright 2010, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 */

.progress-animated .progress-bar,
.progress-animated .bar {
    background: url('Images/progressbar.gif') !important;
    filter: none;
}
.fileupload-process {
    float: right;
    display: none;
}
.fileupload-processing .fileupload-process,
.files .processing .preview {
    display: block;
    width: 32px;
    height: 32px;
    background: url('Images/loading.gif') center no-repeat;
    background-size: contain;
}
.files audio,
.files video {
    max-width: 200px;
}
.files .name {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.files button {
    margin-bottom: 5px;
}
.toggle[type='checkbox'] {
    transform: scale(2);
    margin-left: 10px;
}
h3{font-size: 125% !important;}

.fileupload-buttonbar {
    display: block;
}
.progress-extended{
    font-weight: bold !important;
    font-size: 1.1em !important;
}

.instructions{ display: none;}
.mirror { display: block;
    -moz-transform: matrix(-1, 0, 0, 1, 0, 0);
    -webkit-transform: matrix(-1, 0, 0, 1, 0, 0);
    -o-transform: matrix(-1, 0, 0, 1, 0, 0);
    right: 97%;}

@media (max-width: 767px) {
    .fileupload-buttonbar .btn {
        margin-bottom: 5px;
    }
    .fileupload-buttonbar .delete,
    .fileupload-buttonbar .toggle,
    .files .toggle,
    .files .btn span {
        display: none;
    }
    .files audio,
    .files video {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .files .image td:nth-child(2) {
        display: none;
    }
}

/*
 * jQuery File Upload Plugin CSS
 * https://github.co.uk/blueimp/jQuery-File-Upload
 *
 * Copyright 2013, Sebastian Tschan
 * https://blueimp.net
 *
 * Licensed under the MIT license:
 * https://opensource.org/licenses/MIT
 */

.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        font-size: 150% !important;
    }
}
.form-message{
    color: black;
    font-size: 1em;
}

/*  Moved from advertEditor_filesPanel.tpl */
.existing-file-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items vertically */
    margin-bottom: 10px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
    background-color: lightsteelblue;
    gap: 1rem;
}
.existing-file-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.existing-file-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
}

.existing-file-thumb-container {

    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #ccc; */
    border-radius: 7px;
    overflow: hidden;
}
@media screen and (min-width: 900px) {
    .existing-file-details {
        flex-direction: row;
    }
}
.existing-file-thumb-container img,
.existing-file-thumb-container video {
    width: 800px;
    object-fit: cover;
}
.existing-image, .existing-video{
    border-radius: 7px;
}

.remove-existing-file {
    /* Existing button styles */
    /* No need for specific horizontal centering here with space-between */
}
.existing-file-thumb{
    border-radius: 7px;
    width: 150px;
    height: 150px;
}
.progres {
    height: 20px; /* Adjust the height of the progress bar as needed */
    margin-bottom: 20px; /* Add some space below the progress bar */
    overflow: hidden;
    background-color: #f5f5f5; /* Light grey background for the progress bar container */
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bar {
    float: left;
    width: 0; /* This is being updated by JavaScript */
    height: 100%;
    font-size: 1.5em;
    line-height: 2em;
    color: #fff; /* White text color for the percentage */
    text-align: center;
    background-color: #337ab7; /* A default blue color for the progress bar */
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    transition: width .6s ease; /* Smooth transition for the width change */
}

.file-upload-progress{
    font-size: 1.5em;
    line-height: 2em;

}
.progress-bar-success {
    background-color: #5cb85c; /* Green color for successful progress */
}

.progress-striped > .progress-bar {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%,
    transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%,
    rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

.fileupload-progress.fade {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.file-progress-bar{
    display: flex;
    font-size: 1.5em;
    color: white;
    background-color: green;
    width:0 ;
    height:2em;
    align-items: center; /* Center vertically */

    border-radius: 7px;

}
.upload-progress {
    font-size: 1.5em; /* Adjust the size as needed */
    color: green; /* Or any color you prefer */
    font-weight: bold; /* Make it stand out */
    margin-left: 10px; /* Add some space between the file name and the progress */
}

.btnDiv{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lightCoral {
    background-color: lightcoral;
}
.smallLightGrey {
    background-color: SANDYBROWN; /* Light grey background */
    color: #333; /* Darker text for contrast */
    padding: 5px 10px; /* Reduce the padding: top/bottom, left/right */
    font-size: 0.9em; /* Reduce the font size */
    /* You can also adjust the border if you like */
    /* border: 1px solid #ccc; */
    /* Optionally, you can set a fixed width if needed */
    /* width: 120px; */
}
.btnDanger {
    background-color: #a61616;
}
.btnSmall {
    font-size: 0.9em;
}

.template-container{
    align-items: center;
    background-color: lightgrey;
    border: brown 1px solid !important;
    border-radius: 7px;
    padding: 10px;
    margin-bottom: 10px;
    gap: 10px;
}
.inner-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.inner-container-item {
    display: flex;
    gap: 10px;
}
.inner-container-item.col {
    flex-direction: column;
}
@media screen and (max-width: 900px) {
    .inner-container-item.image-details {
        flex-direction: column;
    }
}

.inner-container-item .select-for-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inner-container-item .btnDanger {
    width: fit-content;
}
.accordion-content {
    margin-bottom: .5rem;
    overflow-y: auto; !important; /* Enable vertical scrolling when content overflows */
}
.custom-file-upload {
    position: relative;
    display: inline-block;
}

.custom-button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

.actual-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
#cancel-all{
    display: none;
}
.w350 {
    width: 350px;
}
#file-preview-container > div {
    margin-bottom: 20px;


}

.file-thumbnail-container {
    display: flex; /* Use flexbox to center content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-right: 10px;
    max-width: 300px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 7px;
    overflow: hidden;
}
@media screen and (max-width: 900px) {
    .file-thumbnail-container {
        max-width: 100%;
    }
}

.file-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-right: 10px;
    max-width: 400px; /* Limit width of file info to prevent overlap */
    min-width: 200px;
}

.label {
    font-weight: bold;
    margin-right: 5px;
    display: inline-block;
}

.file-name,
.file-size,
.file-type {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.text-input {
    display: flex;
    flex-direction: column;
    width: 300px;
}



/* Responsive adjustments */
@media (max-width: 600px) {
    #file-preview-container > div {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-thumbnail {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .text-input {
        width: 100%;
    }
}

.error-message {
    display: block;
    color: red;
    font-size: 0.8em;
    margin-top: 2px;
}

.select-container {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.select-for-upload {
    width: 30px;
    height: 30px;
    margin: 0;
}

.errorPrompt {
    border: 1px solid red !important;
    background-color: #ffe0e0;
}

.ep1 {
    color: #FC5185;
    margin: -8px 0 20px 0;
    font-size: 0.8em;


}
.caption-error{

}


/* Matching wa-options */

/* Generated by Gemini */
/* --- Base Styles for all Selects to match wa-select outlined appearance --- */

/* UPDATED - by Claude, replaces all the var to values */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-color: #ffffff;
    border: 1px solid #94a3b8;
    border-radius: 0.375rem;

    color: #0f172a;
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 400;

    padding: 0 0.75rem;
    height: 2.5rem;

    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
    outline: none;

    transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Custom caret arrow */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2364748b" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.125rem;
    padding-right: 2.5rem;
}

select::-ms-expand {
    display: none;
}

select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgb(147 197 253 / 0.5);
}

select:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

select.placeholder-selected {
    color: #94a3b8;
}

select option:first-child[value=""] {
    color: #94a3b8;
}

select::-ms-expand {
    display: none;
}

/* --- Labels --- */
label {
    display: block;
    margin-bottom: 0.25rem;

    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #1e293b;

    position: relative;
}

label.required::after {
    content: '*';
    color: #ef4444;
    position: absolute;
    right: 0;
    top: 0;
}

/* --- Options --- */
option {
    font-family: inherit;
    font-size: 0.9375rem;
    color: #0f172a;
    padding: 0.25rem 0.75rem;
}

option[selected] {
    color: #0f172a;
    background-color: transparent;
}

#current-files {
    border-bottom: 2px groove #FFF;
}
.custom-file-upload p {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.fileupload-buttonbar button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.cta-container button {
    flex: 1;
    width: 100%;
}
