.hc-manager-card-form-wrap {
    width: 100%;
    padding: 1.5% 1.25%;
    background: #f3f3f3;
}

.hc-manager-card-check-form {
    width: 100%;
    margin: 0 auto;
    padding: 4% 3.5% 2.2%;
    background: #f3f3f3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 4.5%;
    row-gap: 1.4rem;
    align-items:flex-end;
}

.hc-manager-card-check-form input[type="hidden"] {
    display: none;
}

.hc-manager-card-number-title-container{
    display:flex;
    flex-flow:column wrap;
    align-items:flex-start;
    justify-content: flex-start;
}

.hc-manager-card-number-title{
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 800;
    color: #1f2c3d;
    letter-spacing: -0.02em;
}


.hc-manager-card-number-subtitle{
    font-size: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
    color: #1f2c3d;
    letter-spacing: -0.02em;
}


.hc-manager-card-check-form__label {
    flex: 0 0 22%;
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 700;
    color: #1f2c3d;
    letter-spacing: -0.02em;
}

.hc-manager-card-check-form__required {
    color: #ff2a2a;
}

.hc-manager-card-check-form-input-container{
    display:flex;
    flex-flow:column wrap;
    gap:10px;
    width: 75%;
}

.hc-manager-card-check-form__input,
#hc-manager-card-number {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    height: 4.8rem;
    padding: 15px 2%;
    border: 2px solid #8b8b8b;
    border-radius: 0.9rem;
    background: #fdfdfd;
    font-size: 1.6rem;
    line-height: 1;
    color: #1f2c3d;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin:0;
}

.hc-manager-card-check-form__input::placeholder,
#hc-manager-card-number::placeholder {
    color: #9a9a9a;
    opacity: 1;
}

.hc-manager-card-check-form__input:focus,
#hc-manager-card-number:focus {
    border-color: #c40072;
    box-shadow: 0 0 0 4px rgba(196, 0, 114, 0.12);
}

.hc-manager-card-check-form__submit,
.hc-manager-card-check-form button[type="submit"] {
    flex: 0 0 17%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 4.8rem;
    padding: 0.9rem 1.4rem;
    border: 4px solid #c40072;
    border-radius: 0.9rem;
    background: #fdfdfd;
    color: #3a4a5c;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hc-manager-card-check-form__submit:hover,
.hc-manager-card-check-form__submit:focus,
.hc-manager-card-check-form button[type="submit"]:hover,
.hc-manager-card-check-form button[type="submit"]:focus {
    background: #c40072;
    color: #ffffff;
    transform: translateY(-1px);
}

.hc-manager-card-check-form__help {
    margin-left: auto;
    width: 100%;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
    color: #d10073;
}

.hc-manager-card-check-form__help:hover,
.hc-manager-card-check-form__help:focus {
    text-decoration: underline;
}

.hc-manager-card-check-result {
    width: 100%;
    margin: 0 auto;
    padding: 0 3.5% 2.5%;
    background: #f3f3f3;
}

.hc-manager-card-check-result:empty {
    display: none;
}

.hc-manager-card-check-result .hc-manager-error,
.hc-manager-card-check-result .hc-manager-success,
.hc-manager-card-check-result .woocommerce,
.hc-manager-card-check-result .woocommerce-notices-wrapper {
    margin-top: 0.75rem;
}

@media (max-width: 1200px) {
    .hc-manager-card-check-form {
        padding: 3% 2.5% 1.8%;
    }

    .hc-manager-card-check-form__label,
    .hc-manager-card-check-form__input,
    #hc-manager-card-number,
    .hc-manager-card-check-form__submit,
    .hc-manager-card-check-form button[type="submit"] {
        flex: 0 0 100%;
    }

    .hc-manager-card-check-form__label {
        font-size: 1.75rem;
    }

    .hc-manager-card-check-form__input,
    #hc-manager-card-number,
    .hc-manager-card-check-form__submit,
    .hc-manager-card-check-form button[type="submit"] {
        height: 4.2rem;
        font-size: 1.4rem;
    }

    .hc-manager-card-check-form__submit,
    .hc-manager-card-check-form button[type="submit"] {
        min-height: 4.2rem;
    }

    .hc-manager-card-check-form__help {
        margin-left: 0;
        width: 100%;
        font-size: 1.35rem;
        text-align: left;
    }

    .hc-manager-card-check-result {
        padding: 0 2.5% 2%;
    }
}

@media (max-width: 768px) {
    .hc-manager-card-form-wrap {
        padding: 1rem 0.75rem;
    }

    .hc-manager-card-check-form {
        padding: 1.5rem 1rem 1rem;
    }

    .hc-manager-card-check-form__label {
        font-size: 1.45rem;
    }

    .hc-manager-card-check-form__input,
    #hc-manager-card-number,
    .hc-manager-card-check-form__submit,
    .hc-manager-card-check-form button[type="submit"] {
        height: 3.6rem;
        font-size: 1.15rem;
        border-radius: 0.7rem;
    }

    .hc-manager-card-check-form__help {
        font-size: 1.15rem;
    }

    .hc-manager-card-check-result {
        padding: 0 1rem 1rem;
    }
}