@import "../../../../assets/scss/abstracts/variables";
@import "../../../../assets/scss/abstracts/mixins";

@property --color-membership-info-heading {syntax: "<color>";inherits: true;initial-value: #ffffff;}
@property --color-membership-info-wrapper-container-bg {syntax: "<color>";inherits: true;initial-value: #ffffff;}
@property --color-membership-info-wrapper-yesterday {syntax: "<color>";inherits: true;initial-value: #9198a2;}
@property --color-membership-info-wrapper-body {syntax: "<color>";inherits: true;initial-value: #CCC;}
@property --color-membership-info-wrapper-picks {syntax: "<color>";inherits: true;initial-value: #ffffff;}
@property --color-membership-info-wrapper-picks-bg {syntax: "<color>";inherits: true;initial-value: #0160ac;}
@property --color-membership-info-wrapper-details-bg {syntax: "<color>";inherits: true;initial-value: #021c3f;}
@property --color-membership-info-wrapper-details-a {syntax: "<color>";inherits: true;initial-value: #ffffff;}

.rdg-blocks .rdg-membership-info {

    p {
        margin: 0;
    }

    .mi_section {
        padding-bottom: 32px;
        padding-top: 64px;

        .mi_heading {
            text-align: center;
            padding-top: 32px;
            padding-bottom: 32px;
            color: var(--color-membership-info-heading);
            margin-bottom: 20px;
        }
        .mi_wrapper {
            display: flex;
            column-gap: 16px;
            flex-wrap: wrap;
            justify-content: center;
            row-gap: 64px;
            height: 100%;

            .mi_container {
                border-radius: 8px;
                width: 300px;
                background-color: var(--color-membership-info-wrapper-container-bg);
    
                .mi_header {
                    padding: 0 12px 20px 12px;
    
                    .mi_icon {
                        display: flex;
                        justify-content: center;
                        margin-top: -55px;
                        overflow: hidden;
    
                        img {
                            object-fit: cover;
                            max-width: 100px;
                            max-height: 100px;
                        }
                    }
    
                    .title {
                        text-align: center;
                        margin-top: 10px;
                    }

                    .yesterday_winners {
                        color: var(--color-membership-info-wrapper-yesterday);
                        text-align: center;
                        margin-bottom: 6px;
                    }
                }
    
                .mi_body {
                    padding: 16px 8px;
                    border-top: 1px solid var(--color-membership-info-wrapper-body);
                    border-bottom: 1px solid var(--color-membership-info-wrapper-body);
                    margin: 0 12px;
                    box-sizing: border-box;
                    text-align: center;

                    p:first-child {
                        margin-bottom: 12px;
                    }
                }
    
                .mi_footer {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    padding-top: 16px;
                    padding-bottom: 16px;    
    
                    .mi_picks {
                        text-align: center;
                        padding: 15px 20px;
                        border-radius: 0.6em;
                        background-color: var(--color-membership-info-wrapper-picks-bg);
                        color: var(--color-membership-info-wrapper-picks);
                    }
                }
                
                .group_details {
                    border-bottom-right-radius: 8px;
                    border-bottom-left-radius: 8px;
                    padding: 8px;
                    background-color: var(--color-membership-info-wrapper-details-bg);
                    text-align: center;

                    a {
                        text-decoration: none;
                        color: var(--color-membership-info-wrapper-details-a);
                    }
                }
            }
        }      
    }
}

