/* ============================================================
 * MyAnnita — Creator Registration Wizard v2  ·  /registro-influencers/
 * DS v2.0 · fondo #191919, inputs cream #FEF7E7, CTA lima #DAFF02.
 * Mismo visual que brand-wizard-v2.css. Scopeado a .creator-wizard-v2
 * (clase en el <section>). NO afecta login ni otras páginas. Session 5.
 * ============================================================ */

.creator-wizard-v2.fr-sign-in-hero,
section.creator-wizard-v2.fr-sign-in-hero {
    background-color: #191919 !important;
    color: #FEF7E7;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.creator-wizard-v2 .msf,
.creator-wizard-v2 .msf.card,
.creator-wizard-v2 .form-card,
.creator-wizard-v2 .fr-sign-content {
    background: transparent !important;
    box-shadow: none !important;
}

/* Tipografía */
.creator-wizard-v2 .fs-title,
.creator-wizard-v2 .multistep-title,
.creator-wizard-v2 h2 {
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-weight: 900 !important;
    color: #FEF7E7 !important;
}

.creator-wizard-v2 .fs-title span {
    color: #DAFF02 !important;
}

.creator-wizard-v2 .fs-description,
.creator-wizard-v2 .multistep-description,
.creator-wizard-v2 p,
.creator-wizard-v2 label {
    color: rgba(254, 247, 231, 0.80) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Progressbar */
.creator-wizard-v2 #progressbar {
    display: flex;
    /* gap: 8px; */
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

/* .creator-wizard-v2 #progressbar li { flex: 1; height: 4px; border-radius: 2px; background-color: rgba(254, 247, 231, 0.10); }
 .creator-wizard-v2 #progressbar li.active, .creator-wizard-v2 #progressbar li.completed { background-color: #DAFF02; } */

/* INPUTS / TEXTAREA / SELECT — cream */
.creator-wizard-v2 input[type="text"],
.creator-wizard-v2 input[type="email"],
.creator-wizard-v2 input[type="password"],
.creator-wizard-v2 input[type="number"],
.creator-wizard-v2 input[type="tel"],
.creator-wizard-v2 input[type="date"],
.creator-wizard-v2 input.datetimepicker,
.creator-wizard-v2 textarea,
.creator-wizard-v2 select,
.creator-wizard-v2 .form-control {
    background-color: #FEF7E7 !important;
    color: #191919 !important;
    border: 1px solid rgba(25, 25, 25, 0.15) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none !important;
}

.creator-wizard-v2 textarea {
    min-height: 100px !important;
}

.creator-wizard-v2 input::placeholder,
.creator-wizard-v2 textarea::placeholder {
    color: rgba(25, 25, 25, 0.36) !important;
    opacity: 1;
}

.creator-wizard-v2 input:focus,
.creator-wizard-v2 textarea:focus,
.creator-wizard-v2 select:focus,
.creator-wizard-v2 .form-control:focus {
    border-color: #DAFF02 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(218, 255, 2, 0.15) !important;
}

.creator-wizard-v2 select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23191919' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

/* CTA primario lima (Avanzar / Registrarme) */
.creator-wizard-v2 .btn-theme-secondary,
.creator-wizard-v2 input[type="button"].btn-theme-secondary,
.creator-wizard-v2 input[type="submit"].btn-theme-secondary,
.creator-wizard-v2 .action-button {
    background-color: #DAFF02 !important;
    background-image: none !important;
    color: #191919 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 24px !important;
}

/* Botón Atrás ghost */
.creator-wizard-v2 .btn-theme,
.creator-wizard-v2 a.btn-theme,
.creator-wizard-v2 input[type="button"].btn-theme {
    background-color: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    color: rgba(254, 247, 231, 0.70) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 24px !important;
    font-weight: 600 !important;
}

/* Checkboxes custom cream/lima (Pretty Checkbox o nativo) */
.creator-wizard-v2 .pretty .state label:before {
    border: 2px solid rgba(254, 247, 231, 0.20) !important;
    background: transparent !important;
    border-radius: 5px !important;
}

.creator-wizard-v2 .pretty input:checked~.state label:after,
.creator-wizard-v2 .pretty input:checked~.state.p-warning label:after {
    background-color: #DAFF02 !important;
}

.creator-wizard-v2 .pretty.p-icon .state .icon {
    color: #191919 !important;
}

.creator-wizard-v2 .sr-style {
    color: rgba(254, 247, 231, 0.80) !important;
}

.creator-wizard-v2 .sr-style a {
    color: #DAFF02 !important;
    text-decoration: underline !important;
}

/* Upload de foto */
.creator-wizard-v2 input[type="file"] {
    display: none !important;
}

.creator-wizard-v2 .file-upload-label,
.creator-wizard-v2 .upload-btn,
.creator-wizard-v2 .message-note-file {
    color: rgba(254, 247, 231, 0.65) !important;
}

/* Responsive (evita zoom iOS) */
@media (max-width: 767px) {

    .creator-wizard-v2 input[type="text"],
    .creator-wizard-v2 input[type="email"],
    .creator-wizard-v2 input[type="password"],
    .creator-wizard-v2 textarea,
    .creator-wizard-v2 select {
        font-size: 16px !important;
    }
}

/* ============================================================
 * PR-CREADOR · paso 2 · tabs IG/TikTok = MISMO lenguaje que el
 * wizard de campaña paso 2 (seleccionada cream+borde lima+check,
 * no-seleccionada mute). Hoy theme.css las pinta #F9F9F9 (inactiva,
 * texto cream → ilegible) y la activa drift coral/lima #DAFF02.
 * Ganamos con 2 IDs (#msform #pills-tab) + !important.
 * ============================================================ */
.creator-wizard-v2 #msform #pills-tab .nav-link {
    background-color: rgba(254, 247, 231, 0.07) !important;
    color: rgba(254, 247, 231, 0.60) !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    position: relative !important;
    transition: border-color .15s ease, background-color .15s ease;
}

.creator-wizard-v2 #msform #pills-tab .nav-link.active {
    background-color: #FEF7E7 !important;
    color: #191919 !important;
    border-color: #DAFF02 !important;
}

