/**
 * HandyBets Marketing Trial Opt-In Form
 */

.hb-trial {
    max-width: 520px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: inherit;
    color: #1a1f2c;
}

.hb-trial__header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.hb-trial__badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 4px 12px;
    background: #c29b3c;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.4;
}

.hb-trial__badge-sports {
    font-weight: 500;
    opacity: 0.9;
    margin-left: 2px;
}

.hb-trial__badge--default {
    background: #6b7280;
}

.hb-trial__heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.2;
    color: #0c1220;
}

.hb-trial__subhead {
    margin: 0;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.5;
}

.hb-trial__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hb-trial__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .hb-trial__row {
        grid-template-columns: 1fr;
    }
    .hb-trial {
        padding: 1.25rem;
        margin: 1rem;
    }
}

.hb-trial__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hb-trial__field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
}

.hb-trial__req {
    color: #e53e3e;
    font-weight: 700;
}

.hb-trial__field input {
    padding: 0.75rem 0.9rem;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1rem;
    background: #ffffff;
    color: #1a1f2c;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hb-trial__field input:focus {
    outline: none;
    border-color: #c29b3c;
    box-shadow: 0 0 0 3px rgba(194, 155, 60, 0.18);
}

.hb-trial__honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hb-trial__consent {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

.hb-trial__submit {
    display: inline-block;
    padding: 0.9rem 1.5rem;
    background: #c29b3c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.05s ease;
}

.hb-trial__submit:hover {
    background: #a8862f;
}

.hb-trial__submit:active {
    transform: translateY(1px);
}

.hb-trial__notice {
    padding: 0.85rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.hb-trial__notice--error {
    background: #fff5f5;
    border: 1px solid #fc8181;
    color: #822727;
}

.hb-trial__notice--info {
    background: #ebf8ff;
    border: 1px solid #63b3ed;
    color: #1a4971;
}

.hb-trial__notice a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.hb-trial__success {
    text-align: center;
    padding: 1rem 0;
}

.hb-trial__success .hb-trial__heading {
    color: #22543d;
}

.hb-trial__thanks {
    color: #2d3748;
    font-size: 1.0625rem;
    line-height: 1.5;
}
