/* Mapeo de artistas: mismo lenguaje visual que Nervio Submissions
   (tipografía heredada del sitio, bordes #c4c4c4, radio 4px, botón negro). */

.nvm-form {
    max-width: 700px;
    margin: 2rem auto;
    font-family: inherit;
    line-height: 1.5;
}

/* Secciones */
.nvm-section {
    margin: 2rem 0 1.1rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #e3e3e3;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-transform: none !important;
}
.nvm-body > .nvm-section:first-child { margin-top: 0; }

/* Rejilla compacta */
.nvm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4%;
}
.nvm-field {
    margin-bottom: 1.1rem;
    width: 100%;
    box-sizing: border-box;
}
.nvm-wide { flex: 0 0 100%; }
.nvm-half { flex: 0 0 48%; }

@media (max-width: 600px) {
    .nvm-half { flex: 0 0 100%; }
}

/* Etiquetas */
.nvm-field label,
.nvm-fieldset legend {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: inherit;
    text-transform: none !important;
}
.nvm-form em { font-style: normal; opacity: 0.55; }

/* Campos: más bajos y compactos */
.nvm-field input[type="text"],
.nvm-field input[type="email"],
.nvm-field select,
.nvm-field textarea {
    width: 100%;
    box-sizing: border-box;
    height: 2.6rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #fff;
    font-family: inherit;
    line-height: 1.4;
    transition: border-color 0.2s ease;
    text-transform: none !important;
}
.nvm-field textarea {
    height: auto;
    min-height: 0;
    padding: 0.6rem 0.8rem;
    resize: vertical;
}
.nvm-field select { appearance: auto; cursor: pointer; }
.nvm-field input::placeholder { color: #9a9a9a; }

.nvm-field input:focus,
.nvm-field select:focus,
.nvm-field textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

.nvm-hint {
    display: block;
    font-size: 0.82rem;
    color: #666;
    margin-top: 0.35rem;
    font-style: italic;
}

/* Grupos de opciones (chips rectangulares, como los botones del sitio) */
.nvm-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.nvm-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.nvm-chip {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0.4rem 0.8rem;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    background: #fff;
    font-weight: 400 !important;
    font-size: 0.88rem !important;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    text-transform: none !important;
}
.nvm-chip:hover { border-color: #000; }
.nvm-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.nvm-chip:has(input:checked) { background: #000; border-color: #000; color: #fff; }
.nvm-chip:has(input:focus-visible) { box-shadow: 0 0 0 2px rgba(0,0,0,0.25); }

.nvm-otra-wrap { display: none; margin-top: 0.6rem; max-width: 300px; }

/* Bloque opcional: summary con aspecto de botón secundario */
.nvm-more { margin: 0.3rem 0 0; }
.nvm-more summary {
    display: inline-block;
    list-style: none;
    background: #fff;
    border: 1px solid #bbb;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.nvm-more summary::-webkit-details-marker { display: none; }
.nvm-more summary:hover { border-color: #000; background: #f5f5f5; }
.nvm-more[open] summary { margin-bottom: 1.2rem; }

/* Subida de imágenes: caja punteada como en Nervio */
.nvm-uploader {
    border: 2px dashed #ccc;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    background: #fafafa;
    transition: border-color 0.2s;
}
.nvm-uploader:hover { border-color: #999; }
.nvm-field .nvm-uploader input[type="file"] {
    padding: 0;
    font-size: 0.9rem;
    border: none;
    background: transparent;
}

/* Privacidad y consentimientos */
.nvm-visibilidad { margin-bottom: 0.8rem; }
.nvm-radio,
.nvm-check {
    display: flex !important;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    line-height: 1.45;
    text-transform: none !important;
    cursor: pointer;
    margin-bottom: 0.65rem !important;
}
.nvm-radio input,
.nvm-check input {
    width: auto;
    min-width: 17px;
    height: 17px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    cursor: pointer;
}
.nvm-field-check { margin-top: 0.6rem; margin-bottom: 1.5rem; }

/* Honeypot */
.nvm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Botón */
.nvm-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.9rem 2.6rem;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 4px;
    transition: opacity 0.2s ease;
    text-transform: none !important;
}
.nvm-btn:hover { opacity: 0.85; }
.nvm-btn:disabled { opacity: 0.5; cursor: wait; }

/* Mensajes */
.nvm-mensaje,
.nvm-gracias {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    display: none;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    text-transform: none !important;
}
.nvm-mensaje.nvm-error { background: #ffebee; color: #b71c1c; border-left: 4px solid #c62828; }
.nvm-gracias { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #2e7d32; }
