/* ==========================================================================
   Gravity Forms — Sponsorship Cards & Card-Style Choices
   Brittany's Hope
   ========================================================================== */


/* ==========================================================================
   PART 1: Sponsorship Tier Cards
   Applies anywhere the class "sponsor-pricing" is used
   ========================================================================== */

/* Reset list spacing */
.sponsor-pricing .gfield_radio {
    margin: 0;
    padding: 0;
}

/* Remove default list styling */
.sponsor-pricing .gfield_radio>li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide native radios (keep accessible) */
.sponsor-pricing .gfield_radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Card container */
.sponsor-pricing .gfield_radio label {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    padding: 18px;
    cursor: pointer;
    line-height: 1.35;
    background: #ffffff;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

/* Title (Field Label) */
.sponsor-pricing .gfield_label {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 12px;
    text-align: left;
}

/* Description (Benefits) */
.sponsor-pricing .gfield_description {
    margin: 0 0 18px;
    padding: 0;
}

.sponsor-pricing .gfield_description ul {
    margin: 0;
    padding-left: 18px;
}

.sponsor-pricing .gfield_description li {
    margin-bottom: 8px;
}

/* Price pill */
.sponsor-pricing .gfield_radio label .ginput_price {
    margin-top: auto;
    align-self: center;
    text-align: center;
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    font-weight: 800;
    font-size: 1.05rem;
    background: #ffffff;
}

/* Hover */
.sponsor-pricing .gfield_radio label:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

/* Selected */
.sponsor-pricing .gfield_radio input[type="radio"]:checked+label {
    border-color: rgba(0, 0, 0, 0.55);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

/* Mobile */
@media (max-width: 900px) {
    .sponsor-pricing .gfield_radio label {
        padding: 16px;
    }
}


/* ==========================================================================
   PART 2: Card-Style Choices (Radio + Checkbox)
   Applies ONLY to Form ID 105 when field has class "choices"
   ========================================================================== */

/* Grid layout */
#gform_wrapper_105 .choices .gfield_radio,
#gform_wrapper_105 .choices .gfield_checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

/* Remove list styling */
#gform_wrapper_105 .choices .gchoice {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide native inputs (keep accessible) */
#gform_wrapper_105 .choices input[type="radio"],
#gform_wrapper_105 .choices input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Labels styled as cards */
#gform_wrapper_105 .choices .gchoice label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 12px 14px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    user-select: none;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        transform .15s ease;
    white-space: normal;
}

/* Hover */
#gform_wrapper_105 .choices .gchoice label:hover {
    border-color: #9ca3af;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Selected */
#gform_wrapper_105 .choices input:checked+label {
    border-color: #111827;
    background-color: #f9fafb;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* Keyboard focus (accessibility) */
#gform_wrapper_105 .choices input:focus+label {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Mobile */
@media (max-width: 640px) {

    #gform_wrapper_105 .choices .gfield_radio,
    #gform_wrapper_105 .choices .gfield_checkbox {
        grid-template-columns: 1fr;
    }
}