:root{
    --ocre:#c6a75e;
    /* --vino:#6b0f1a; */
    /* --gris:#6b7280; */
    /* --line:#e5e7eb; */
    /* --bg:#f9fafb; */
    /* --verde:#059669; */
}


/* ---- ANIMACIONES ---- */
.fade-slide {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn .6s ease-out forwards;
}
@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- TARJETA PRINCIPAL ---- */
.panel-wrapper {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}


/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .panel-wrapper {
        padding: 1.5rem;
    }
}

/* ---- LABELS ---- */
label.form-label.fw-bold {
    color: #333;
    font-size: 0.92rem;
}

/* ---- INPUTS ---- */
.form-control,
.form-select {
    height: 46px;
    border-radius: 12px !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59,130,246,0.15);
}

/* Dropdown custom de giros: altura fija con scroll, nombres completos con wrap */
.giro-dropdown-trigger {
    cursor: pointer;
    background-color: #fff;
    height: auto !important;
    min-height: 46px;
    padding: 0.5rem 0.75rem;
    align-items: center;
}
.giro-dropdown-trigger:hover {
    border-color: #86b7fe;
}
.giro-dropdown-label {
    white-space: normal;
    word-wrap: break-word;
    flex: 1;
    min-width: 0;
}
.giro-dropdown-list {
    z-index: 1050;
    max-height: 12rem;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 0.375rem;
    border: 1px solid rgba(0,0,0,.175);
    background: #fff;
    width: 100%;
    max-width: 100%;
}
.giro-dropdown-item {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    text-align: left;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.06);
    background: #fff;
    font-size: 0.9375rem;
    line-height: 1.35;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.giro-dropdown-item:last-child {
    border-bottom: none;
}
.giro-dropdown-item:hover {
    background-color: #f8f9fa;
}
.giro-dropdown-item:focus {
    background-color: #e9ecef;
    outline: none;
}

/* Lista de giros (botones como radio): mismo estilo que resultados de uso específico */
#giro_opciones {
    max-height: 16rem;
    overflow-y: auto;
}
#giro_opciones .giro-opcion {
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
}

.input-pill {
    padding-left: 45px !important;
    border-radius: 50px !important;
    height: 48px;
}


/* Solo inputs con ícono */
.input-icon .form-control,
.input-icon .form-select {
    padding-left: 45px;
}

/* Íconos dentro de inputs */
.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #6b7280;
}



/* ---- BOTONES ---- */
.btn-pill {
    border-radius: 50px !important;
    padding: 10px 24px  !important;
}
.btn-fw-high {
    font-weight: 600  !important;
}


/* ---- AVISO SMS ---- */
.sms-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f9fafb;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,.05);
}


.sms-box i {
    color: #6366f1;
}

/* Invalid feedback spacing */
.invalid-feedback {
    margin-top: 4px;
    font-size: 0.85rem;
}



/* ---- TEXTOS DE VALIDADO ---- */
#datos_generales p[readonly] {
    background: #f8f9fa;
    padding: 11px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}




/* Responsive mejorado */
@media (max-width: 768px) {
    .left-panel {
        padding: 2rem !important;
        text-align: center;
    }
    .left-panel img {
        margin: 0 auto;
    }
    .vertical-divider {
        display: none;
    }
}



/* Step indicator */
.step-header {
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.step-header span {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #6a0b28;
    border-radius: 2px;
}

/* ---- REGLAS DE CONTRASEÑA---- */
.rule-valid i { color: #28a745; }
.rule-invalid i { color: #ccc; }


/* División vertical */
.div-divider {
    border-right: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
    .div-divider {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}



/* JAVIER */

.text-ocre{
    color:var(--ocre);
}


.btn-outline-ocre{
    display:inline-block;
    border:1px solid var(--ocre);
    color:var(--ocre);
    padding:10px 16px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    margin-left:10px;
}


.tag-required{
    color:var(--bs-primary);
    background:rgba(107,15,26,.08);
    border-color:rgba(107,15,26,.25);
}

.tag-conditional{
    color:var(--ocre);
    background:rgba(198,167,94,.14);
    border-color:rgba(198,167,94,.35);
}

.tag-informativo{
  color:var(--bs-gray);
  background:#f3f4f6;
  border-color:#e5e7eb;
}

.bg-ocre{
    background:rgba(198,167,94,.14);
    border-color:rgba(198,167,94,.35);
}

.badge-ocre{
    font-size:12px;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(198,167,94,.15);
    color:var(--ocre);
    font-weight:600;
    margin-left:8px;
    border:1px solid rgba(198,167,94,.35);
}

.tag-jav{
    font-size:11.5px;
    padding:4px 10px;
    border-radius:999px;
    font-weight:700;
    letter-spacing:.01em;
    border:1px solid transparent;
}