/* Trigger button (style however you like) */
.seed-btn,
.partner-module-btn {
    background: #ffffff;
    color: #333333;
    border: none;
    border-radius: 999px;
    padding: .2rem;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        color 0.15s ease;
}

.seed-trigger-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: #2f6ea5;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
}

.seed-modal p {
    font-size: .8rem !important;
    line-height: .6rem !important;
    margin-top: 20px !important;
}

.partner-module-btn {
    padding: .3rem !important;
}

/* -----------------------------------------------------------
   OVERLAY (used by BOTH seed module & partner module)
------------------------------------------------------------*/
.seed-modal-overlay,
.seed-modal-overlay-partner {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
}

/* Visible state */
.seed-modal-overlay.is-visible,
.seed-modal-overlay-partner.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* -----------------------------------------------------------
   SEED MODULE (original)
------------------------------------------------------------*/
.seed-modal {
    position: relative;
    /* so close button is positioned inside */
    background: #2f6ea5;
    /* blue panel */
    color: #ffffff;
    border-radius: 10px;
    padding: 2rem .8rem;
    max-width: 720px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Title – always visible */
.seed-modal h2 {
    display: block;
    font-size: 1rem !important;
    margin-bottom: 3px !important;
    margin-top: 20px !important;
    line-height: 15px;
    font-weight: 700;
    color: #ffffff;
    font-size: clamp(.8rem, 3vw, 2.8rem) !important;
}

/* Buttons row */
.seed-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.seed-btn:hover,
.partner-module-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Close button – hidden on desktop by default */
.seed-close-btn,
.partner-module-close {
    /* display: none; */
    position: absolute;
    top: 22px;
    right: 0;
    left: 0;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

@media (min-width: 300px) {

    /* White pill buttons */
    .seed-btn,
    .partner-module-btn {
        padding: 0.9rem 0.8rem !important;
        font-size: 1rem;
    }

    .partner-module-btn {
        margin-bottom: 5px;
    }

    .seed-modal h2 {
        font-size: clamp(2rem, 6vw, 4rem) !important;
        line-height: 5.5vw;
    }

    .seed-modal {
        padding: 3rem 4rem;
    }

    .seed-modal p {
        font-size: 1.2rem !important;
        line-height: 1.3rem !important;
    }

}

/* Simple mobile tweaks */
@media (min-width: 600px) {
    .seed-modal {
        padding: 2rem 1.5rem;
    }

    .seed-modal h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .seed-btn {
        width: 100%;
        max-width: 260px;
    }
}

/* Mobile: show the close button */
@media (min-width: 768px) {

    .seed-close-btn,
    .partner-module-close {
        display: block;
        /* right: auto; */

    }
}

/* Optional: tweak spacing on large screens */
@media (min-width: 900px) {
    .seed-modal {
        padding: 3rem 4rem;
    }

    .seed-modal h2 {
        margin-bottom: 2.5rem;
    }
}