/*
Theme Name: OceanWP child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

body{
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.jet-profile-menu a[href*="lista-empresas"],
.jet-profile-menu a[href*="lista-actuaciones"]{
    position: relative;
    margin-top: 25px;
}

.jet-profile-menu a[href*="lista-empresas"]::before,
.jet-profile-menu a[href*="lista-actuaciones"]::before{
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ededed;
}

.btn-navegacion-docs a {
    display: inline-block;
    background-color: #29b6c5;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
#actuacion .btn-navegacion-docs a{
  background-color: #1D9E75;
}
.btn-navegacion-docs a:hover {
    background-color: #1fa0ae;
    color: #ffffff !important;
}
.jet-form-builder-file-upload__content,
.jet-engine-file-upload__content{
  background: #f5f5f5;
  border: 1px dashed #ddd;
}

.estado-Pendiente,
.estado-pendiente{
    background: #fff3cd;
    color: #856404;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}
.estado-Verificado,
.estado-verificado{
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}
.estado-Rechazado,
.estado-rechazado,
.estado-Caducado,
.estado-caducado {
    background: #f8d7da;
    color: #721c24;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.actuaciones.estado-Pendiente {
    color: red;
    background: #ffcccc;
}
.estado-Trabajando{
    background: #fff3cd;
    color: #856404;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}
.estado-Terminado {
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.estado-docs {
    padding: 15px 20px;
    border-radius: 8px;
}

.estado-docs-vacio {
    background: #e3f2fd;
    color: #1565c0;
}

.estado-docs-pendiente {
    background: #fff3cd;
    color: #856404;
}

.estado-docs-ok {
    background: #d4edda;
    color: #155724;
}
.dashboard .estado-docs{
  padding: 0;
  color: #fff;
  background: none;
}
span.icono-doc {
    font-size: 25px;
    margin-right: 5px;
}
.nowrap{
  white-space: nowrap;
}
.iconos-documentos{
  line-height: 1.5;
}
/* ========================================
    JETFORMBUILDER - Labels
   ======================================== */

.form-popup .jet-form-builder__label-text{
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.25;
}
body form legend{
    border-bottom: none;
}
/* ========================================
   BOTÓN SIGUIENTE PÁGINA
   ======================================== */

/* Botón Next Page */
.jet-form-builder__next-page {
  background: #6366f1;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.jet-form-builder__next-page:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.jet-form-builder__next-page:active {
  transform: translateY(0);
}

/* Botón Previous Page (si lo usas) */
.jet-form-builder__prev-page {
  background: transparent;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jet-form-builder__prev-page:hover {
  border-color: #6366f1;
  color: #6366f1;
}

/* Contenedor de botones de navegación */
.jet-form-builder__buttons-wrap {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-start;
}
/* ========================================
   RADIO BUTTONS ESTILO TARJETA VERTICAL
   ======================================== */

/* Reset del contenedor de radios */
.form-popup .jet-form-builder__fields-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

/* Cada opción como tarjeta horizontal */
.form-popup .jet-form-builder__field-wrap.checkradio-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-popup .jet-form-builder__field-wrap.checkradio-wrap:hover {
  border-color: #6366f1;
}

/* Tarjeta seleccionada */
.form-popup .jet-form-builder__field-wrap.checkradio-wrap:has(input:checked) {
  border-color: #6366f1;
  background: #fafaff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* ========================================
   BOTÓN SUBSCRIBE - PAID MEMBER SUBSCRIPTIONS
   ======================================== */

.pms-form-submit {
  background: #6366f1;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none; /* Quita el uppercase si lo tiene */
  letter-spacing: 0;
  width: auto;
  min-width: 160px;
  width: 100%;
}

.pms-form-submit:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pms-form-submit:active,{
  transform: translateY(0);
}
input[name="pms_edit_profile"]{
  width: 100%;
  border-radius: 5px;
}

ul.pms-form-fields-wrapper,
.pms-field-section  {
    list-style: none;
    padding: 0;
    margin: 0;
}

/**
VENTANAS EMERGENTES
**/ 
#cerrar-popup{
    display: block;
    line-height: 1.4;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 25px;
    padding: 0 10px;
    font-weight: bold;
    border: solid 1px #ddd;
    background: #ccc;
    cursor: pointer;
    z-index: 999;
}
#my-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
}
#myTarifa{
    display: none;
    width: 600px;
    z-index: 99999;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;    
    margin: 0 auto;
    position: fixed;
    top: 100px;
    right: 0;
    left: 0; 
    border-radius: 15px;


}
#myTarifa.form-popup{
    animation: smoothScroll 1s forwards;
    display: block!important;
}
@keyframes smoothScroll {
    0% {
        transform: translateY(-40px);
    }
    100% {
        transform: translateY(0px);
    }
}


