.modal-slide._inner-scroll.custom-registration-modal {
    width: auto;
    left: 0;
    overflow-y: visible;
    max-width: 100%;

    .modal-inner-wrap {
        max-width: 320px;
        /* small popup */
        width: 90%;
        min-height: auto;
        margin: auto;
        border-radius: 10px;
        background: #fff;
        padding: 0;
        position: relative;
        top: 20%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        border-radius: 5px;

        @media (max-width: 767px) {
            margin: auto;
            max-width: 300px;
        }

        .modal-content,
        .modal-header,
        .modal-footer {
            padding: 0 1rem 1rem;
        }

        .modal-header {
            padding: 10px 15px !important;
            background: #e6f4fa;
            border-bottom: 1px solid #b9e1f2;

            .action-close {
                color: #285cb2;
                right: -27px;
                opacity: 1;

                &::before {
                    top: 19px;
                    left: 12px;
                    border-top: 3px solid;
                }

                &::after {
                    top: 12px;
                    left: 19px;
                    border-left: 3px solid;
                }
            }

            .modal-title {
                font-size: 18px;
                font-weight: bold;
                color: #285cb2;
                margin: 0;
                text-transform: uppercase;
                text-align: center;
                border: 0;
            }
        }

        .modal-content {
            .field {
                margin-top: 10px;

                input {
                    width: 100%;
                    padding: 8px 10px;
                    font-size: 14px;
                    border: 1px solid #b9e1f2;
                    border-radius: 5px;
                    box-sizing: border-box;

                    &::placeholder {
                        color: #285cb2;
                        /* Dark gray for better readability */
                        opacity: 1;
                        /* Ensure full visibility in some browsers */
                    }

                    &::-webkit-input-placeholder {
                        color: #285cb2;
                    }

                    &:-ms-input-placeholder {
                        color: #285cb2;
                    }

                    &:-ms-input-placeholder {
                        color: #285cb2;
                    }
                }

                &.captcha {
                    width: 100%;

                    .g-recaptcha {
                        transform: scale(0.95);
                        transform-origin: 0 0;

                        @media (max-width: 767px) {
                            transform: scale(0.75);
                        }
                    }
                }
            }

            .actions-toolbar {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 10px;
                margin-top: 15px;

                .action.primary {
                    flex: 1;
                    background-color: #1da1d6;
                    color: #fff;
                    font-size: 15px;
                    border-radius: 6px;
                    border: none;
                    text-align: center;
                    cursor: pointer;

                    @media (max-width: 767px) {
                        line-height: 24px;
                    }

                    &:hover {
                        background-color: #1589b8;
                    }
                }
            }

            .switch-link {
                flex-shrink: 0;
                font-size: 13px;
                white-space: nowrap;
                text-align: center;

                a {
                    color: #285cb2;
                    text-decoration: underline;
                    font-weight: 500;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }
    }
}

.page.page.messages {
    text-align: center;

    .message-success {
        display: inline-block;
        background: #e7f5ff;
        color: #0056b3;
        font-weight: 500;
        text-transform: uppercase;

        *:first-child:before {
            color: #0056b3;
            top: 24px;
        }
    }
}

#insiders-club {
    right: 10px;
    position: fixed;
    top: 90px;
    z-index: 99;

    @media (max-width: 767px) {
        position: relative;
        right: 0px;
        top: 0px;
    }

    .insiders-club {
        background: url('../images/insider_club.png') no-repeat left top transparent;
        background-size: contain;
        width: 320px;
        height: 207px;
        border-radius: 20px;
        max-width: initial;
        color: #fff;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        margin: 2rem auto;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
        padding: 1rem;

        &:hover {
            background: url('../images/insider_club_back.png') no-repeat left top;
            background-size: contain;

            @media (max-width: 767px) {
                background: #0056b3;
            }
        }

        @media (max-width: 767px) {
            position: relative;
            left: 0;
            border-radius: 0;
            margin: 0;
            top: 0;
            margin-bottom: -40px;

            background: #0056b3;
            width: auto;
            height: auto;
            border-radius: 0;
            max-width: initial;
        }

        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        }

        h2 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            font-weight: 400;
            display: none;

            @media (max-width: 767px) {
                display: block;
                font-size: 15px;
            }

            span {
                color: #ffdd00;
            }
        }

        .tagline {
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .details {
            font-size: 0.95rem;
            opacity: 0.9;
            margin-bottom: 0.5rem;
            font-weight: 600;

            @media (max-width: 1200px) {
                display: none;
            }
        }

        .join-btn {
            background: #ffdd00;
            color: #04106f;
            font-size: 12px;
            border: none;
            padding: 0.8rem 1.5rem;
            font-size: 1rem;
            border-radius: 30px;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s ease;
            margin: 10px auto 0;
            display: none;

            @media (max-width: 767px) {
                display: block;
            }

            &:hover {
                background: #ffd000;
            }
        }
    }

    #close-club {
        border: none;
        cursor: pointer;
        line-height: 1;
        position: absolute;
        font-size: 25px;
        color: #ff0000;
        background: #fff;
        height: 25px;
        width: 25px;
        padding: 0;
        border-radius: 10px;
        top: 17px;
        right: -5px;
        z-index: 999;

        @media (max-width: 767px) {
            top: 0;
            right: 0;
        }
    }
}