/* ---------- CONTENEDOR PRINCIPAL ---------- */
#cartel-form .claim-widget {
    max-width: 100%;
    margin: 0;
    padding: 24px;
    border-radius: 0 0 16px 16px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* ---------- TITULOS ---------- */
#cartel-form .claim-widget h2 {
    font-size: 1.5rem;
    margin: 0 0 4px;
    font-weight: 700;
}

#cartel-form .claim-widget p.description {
    margin: 20px 0;
    font-size: 0.95rem;
    color: #555;
}
#cartel-form .green-words {
    color: #22890A !important;
}

#cartel-form .claim-section-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}
#cartel-form .tags {
    display: flex;
    gap: 12px;
    margin: 10px 0 0 0;
    justify-content: start;
    flex-wrap: wrap;
}

#cartel-form .claim-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f1f3f5;
    padding: 10px 20px; 
    border-radius: 25px;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #4a4a4a;
}

#cartel-form .claim-tag img {
    width: 22px !important;
    height: 22px !important;
}
#cartel-form .claim-note-green {
    font-weight: bold;
    font-size: 0.86rem;
}
#cartel-form .claim-note{
    margin: 10px 0 !important;
}
.hero-step1,
.hero-step2 {
    display: flex;
}
.hero-step2 {
    display: none;
}



/* ---------- GRID ---------- */
#cartel-form .claim-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
    column-gap: 25px;
    margin-bottom: 25px;
}

#cartel-form .claim-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
}
#cartel-form .full-row {
    grid-column: 1 / -1;
}

#cartel-form .claim-field label {
    font-weight: 500;
    color: #333;
    margin-top: 10px;
    align-items: center;
}

/* ---------- INPUTS ---------- */
#cartel-form .claim-input,
#cartel-form .claim-select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d4d4d4;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    background: #fafafa;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#cartel-form .claim-input:focus,
#cartel-form .claim-select:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 1px #11182722;
    background: #ffffff;
}

/* ---------- BOTONES ---------- */
#cartel-form .claim-actions {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cartel-form .claim-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    padding: 15px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: #041C35;
    color: #ffffff;
    transition: background 0.15s ease;
}

#cartel-form .claim-btn:not(:disabled):hover {
    background: #22890A;
}

#cartel-form .claim-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* ---------- MENSAJES ---------- */
#cartel-form .claim-message {
    margin-top: 12px;
    font-size: 0.9rem;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
}

#cartel-form .claim-message-info {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

#cartel-form .claim-message-success {
    background: #ECFDF5;
    color: #047857;
    border-color: #bbf7d0;
}

#cartel-form .claim-message-error {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

#cartel-form .claim-hidden {
    display: none !important;
}
#cartel-form #claim-step2-message:empty {
    display: none;
}

/* ---------- BOTONES PASTILLA ---------- */
#cartel-form .toggle-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

#cartel-form .toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    border-radius: 999px;
    border: 1px solid #041C35;
    background: #ffffff;
    color: #041C35;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
     white-space: nowrap;
    min-width: 60px;
    flex: 0 0 auto;
    box-sizing: border-box;
}

#cartel-form .toggle-btn.active,
#cartel-form .toggle-btn:not(.active):hover {
    background: #22890A;
    border-color: #22890A;
    color: #ffffff;
}

#cartel-form .toggle-btn input[type="radio"] {
    display: none !important;
}

/* ---------- CHECKBOXES ---------- */
#cartel-form .claim-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: #374151;
}

#cartel-form .claim-link-modal {
    color: #1d4ed8;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- TABS ---------- */
#cartel-form .claim-tabs {
    display: flex;
    width: 100%;
}

#cartel-form .claim-tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-weight: 600;
    background: #E5E7EB;
    color: #041C35;
    cursor: pointer;
    border-bottom: 2px solid #ccc;
}

#cartel-form .claim-tab:first-child {
    border-top-left-radius: 10px;
}

#cartel-form .claim-tab:last-child {
    border-top-right-radius: 10px;
}

#cartel-form .claim-tab.active {
    background-color: #041C35;
    color: white;
    border-bottom: none;
}

#cartel-form .claim-tab.disabled {
    background: #f0f0f0;
    color: #a0a0a0;
    pointer-events: none;
}

/* ---------- CAJA VERDE PASO 2 ---------- */
#cartel-form .claim-summary-box {
    padding: 16px;
    border-radius: 10px;
    background: #ECFDF5;
    border: 1px solid #bbf7d0;
    color: #065f46;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
#cartel-form .claim-amount-highlight{
    font-weight: bold;
    font-size: 1.4rem;
}

/* ---- POPUP ---- */
#cartel-form .claim-modal-overlay {
    position: fixed !important;
    inset: 0;
    background: rgba(0, 16, 32, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}
#cartel-form .claim-modal-overlay.active {
    display: flex;
    margin: 0;
    max-width: 100%;
}
#cartel-form .claim-modal {
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}
#cartel-form .claim-modal-header {
    background: #041C35;
    color: #fff;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
}
#cartel-form .claim-modal-close-x {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
}
#cartel-form .claim-modal-close-x:hover {
    color: #22890A;
}
#cartel-form .claim-modal-body {
    padding: 18px 24px;
    overflow-y: auto;
    max-height: calc(80vh - 90px);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ---------- CONFIRMACIÓN DE ENVIO ---------- */
#cartel-form .final-success-box {
    margin-top: 25px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #ECFDF5;
    border: 1px solid #bbf7d0;
    color: #065f46;
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 0.95rem;
}

#cartel-form .final-success-box img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

#cartel-form .final-success-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.3rem;
}

#cartel-form .final-success-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
    #cartel-form .claim-grid {
        grid-template-columns: 1fr;
    }

    #cartel-form .claim-widget {
        padding: 20px 15px;
    }
    #cartel-form .claim-note-green{
        font-size: 1rem;
    }
}