/* =========================================================
   Rippled Pro Coming Soon Modal
========================================================= */

.rppd-pro-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rppd-pro-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


/* Overlay
--------------------------------------------------------- */

.rppd-pro-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 13, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* Dialog
--------------------------------------------------------- */

.rppd-pro-modal__dialog {
    position: relative;
    width: min(100%, 620px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.22);

    transform: translateY(24px) scale(0.97);
    opacity: 0;

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}

.rppd-pro-modal.is-open .rppd-pro-modal__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* Content
--------------------------------------------------------- */

.rppd-pro-modal__content {
    padding: 48px;
}


/* Close Button
--------------------------------------------------------- */

.rppd-pro-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;

    background: #ffffff;
    color: #161a18;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.rppd-pro-modal__close:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
    transform: rotate(90deg);
}


/* Badge
--------------------------------------------------------- */

.rppd-pro-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;
    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(40, 140, 90, 0.08);
    color: #16a34a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rppd-pro-modal__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(40, 140, 90, 0.08);
}


/* Title
--------------------------------------------------------- */

.rppd-pro-modal__title {
    max-width: 500px;
    margin: 0 0 14px;

    color: #111613;

    font-size: clamp(30px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}


/* Description
--------------------------------------------------------- */

.rppd-pro-modal__description {
    max-width: 510px;
    margin: 0;

    color: #68716c;

    font-size: 16px;
    line-height: 1.7;
}


/* Features
--------------------------------------------------------- */

.rppd-pro-modal__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;

    margin-top: 30px;
    padding-top: 28px;

    border-top: 1px solid #e9ecea;
}

.rppd-pro-modal__feature {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #252b28;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.rppd-pro-modal__feature-icon {
    flex: 0 0 auto;

    width: 26px;
    height: 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(40, 140, 90, 0.1);
    color: #16a34a;
}


/* Notify Box
--------------------------------------------------------- */

.rppd-pro-modal__notify {
    margin-top: 30px;
    padding: 24px;

    border-radius: 16px;

    background: #f5f7f6;
    border: 1px solid #e6eae8;
}

.rppd-pro-modal__notify-title {
    margin: 0 0 6px;

    color: #151a17;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.rppd-pro-modal__notify-text {
    margin: 0 0 18px;

    color: #68716c;

    font-size: 14px;
    line-height: 1.6;
}


/* Form
--------------------------------------------------------- */

.rppd-pro-modal__form {
    display: flex;
    gap: 10px;
}

.rppd-pro-modal__input-wrap {
    position: relative;
    flex: 1;
}

.rppd-pro-modal__input-icon {
    position: absolute;
    top: 50%;
    left: 15px;

    color: #7a827e;

    transform: translateY(-50%);
    pointer-events: none;
}

