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

@property --rdg-single-top-handicappers-column-bg {syntax: "<color>";inherits: true;initial-value: #FFFFFF}
@property --rdg-single-top-handicappers-column-header {syntax: "<color>";inherits: true;initial-value: #FFFFFF}
@property --rdg-single-top-handicappers-column-header-bg {syntax: "<color>";inherits: true;initial-value: #0160ac}
@property --rdg-single-top-handicappers-picks-title {syntax: "<color>";inherits: true;initial-value: #111111}
@property --rdg-single-top-handicappers-picks-subtitle {syntax: "<color>";inherits: true;initial-value: #3a96e0}
@property --rdg-single-top-handicappers-picks-total {syntax: "<color>";inherits: true;initial-value: #111111}
@property --rdg-single-top-handicappers-picks-picks {syntax: "<color>";inherits: true;initial-value: #00bc00}
@property --rdg-single-top-handicappers-picks-picks-score {syntax: "<color>";inherits: true;initial-value: #00bc00}
@property --rdg-single-top-handicappers-available-border {syntax: "<color>";inherits: true;initial-value: #F1F1F1}
@property --rdg-single-top-handicappers-available-span-text {syntax: "<color>";inherits: true;initial-value: #FFFFFF}
@property --rdg-single-top-handicappers-available-span-bg {syntax: "<color>";inherits: true;initial-value: #0160ac}
@property --rdg-single-top-handicappers-footer {syntax: "<color>";inherits: true;initial-value: #FFFFFF}
@property --rdg-single-top-handicappers-footer-bg {syntax: "<color>";inherits: true;initial-value: #0160ac}
@property --rdg-single-top-handicappers-footer-a {syntax: "<color>";inherits: true;initial-value: #FFFFFF}
@property --rdg-single-top-handicappers-footer-hover {syntax: "<color>";inherits: true;initial-value: #3a96e0}

.rdg-blocks .rdg-single-top-handicappers {
    .preview-thumbs {
        background-image: url('../images/rdg-single-top-handicappers-template-preview.JPG');
    }

    .container.content {
        width: 100%;
        display: flex;
        flex-direction: column;


        .columns {
            .column {
                display: flex;
                width: 25rem;
                height: fit-content;
                border-radius: 0.8rem;
                flex-direction: column;
                background-color: var(--rdg-single-top-handicappers-column-bg);
    
                @media (max-width: 450px) {
                    & {
                        width: 18.75rem;
                        min-width: initial;
                    }
                }

                .column-header {
                    width: 100%;
                    display: flex;
                    color: var(--rdg-single-top-handicappers-column-header);
                    padding: .3rem .6rem .4rem .6rem;
                    border-top-left-radius: .8rem;
                    border-top-right-radius: .8rem;
                    background-color: var(--rdg-single-top-handicappers-column-header-bg);
                    justify-content: center;
                }

                .picks {
                    .pick {
                        .content {
                            .center-header {
                                display: flex;
                                justify-content: center;
                                .pick-header {
                                    display: flex;
                                    padding: 1rem;
                                    min-height: 5rem;
                    
                                    @media (max-width: 400px) {
                                        & {
                                            flex-direction: column;
                                        }
                                    }
                    
                                    .header-avatar {
                                        width: 18%;
                                        display: flex;
                                        min-width: 4.2rem;
                                        align-items: flex-start;
                                        justify-content: flex-start;
                    
                                        @media (max-width: 400px) {
                                            & {
                                                width: 100%;
                                                justify-content: center;
                                                padding-bottom: .8rem;
                                            }
                                        }
                                        
                                        img {
                                            max-width: 60px;
                                            max-height: 60px;
                    
                                            @media (max-width: 400px) {
                                                & {
                                                    max-width: 80px;
                                                    max-height: 80px;
                                                }
                                            }
                                        }
                                    }
                    
                                    .header-content {
                                        width: 82%;
                                        display: flex;
                                        flex-direction: column;
                    
                                        @media (max-width: 400px) {
                                            & {
                                                width: 100%;
                                                text-align: center;
                                            }
                                        }
                    
                                        .title {
                                            display: initial;
                                            text-align: left;
                                            color: var(--rdg-single-top-handicappers-picks-title);
                    
                                            @media (max-width: 400px) {
                                                & {
                                                    width: 100%;
                                                    text-align: center;
                                                }
                                            }
                                        }
                                        
                                        .sub-title {
                                            color: var(--rdg-single-top-handicappers-picks-subtitle);
                                        }
                    
                                        .total {
                                            color: var(--rdg-single-top-handicappers-picks-total);
                    
                                            .picks {
                                                color: var(--rdg-single-top-handicappers-picks-picks);
                                            }
                                        }
                                        .score {
                                            color: var(--rdg-single-top-handicappers-picks-picks-score);
                                        }
                                    }
                                }
                            }
            
                            .picks-available {
                                display: flex;
                                justify-content: center;
                                padding: 0 1rem 1rem 1rem;
                                border-bottom: 1px solid var(--rdg-single-top-handicappers-available-border);
                                
                                span {
                                    padding: .5rem 1.8rem;
                                    border-radius: .5rem;
                                    color: var(--rdg-single-top-handicappers-available-span-text);
                                    background-color: var(--rdg-single-top-handicappers-available-span-bg);
                                }
                            }
                        }
                    }
                }
    
                .pick-footer {
                    width: 100%;
                    display: flex;
                    color: var(--rdg-single-top-handicappers-footer);
                    padding: .3rem .6rem .4rem .6rem;
                    border-bottom-left-radius: .8rem;
                    border-bottom-right-radius: .8rem;
                    background-color: var(--rdg-single-top-handicappers-footer-bg);
                    justify-content: center;
    
                    a {
                        color: var(--rdg-single-top-handicappers-footer-a);

                        &:hover {
                            color: var(--rdg-single-top-handicappers-footer-hover);
                        }
                    }
                }
            }
        }
    }
}