/* ********************* estilos del blog ********************/
/* ===== ESTILOS GENERALES ===== */
.single-post .entry-content {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* ===== JERARQUÍA DE TÍTULOS ===== */
.single-post .entry-content h1 {
    font-size: 2em;
    color: #1a365d;
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 10px;
    margin: 30px 0 20px 0;
    font-weight: 700;
}

.single-post .entry-content h2 {
    margin: 40px 0 20px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.single-post .entry-content h3 {
    color: #2c3e50;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin: 30px 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.single-post .entry-content h4 {
    color: #2c3e50;
    padding-bottom: 5px;
    margin: 25px 0 15px 0;
    font-size: 1.1em;
    font-weight: 600;
}

/* ===== PÁRRAFOS Y ESPACIADO ===== */
.single-post .entry-content p {
    margin-bottom: 1.2em;
    text-align: justify;
}

.single-post .entry-content p:last-child {
    margin-bottom: 0;
}

/* ===== LISTAS ===== */
.single-post .entry-content ul, 
.single-post .entry-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.single-post .entry-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.single-post .entry-content ul li {
    list-style-type: disc;
}

.single-post .entry-content ol li {
    list-style-type: decimal;
}

/* Listas con iconos */
.single-post .entry-content ul.checklist {
    list-style: none;
    margin-left: 0;
}

.single-post .entry-content ul.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.single-post .entry-content ul.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a7f37;
    font-weight: bold;
    font-size: 1.1em;
}

/* ===== BLOQUES DESTACADOS ===== */
.single-post .entry-content blockquote,
.single-post .wp-block-quote {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #007cba;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-style: normal;
}

.single-post .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Bloques de información */
.single-post .entry-content .info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.single-post .entry-content .warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.single-post .entry-content .success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

/* ===== CÓDIGO Y PRE ===== */
.single-post .entry-content code {
    background-color: #f1f3f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #c7254e;
}

.single-post .entry-content pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

.single-post .entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* ===== TABLAS ===== */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.single-post .entry-content th {
    background: #4a5568;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.single-post .entry-content td {
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.single-post .entry-content tr:nth-child(even) {
    background-color: #f7fafc;
}

.single-post .entry-content tr:hover {
    background-color: #edf2f7;
}

/* ===== IMÁGENES ===== */
.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

.single-post .entry-content .wp-block-image,
.single-post .entry-content figure {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.single-post .entry-content figcaption {
    font-style: italic;
    color: #718096;
    margin-top: 8px;
    font-size: 0.9em;
}

/* ===== ENLACES ===== */
.single-post .entry-content a {
    color: #e95112;
    text-decoration: none;
    border-bottom: 1px dotted #e95112;
    transition: all 0.2s ease;
}

.single-post .entry-content a:hover {
    color: #145a2e;
    border-bottom: 1px solid #145a2e;
}

/* ===== BOTONES ===== */
.single-post .entry-content .button {
    display: inline-block;
    background: #e95112;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 5px;
}

.single-post .entry-content .button:hover {
    background: #145a2e;
    color: white;
    text-decoration: none;
    border-bottom: none;
}

.single-post .entry-content .button-secondary {
    background: #718096;
}

.single-post .entry-content .button-secondary:hover {
    background: #4a5568;
}

/* ===== SEPARADORES ===== */
.single-post .entry-content hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}

/* ===== ELEMENTOS DE FORMULARIO ===== */
.single-post .entry-content input[type="text"],
.single-post .entry-content input[type="email"],
.single-post .entry-content input[type="password"],
.single-post .entry-content textarea,
.single-post .entry-content select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 16px;
    margin: 5px 0 15px 0;
    transition: border 0.3s ease;
}

.single-post .entry-content input[type="text"]:focus,
.single-post .entry-content input[type="email"]:focus,
.single-post .entry-content input[type="password"]:focus,
.single-post .entry-content textarea:focus,
.single-post .entry-content select:focus {
    border-color: #1a7f37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.1);
}

/* ===== BLOQUES DE PASOS ===== */
.single-post .entry-content .step {
    counter-increment: step-counter;
    margin: 25px 0;
    padding-left: 50px;
    position: relative;
}

.single-post .entry-content .step:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #1a7f37;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.single-post .entry-content .steps-container {
    counter-reset: step-counter;
    margin: 30px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .single-post .entry-content {
        padding: 15px;
        font-size: 15px;
    }
    .single-post .entry-content p {
        text-align: left;
    }
    .single-post .entry-content h1 {
        font-size: 1.7em;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.3em;
        padding: 12px 15px;
    }
    
    .single-post .entry-content h3 {
        font-size: 1.2em;
    }
    
    .single-post .entry-content ul, 
    .single-post .entry-content ol {
        margin-left: 20px;
    }
    
    .single-post .entry-content .step {
        padding-left: 40px;
    }
    
    .single-post .entry-content .step:before {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .single-post .entry-content {
        padding: 10px;
        font-size: 14px;
    }
    
   .single-post  .entry-content h1 {
        font-size: 1.5em;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.2em;
        padding: 10px 12px;
    }
}

/* ===== ANIMACIONES SUAVES ===== */
.single-post .entry-content * {
    transition: all 0.2s ease;
}

/* ===== CLASES UTILITARIAS ===== */
.single-post .entry-content .text-center {
    text-align: center;
}

.single-post .entry-content .text-right {
    text-align: right;
}

.single-post .entry-content .text-justify {
    text-align: justify;
}

.single-post .entry-content .bold {
    font-weight: bold;
}

.single-post .entry-content .italic {
    font-style: italic;
}

.single-post .entry-content .highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.single-post .entry-content .divider {
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}
/* ************************  fin estilos del blog **************** */

/*  ************ menú principal ************** */
.dropdown-menu .sub-menu {
    border-radius: 15px;
    padding: 10px;
    border: 1px solid #e1e1e1;
    margin-top: -20px;    
    }

.dropdown-menu .sub-menu:after, 
.dropdown-menu .sub-menu:before {
    bottom: 100%;
    left: 20%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.dropdown-menu .sub-menu:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 10px;
    margin-left: -10px;
}
.dropdown-menu .sub-menu:before {
    border-color: rgba(133, 133, 133, 0);
    border-bottom-color: #e1e1e1;
    border-width: 11px;
    margin-left: -11px;
}
body .dropdown-menu .sub-menu{
    border-color: #ddd;
}
/*  ************ menú principal ************** */


.my-btn > a .text-wrap {
    background: #2f2664;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
}
.my-btn > a .text-wrap:hover {
    opacity: 0.8;
}
#colophon ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

#colophon ul a:hover{
    color: #E95112;
}
#colophon li{
	margin-bottom: 15px;
    line-height: 1.3;
}
#colophon #contacto-wa a{
	color: #fff;
}
.actuacion-datos{
  background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
.actuacion-datos p{
  margin-bottom: 5px;
}

@media (max-width: 1300px) { 

}

@media (max-width: 960px) {	

}
@media (max-width: 768px) {  
      

}

@media (max-width: 650px) {   

}

@media (max-width: 450px) { 

}