.rppd-pro-modal__form input {
    width: 100%;
    height: 50px;

    padding: 0 15px 0 44px;

    border: 1px solid #dfe4e1;
    border-radius: 10px;

    outline: none;

    background: #ffffff;
    color: #161a18;

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.rppd-pro-modal__form input::placeholder {
    color: #929995;
}

.rppd-pro-modal__form input:focus {
    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(40, 140, 90, 0.1);
}


/* Submit
--------------------------------------------------------- */

.rppd-pro-modal__submit {
    flex: 0 0 auto;

    min-width: 130px;
    height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 18px;

    border: 0;
    border-radius: 10px;

    background: #161a18;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.rppd-pro-modal__submit:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.rppd-pro-modal__submit-icon {
    transition: transform 0.25s ease;
}

.rppd-pro-modal__submit:hover .rppd-pro-modal__submit-icon {
    transform: translateX(3px);
}


/* Success
--------------------------------------------------------- */

.rppd-pro-modal__success {
    display: none;
    align-items: center;
    gap: 9px;

    margin-top: 15px;

    color: #2563eb;

    font-size: 13px;
    line-height: 1.5;
}

.rppd-pro-modal__success.is-visible {
    display: flex;
}

.rppd-pro-modal__success-icon {
    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(40, 140, 90, 0.1);
}


/* Privacy
--------------------------------------------------------- */

.rppd-pro-modal__privacy {
    margin: 14px 0 0;

    color: #929995;

    font-size: 11px;
    line-height: 1.5;
}


/* Body Lock
--------------------------------------------------------- */

body.rppd-pro-modal-open {
    overflow: hidden;
}


/* Responsive
--------------------------------------------------------- */

@media (max-width: 600px) {

    .rppd-pro-modal {
        padding: 14px;
    }

    .rppd-pro-modal__dialog {
        border-radius: 18px;
        max-height: calc(100vh - 28px);
    }

    .rppd-pro-modal__content {
        padding: 38px 22px 24px;
    }

    .rppd-pro-modal__close {
        top: 12px;
        right: 12px;

        width: 36px;
        height: 36px;
    }

    .rppd-pro-modal__title {
        font-size: 30px;
    }

    .rppd-pro-modal__description {
        font-size: 14px;
    }

    .rppd-pro-modal__features {
        grid-template-columns: 1fr;
        gap: 10px;

        margin-top: 24px;
        padding-top: 22px;
    }

    .rppd-pro-modal__notify {
        margin-top: 24px;
        padding: 18px;
    }

    .rppd-pro-modal__form {
        flex-direction: column;
    }

    .rppd-pro-modal__submit {
        width: 100%;
    }
}


/* Reduced Motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .rppd-pro-modal,
    .rppd-pro-modal__dialog,
    .rppd-pro-modal__close,
    .rppd-pro-modal__submit,
    .rppd-pro-modal__submit-icon {
        transition: none;
    }
}


/* =========================================
   Rippled Pro - Fluent Forms
   ========================================= */

.rppd-pro-modal__form {
    width: 100%;
    margin: 0;
}

/* Fluent Forms wrapper */
.rppd-pro-modal__form .fluentform,
.rppd-pro-modal__form .fluentform_wrapper {
    width: 100%;
    margin: 0 !important;
}

/* Form */
.rppd-pro-modal__form form.ff-form {
    width: 100%;
    margin: 0 !important;
}

/* Remove default Fluent Forms spacing */
.rppd-pro-modal__form .ff-el-group {
    margin-bottom: 0 !important;
}

/* Columns */
.rppd-pro-modal__form .ff-t-container {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;
}

.rppd-pro-modal__form .ff-t-cell {
    padding: 0 !important;
    margin: 0 !important;
}

.rppd-pro-modal__form .ff-t-column-1 {
    flex: 1 1 auto !important;
    width: auto !important;
}

.rppd-pro-modal__form .ff-t-column-2 {
    flex: 0 0 125px !important;
    width: 125px !important;
}

/* =========================================
   Email Input
   ========================================= */

.rppd-pro-modal__form input[type="email"] {
    width: 100% !important;
    height: 52px !important;

    padding: 0 16px !important;

    border: 1px solid #16a34a !important;
    border-radius: 10px !important;

    background: #ffffff !important;
    color: #1f2937 !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 52px !important;

    outline: none !important;
    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease !important;
}

/* Placeholder */
.rppd-pro-modal__form input[type="email"]::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* Focus */
.rppd-pro-modal__form input[type="email"]:focus {
    border-color: #16a34a !important;
    box-shadow: 2px 2px 6px rgba(34,197,94,.27)!important;
}

/* =========================================
   Submit Button
   ========================================= */

.rppd-pro-modal__form .ff_submit_btn_wrapper {
    margin: 0 !important;
    padding: 0 !important;

    width: 100% !important;

    display: flex !important;
    align-items: stretch !important;
}

/* Button */
.rppd-pro-modal__form button.ff-btn-submit {
    width: 100% !important;
    min-width: 0 !important;

    height: 52px !important;

    padding: 0 18px !important;
    border-radius: 10px !important;
    background: linear-gradient(
            135deg,
            #16a34a,
            #22c55e
        );
    border: none!important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease !important;
}

/* Hover */
.rppd-pro-modal__form button.ff-btn-submit:hover {
    background: linear-gradient(
            135deg,
            #16a34a,
            #22c55e
        );
    border: none!important;
    color: #ffffff !important;
    box-shadow: 0 6px 10px rgba(34,197,94,.27)!important;

    transform: translateY(-1px);
}

/* Active */
.rppd-pro-modal__form button.ff-btn-submit:active {
    transform: translateY(0);
}

/* =========================================
   Fluent Form Error
   ========================================= */

.rppd-pro-modal__form .ff-errors-in-stack {
    margin: 8px 0 0 !important;
}

.rppd-pro-modal__form .ff-el-is-error input[type="email"] {
    border-color: #ef4444 !important;
    box-shadow: none !important;
}

.rppd-pro-modal__form .error {
    font-size: 12px !important;
    color: #ef4444 !important;
    margin-top: 5px !important;
}

/* =========================================
   Remove Fluent Default Styles
   ========================================= */

.rppd-pro-modal__form fieldset {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.rppd-pro-modal__form .ff-el-input--content {
    margin: 0 !important;
}

.rppd-pro-modal__form .ff-el-form-control {
    margin: 0 !important;
}

/* Remove loading opacity */
.rppd-pro-modal__form .ff-form-loading {
    opacity: 1;
}

/* =========================================
   Mobile
   ========================================= */

@media (max-width: 575px) {

    .rppd-pro-modal__form .ff-t-container {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .rppd-pro-modal__form .ff-t-column-1,
    .rppd-pro-modal__form .ff-t-column-2 {
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .rppd-pro-modal__form input[type="email"],
    .rppd-pro-modal__form button.ff-btn-submit {
        height: 50px !important;
    }
}