.creator-wizard-v2 #msform #pills-tab .nav-link.active::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #DAFF02;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191919' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
}

/* ============================================================
 * SELECT2 OVERRIDES
 * ============================================================ */
.creator-wizard-v2 .select2-container--default .select2-selection--multiple {
    background-color: #FEF7E7 !important;
    border: 1px solid rgba(25, 25, 25, 0.15) !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    min-height: 52px;
}

.creator-wizard-v2 .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #DAFF02 !important;
    box-shadow: 0 0 0 3px rgba(218, 255, 2, 0.15) !important;
}

.creator-wizard-v2 .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #DAFF02;
    border: 1px solid #cce500;
    border-radius: 8px;
    color: #191919;
    padding: 4px 8px;
    margin-top: 4px;
}

.creator-wizard-v2 .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #191919;
    margin-right: 6px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.creator-wizard-v2 .select2-search__field {
    color: #191919 !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}

.creator-wizard-v2 .select2-search__field::placeholder {
    color: rgba(25, 25, 25, 0.36) !important;
}

/* ============================================================
 * WHATSAPP / PHONE
 * ============================================================ */
.creator-wizard-v2 #countrySelect {
    background-color: #FEF7E7 !important;
    color: #191919 !important;
    border: 1px solid rgba(25, 25, 25, 0.15) !important;
    border-radius: 8px 0 0 8px !important;
    width: 30%;
    min-width: 130px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23191919' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
}

.creator-wizard-v2 #countrySelect option {
    background: #FEF7E7;
    color: #191919;
}

.creator-wizard-v2 #phone {
    border-radius: 0 8px 8px 0 !important;
    width: 100%;
}

.creator-wizard-v2 .mobile-country {
    display: flex !important;
    /* gap: 15px; */
    align-items: center;
}

/* ============================================================
 * FOTO/LOGO
 * ============================================================ */
.creator-wizard-v2 .profile-image-field {
    display: block !important;
}

.creator-wizard-v2 .mya-photo-copy {
    color: rgba(254, 247, 231, 0.70) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    margin: 0 0 12px !important;
}

.creator-wizard-v2 .mya-photo-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: #FEF7E7;
    border: 1px solid rgba(25, 25, 25, 0.12);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    margin: 0;
    transition: border-color 0.15s ease;
}

.creator-wizard-v2 .mya-photo-tile:hover {
    border-color: rgba(25, 25, 25, 0.28);
}

.creator-wizard-v2 .mya-photo-avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px dashed rgba(25, 25, 25, 0.20);
    display: grid;
    place-items: center;
    color: #191919;
}

.creator-wizard-v2 .mya-photo-avatar svg {
    width: 20px;
    height: 20px;
}

.creator-wizard-v2 .mya-photo-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.creator-wizard-v2 .mya-photo-info .title {
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-weight: 700;
    font-size: 14px;
    color: #191919 !important;
}

.creator-wizard-v2 .mya-photo-info .sub {
    font-size: 11px;
    color: rgba(25, 25, 25, 0.55) !important;
}

.creator-wizard-v2 .mya-photo-status {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #DAFF02;
    color: #191919;
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    display: grid;
    place-items: center;
}

.creator-wizard-v2 .mya-photo-tile.is-filled {
    border-color: #DAFF02;
}

.creator-wizard-v2 .mya-photo-tile.is-filled .mya-photo-status {
    background: #22C55E;
    color: #FEF7E7;
}

.creator-wizard-v2 #uploadAvatar {
    display: none !important;
}

/* ---- Toggle mostrar/ocultar contraseña (paso 3) ---- */
.creator-wizard-v2 .mya-pass-wrap {
    position: relative;
    width: 100%;
}

.creator-wizard-v2 .mya-pass-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 6px 2px 0;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(254, 247, 231, 0.70);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.creator-wizard-v2 .mya-pass-toggle:hover {
    color: #DAFF02;
}