/* ================================================================== */
/*  Hope City Tickets — Front-end form styles                          */
/* ================================================================== */

#hct-form-wrap {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-family: 'Outfit', sans-serif;
    background: #fff;
    border-radius: 15px;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ---------- Two-column row ---------- */

.hct-row {
    display: flex;
    gap: 1rem;
}

.hct-row > .hct-field {
    flex: 1;
}

/* ---------- Fields ---------- */

.hct-field {
    margin-bottom: 1.15rem;
}

.hct-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
    font-family: 'Outfit', sans-serif;
}

.hct-field input[type="text"],
.hct-field input[type="email"],
.hct-field input[type="number"],
.hct-field select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    border: 1px solid #bbb;
    border-radius: 8px;
    box-sizing: border-box;
    background: #fafafa;
    color: #222;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.hct-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 12px;
    padding-right: 2.2rem;
}

.hct-field input:focus,
.hct-field select:focus {
    outline: none;
    border-color: #EA0003;
    box-shadow: 0 0 0 2px rgba(234, 0, 3, 0.15);
}

/* Validation error state */
.hct-field input.hct-input-error,
.hct-field select.hct-input-error {
    border-color: #d9534f;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.15);
}

.hct-req {
    color: #EA0003;
}

/* ---------- Contribution prefix ---------- */

.hct-input-prefix {
    position: relative;
}

.hct-input-prefix span {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #555;
    font-weight: 600;
    pointer-events: none;
}

.hct-input-prefix input {
    padding-left: 1.6rem;
}

/* ---------- Total display ---------- */

.hct-total-line {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
}

.hct-total-line strong {
    color: #111;
}

/* ---------- Submit button ---------- */

.hct-field--submit {
    margin-top: 1.5rem;
}

#hct-submit-btn {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    background-color: #EA0003;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
}

#hct-submit-btn:hover {
    background-color: #c80002;
}

#hct-submit-btn:active {
    transform: scale(0.98);
}

#hct-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ---------- Notices ---------- */

.hct-notice {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.93rem;
    line-height: 1.5;
    font-family: 'Outfit', sans-serif;
}

.hct-notice--error {
    background-color: #fce4e4;
    border: 1px solid #d9534f;
    color: #a94442;
}

.hct-notice--error ul {
    margin: 0;
    padding: 0 0 0 1.2rem;
    list-style: disc;
}

.hct-notice--error ul li {
    margin-bottom: 0.15rem;
}

.hct-notice--info {
    background-color: #e8f4fd;
    border: 1px solid #0073aa;
    color: #0073aa;
}

/* ---------- Embedded Checkout container ---------- */

#hct-checkout-container {
    min-height: 400px;
}

/* ---------- Responsive ---------- */

@media (max-width: 480px) {
    #hct-form-wrap {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .hct-row {
        flex-direction: column;
        gap: 0;
    }
}
