/* Página /anunciate (Views/Advertising/Index.cshtml). Usa también landing-states.css (pasos y cifras) y forms.css
   (globos de validación). */

.ml-adv__size {
    display: block;
    margin-top: 12px;
    color: var(--ml-gold-dark);
    font-size: 13px;
    font-weight: 600;
}

.ml-adv__who {
    justify-content: center;
}

.ml-adv__who span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--ml-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ml-ink);
    font-size: 15px;
}

.ml-adv__form {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid var(--ml-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(31, 29, 28, .08);
}

.ml-adv__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
}

.ml-adv__form .form-group {
    margin-bottom: 18px;
}

.ml-adv__form label {
    display: block;
    margin-bottom: 6px;
    color: var(--ml-ink);
    font-size: 14px;
    font-weight: 600;
}

.ml-adv__form .form-control {
    width: 100%;
    height: auto;
    padding: 10px 14px;
    border: 1px solid var(--ml-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ml-ink);
    font-size: 15px;
    line-height: 1.4;
}

.ml-adv__form .form-control:focus {
    border-color: var(--ml-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 161, 69, .18);
}

.ml-adv__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}

.ml-adv__actions .ml-btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

.ml-adv__result {
    margin: 0;
    color: #2e7d32;
    font-weight: 600;
}

.ml-adv__result.is-error {
    color: #b3261e;
}

@media (max-width: 768px) {
    .ml-adv__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ml-adv__form {
        padding: 20px 16px;
    }

    /* El captcha mide 304 px fijos: en pantallas muy angostas se escala para no causar scroll horizontal. */
    #advertisingCaptcha {
        transform-origin: left top;
    }
}

@media (max-width: 360px) {
    #advertisingCaptcha {
        transform: scale(.9);
    }
}
