/* ===========================
   BUD – estilos globales (archivo bud.css)
   =========================== */

/* Scope opcional */
.bud-theme { --bud-primary:#3498db; --bud-accent:#e74c3c; --bud-text:#2c3e50; --bud-muted:#7f8c8d; }

/* Titulares y textos */
.bud-theme .aviso_titular, .aviso_titular {
  margin: 0 0 .8rem; font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem; font-weight: 600; color: var(--bud-text, #2c3e50);
  border-bottom: 2px solid var(--bud-primary, #3498db); padding-bottom: .5rem;
}
.bud-theme .aviso_subtitular, .aviso_subtitular {
  margin: 1rem 0 .5rem;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #1baaf4;
}
.bud-theme .aviso_lead, .aviso_lead {
  margin: .5rem 0 1rem; font-size: 1.05rem; font-weight: 500; color: var(--bud-muted, #7f8c8d);
  font-style: italic; border-left: 3px solid var(--bud-primary, #3498db); padding-left: .9rem;
}
.bud-theme .aviso_texto, .aviso_texto {
  margin: 0 0 .65rem; font-size: 1rem; line-height: 1.6; color: var(--bud-text, #2c3e50);
}

/* Texto dentro del modal */
.curso-bimodal-root .modal p.aviso_texto {
    color: #40444a !important;
    font-family: 'Poppins';
    margin-top: 2px;
    line-height: 135%;
    margin-bottom: 20px;
    font-size: 18px !important;
    font-weight: 300;
}

/* Listas */
.bud-theme .aviso_lista.bullets, .aviso_lista.bullets { list-style: disc; padding-left: 1.2rem; margin: .6rem 0 .9rem; }
.bud-theme .aviso_lista.numeros, .aviso_lista.numeros { list-style: decimal; padding-left: 1.2rem; margin: .6rem 0 .9rem; }
.bud-theme .aviso_li, .aviso_li { margin-bottom: .4rem; line-height: 1.5; color: var(--bud-text, #2c3e50); }

/* Inline */
.bud-theme .aviso_b, .aviso_b { font-weight: 700; color: var(--bud-text, #2c3e50); }
.bud-theme .aviso_i, .aviso_i { font-style: italic; color: var(--bud-muted, #7f8c8d); }

/* Enlaces generales */
.bud-theme .aviso_link, .aviso_link {
  text-decoration: underline; color: #1baaf4; font-weight: 500; transition: color .15s ease;
}
.bud-theme .aviso_link:hover, .aviso_link:hover { color: #0d8bd9; text-decoration: none; }

/* Enlace PDF */
.bud-theme .aviso_pdf, .aviso_pdf {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    font-weight: 700;
    color: #202223;
    border: 1px solid #1baaf4;
    border-radius: .5rem;
    background: #e9eff8;
    padding: 8px !important;
    margin-top: 5px !important;
}
.bud-theme .aviso_pdf:hover, .aviso_pdf:hover {
  background: #d4e3f2; border-color: #0d8bd9;
}
.bud-theme .aviso_pdf_icon, .aviso_pdf_icon {
  display: inline-block; width: 1.05em; height: 1.05em;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+CjxwYXRoIGZpbGw9IiNFMTFEMjEiIGQ9Ik02IDJoOGw2IDZ2MTRhMiAyIDAgMCAxLTIgMkg2YTIgMiAwIDAgMS0yLTJWNGEyIDIgMCAwIDEgMi0yWiIvPgo8cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTQgMnY2aDZ6Ii8+CjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDE5aDEwdjJIN3pNOCA5aDJjMS42NTcgMCAzIDEuMzQzIDMgM3MtMS4zNDMgMy0zIDNIOFY5em0yIDRjLjU1MiAwIDEtLjQ0OCAxLTFzLS40NDgtMS0xLTFIMTB2MnoiLz4KPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE1IDloMmEyIDIgMCAxMSAwIDRoLTJWOXptMiAzYTEgMSAwIDEwMC0yaC0xdi0yaDF6Ii8+Cjwvc3ZnPg==");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  vertical-align: -0.1em;
  color: transparent; font-style: normal; line-height: 1; text-indent: -9999px; overflow: hidden;
}
.bud-theme .aviso_pdf_texto, .aviso_pdf_texto { font-weight: 700; }

/* Utilidades mínimas */
.bud-theme .sr-only, .sr-only {
  position: absolute; width: 1px; height: 1.05px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===========================
   BUD IMPORTADOR - Estilos del formulario
   =========================== */

/* Botón de envío del formulario */
.bud-imp-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    display: block;
    width: 100%;
    margin-top: 30px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.bud-imp-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.bud-imp-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.bud-imp-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2), 0 4px 15px rgba(52, 152, 219, 0.3);
}