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

.rdg-blocks .rdg-single-top-handicappers {

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


        .columns {
            // gap: 2rem;
            // display: flex;
            // flex-wrap: wrap;
            // justify-content: center;
            
            .column {
                display: flex;
                width: 25rem;
                height: fit-content;
                // max-height: 32rem;
                border-radius: 0.8rem;
                flex-direction: column;
                background-color: $color-white;
    
                @media (max-width: 450px) {
                    & {
                        width: 18.75rem;
                        min-width: initial;
                    }
                }

                .column-header {
                    width: 100%;
                    display: flex;
                    font-size: 1rem;
                    font-weight: 600;
                    color: var(--color-white);
                    padding: .3rem .6rem .4rem .6rem;
                    border-top-left-radius: .8rem;
                    border-top-right-radius: .8rem;
                    background-color: var(--color-primary-dark-light);
                    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(--color-columns-picks-title);
                                            font-weight: bold;
                                            font-size: 1rem;
                    
                                            @media (max-width: 400px) {
                                                & {
                                                    width: 100%;
                                                    text-align: center;
                                                }
                                            }
                                        }
                                        
                                        .sub-title {
                                            color: var(--color-columns-picks-sub-title);
                                            font-weight: bold;
                                            text-transform: uppercase;
                                            font-size: 1rem;
                                        }
                    
                                        .total {
                                            color: var(--color-columns-picks-total);
                                            font-weight: bold;
                                            text-transform: uppercase;
                                            font-size: 0.875rem;
                    
                                            .picks {
                                                color: var(--color-columns-picks-picks);
                                                font-weight: bold;
                                                text-transform: uppercase;
                                                font-size: 0.875rem;
                                            }
                                        }
                                    }
                                }
                            }
            
                            .picks-available {
                                display: flex;
                                justify-content: center;
                                padding: 0 1rem 1rem 1rem;
                                border-bottom: 1px solid var(--color-gray);
                                font-size: 0.875rem;
                                
                                span {
                                    padding: .5rem 1.8rem;
                                    border-radius: .5rem;
                                    color: var(--color-columns-picks-picks-available-text);
                                    background-color: var(--color-columns-picks-picks-available);
                                    font-weight: bold;
                                    text-transform: uppercase;
                                }
                            }
                        }
                    }
                }
    
                .pick-footer {
                    width: 100%;
                    display: flex;
                    font-size: 1rem;
                    font-weight: 600;
                    color: var(--color-white);
                    padding: .3rem .6rem .4rem .6rem;
                    border-bottom-left-radius: .8rem;
                    border-bottom-right-radius: .8rem;
                    background-color: var(--color-primary-dark-light);
                    justify-content: center;
    
                    a {
                        text-decoration: none;
                        color: var(--color-white);

                        &:hover {
                            color: var(--color-primary);
                        }
                    }
                }
            }
        }
    }
}
