/* ==================================================
   AMAZON CHECK ID – FRONTEND UI (CLEAN VERSION)
   ================================================== */

/* ======================
   MAIN WRAPPER
   ====================== */
.aci-wrapper {
    max-width: 720px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    font-family: inherit;
}

/* ======================
   TOP TEXT
   ====================== */
.aci-wrapper .custom-shortcode-above {
    display: block;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* ======================
   INPUT GROUP LAYOUT
   ====================== */
.aci-input-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.aci-row {
    width: 100%;
}

/* ======================
   INPUT LABEL
   ====================== */
.custom-shortcode-input-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* ======================
   AMAZON INPUT
   ====================== */
.aci-row-input .amazon_id {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
}

.aci-row-input .amazon_id:focus {
    outline: none;
    border-color: #2f4f7f;
}

/* ======================
   BUTTON
   ====================== */
.aci-row-button .aci-check-btn {
    width: max-content;
    height: 52px;
    background: #2f4f7f;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s ease;
}

.aci-row-button .aci-check-btn:hover {
    background: #1f3557;
}

/* ======================
   RECAPTCHA
   ====================== */
.aci-row-captcha {
    display: flex;
    justify-content: flex-start;
}

.aci-row-captcha .g-recaptcha {
    transform-origin: left top;
}

/* ======================
   UNDER TEXT
   ====================== */
.aci-wrapper .custom-shortcode-under {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    text-align: left;
}

/* ======================
   ERROR MESSAGES
   ====================== */
.aci-wrapper .custom-shortcode[name="error_message"],
.aci-wrapper .custom-shortcode[name="error_message_for_double_survey"],
.aci-wrapper .custom-shortcode[name="manychat_error_message"] {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #d63638;
}

/* ======================
   FIND ID BUTTON
   ====================== */
.amazon_check_id_redirect_btn {
    margin-top: 15px;
    background: transparent;
    border: 1px solid #2f4f7f;
    color: #2f4f7f;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amazon_check_id_redirect_btn:hover {
    background: #2f4f7f;
    color: #ffffff;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {

    .aci-wrapper {
        padding: 25px;
        margin: 30px 15px;
    }

    .aci-row-captcha {
        justify-content: center;
    }
}
