/* Estilos Generales para la Forma */
.loading-bar-container {
  width: 100%;
  height: 5px;
  background-color: #f3f3f3;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 5px;
}

.loading-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background-color: #0073aa;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.easy-gpt-field {
    margin-bottom: 15px;
}

.easy-gpt-field label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.error-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

.easy-gpt-field input[type="text"],
.easy-gpt-field input[type="number"],
.easy-gpt-field input[type="range"],
.easy-gpt-field select,
.easy-gpt-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Asegura que padding y border estén incluidos en el ancho total */
}

.easy-gpt-field input[type="range"] {
    width: calc(100% - 50px); /* Ajuste para el output */
    display: inline-block;
    vertical-align: middle;
}

.easy-gpt-field output {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.form-table td {
    margin-bottom: 9px;
    padding: 15px 10px;
    line-height: 1.3;
    vertical-align: top;
}

.easy-gpt-field input[type="checkbox"] {
    width: auto;
}

.easy-gpt-field small {
    display: block;
    margin-top: -5px;
    color: #666;
}

/* Estilos para las Pestañas */
#easy-gpt-tabs {
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#easy-gpt-tabs ul {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

#easy-gpt-tabs ul li {
    display: inline-block;
    margin-right: 5px;
}

#easy-gpt-tabs ul li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    background: #f1f1f1;
    color: #0073aa;
    border-radius: 4px 4px 0 0;
}

#easy-gpt-tabs ul li a:hover,
#easy-gpt-tabs ul li.ui-tabs-active a {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-bottom: none;
}

#easy-gpt-tabs .ui-tabs-panel {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Estilos para la tabla */
.easy-gpt-table {
    width: 100%;
    table-layout: fixed;
}

.easy-gpt-column {
    width: 33%;
    vertical-align: top;
}

.vertical-separator {
    border-left: 1px solid #ddd;
    height: 100%;
    margin: 0 20px;
}

.horizontal-separator {
    border-top: 1px solid #ddd;
    width: 100%;
    margin: 20px 0;
}

/* Estilos para la sección Generate Article */
#easy-gpt-outline,
#easy-gpt-preview,
#easy-gpt-excerpt-preview,
#easy-gpt-images-prompts {
    margin-top: 20px;
    margin-bottom: 20px;
}

#easy-gpt-outline h4,
#easy-gpt-preview h4,
#easy-gpt-excerpt-preview h4,
#easy-gpt-images-prompts h4,
#easy-gpt-seo-preview h4,
#easy-gpt-title-preview h4,
#easy-gpt-outline-preview h4,
#easy-gpt-tag-preview h4,
#easy-gpt-category-preview h4{
    margin-bottom: 10px;
    color: #0073aa;
}

#easy_gpt_generated_outline,
.easy-gpt-image-preview {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    margin-right:10px;
}

#easy-gpt-image-tabs {
    border: none;
    margin-bottom: 15px;
}

#easy_gpt_generated_preview,
#easy_gpt_generated_title_preview,
#easy_gpt_generated_excerpt_preview,
#easy_gpt_generated_seo_title_preview,
#easy_gpt_generated_seo_description_preview,
#easy_gpt_generated_category_preview,
#easy_gpt_generated_tag_preview{
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

/* Estilos para las imágenes */
.easy-gpt-image-preview {
    width: 125px;
    height: 125px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    display: inline-block;
    background-size: cover;
    background-position: center;
}

.update-messages h2,
.update-php h2,
h4 {
    font-size: 1em;
    margin: 0;
    margin-bottom: 5px;
}

#easy_gpt_generated_preview,
#easy_gpt_generated_title_preview,
#easy_gpt_generated_excerpt_preview,
#easy_gpt_generated_seo_title_preview,
#easy_gpt_generated_seo_description_preview,
#easy_gpt_generated_category_preview,
#easy_gpt_generated_tag_preview {
    margin-bottom: 20px;
}

hr {
    margin-bottom: 15px;
}

/* Estilos para la disposición en línea de checkbox y label */
.easy-gpt-inline {
    display: flex;
    align-items: center;
    margin-top: 5px; /* Añadir margen superior para separar del textarea */
}

/* Estilos para los labels normales */
.normal-label {
    font-weight: normal !important;
    margin-left: 5px; /* Añadir margen izquierdo para separar del checkbox */
}

.easy-gpt-preview-box {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    margin-bottom: 20px; /* Add spacing between preview sections */
}

/* Estilos para los botones */
.button-primary {
    margin-right: 5px;
}

#generate-all {
    max-width: 300px;
    background-color: #13a86d;
    color: white;
    font-weight: bold;
    padding: 10px;
    border:none;
}
.easy-gpt-field button{
    margin-bottom:10px !important;
    margin-right:10px !important;
}
.ui-widget-header {
    border: none;
    background: #fff;
    color: #333333;
    font-weight: bold;
}
.black-label {
    font-weight: bold !important;
    margin-right: 5px; /* Añadir margen izquierdo para separar del checkbox si es necesario */
}
.easy-gpt-inline-bold {
    display: flex;
    align-items: center;
}

.adjusted-checkbox {
    margin-top: -5px !important;
}
#easy_gpt_cost,
#easy_gpt_prompt_tokens,
#easy_gpt_completion_tokens,
#easy_gpt_total_tokens{
    width: 55px;
    text-align: right;
}
#easy_gpt_generated_title_preview,
#easy_gpt_generated_seo_title_preview,
#easy_gpt_generated_category_preview,
#easy_gpt_generated_tag_preview{
    height:40px;
}
#easy_gpt_generated_excerpt_preview,
#easy_gpt_generated_seo_description_preview{
    height:80px;
}
#easy_gpt_generated_outline_preview{
    height:150px;
}
#easy_gpt_generated_preview_ifr{
    min-height:350px !important;
}