/* draft-assistant */
div#draft-assistant {
    div#picks {
        div.team {
            display: inline-block;
            border: 1px solid #fff;
            height: 50px;
            padding: 8px 12px;
            font-size: 12px;
            background-color: #f2f2f2;
            color: black;
            border-radius: 10px;
        }
        div.team.active {
            background-color: #1C8E3D;
            color: white;
        }
    }

    div#rosters {
        min-width: 200px;
        div.teams {
            select {
                border: 1px solid #ccc;
                padding: 4px;
                margin-bottom: 8px;
                width: 100%;
            }
        }
    }
    div#picks div.team div.drafted span.pill {
        display: inline-block;
        min-width: 30px;
        text-align: center;
        color: black;
    }
    div#rosters table.roster td:first-child {
        text-align: center;
        padding: 5px 0;
        border-right: 10px solid white;
        width: 40px;
    }
    div#rosters table.roster td:first-child span {
        border-radius: 10px;
        display: block;
        min-width: 10px;
    }

    div#recommendations {
        div#recommendations-positions {
            span {
                color: #1C8E3D;
                cursor: pointer;
                padding: 4px 8px;
                border-radius: 10px;
                font-size: 14px;
            }
            span.active {
                color: white;
                background-color: #1C8E3D;
            }
        }

        div#recommendations-list {
            display: flex;
            flex-direction: column;
            background-color: #eee;
            padding-bottom: 5px;
            border-radius: 10px;
            position: relative;
            div.recommendation {
                display: flex;
                border: 1px solid #ccc;
                border-radius: 10px;
                margin: 5px 5px 0 5px;
                background-color: white;
                div.info {
                    padding: 5px 10px;
                    display: flex;
                    flex-direction: column;
                    div.name {
                        font-size: 15px;
                        font-weight: bold;
                        color: #444;
                    }
                    div.summary {
                        display: table;
                    }
                    div.labels {
                        font-weight: bold;
                        text-decoration: underline;
                    }
                    div.labels, div.stats, div.proj {
                        display: table-row;
                        margin-top: auto;
                        font-size: 14px;
                        span {
                            display: table-cell;
                            padding: 0 5px;
                        }
                        span:not(:first-child) {
                            text-align: center;
                        }
                        span.label {
                            font-weight: bold;
                            color: #444;
                        }
                        span.divider {
                            color: #ccc;
                        }
                    }
                }
                div.updates {
                    padding: 5px 20px;
                }
                div.updates div.injury {
                    font-size: 14px;
                }
                div.updates div.injury span.red-circle {
                    display: inline-block;
                    background-color: red;
                    height: 10px;
                    width: 10px;
                    border-radius: 50%;
                    margin-right: 7px;
                }
                div.updates div.news {
                    font-size: 14px;
                    text-decoration: underline;
                    text-decoration-style: dotted;
                    text-underline-offset: 2px;
                    text-decoration-color: green;
                    cursor: pointer;
                }
            }
            div.recommendation.picked {
                img {
                    filter: grayscale(1);
                    opacity: 0.5;
                }
                div.info {
                    div.name {
                        color: #999;
                    }
                    div.labels, div.stats, div.proj {
                        span {
                            color: #999;
                        }
                    }
                }
            }
        }
        div#recommendations-list div.recommendation div.info div.name span {
            padding: 0 5px;
            font-weight: normal;
            font-size: 13px;
            vertical-align: text-top;
            min-width: 30px;
            display: inline-block;
            text-align: center;
        }

        div#recommendations-list div#news-popup {
            position: absolute;
            width: 100%;
            height: auto;
            border: 2px solid #ccc;
            border-radius: 6px;
            background-color: white;
        }
        div#recommendations-list div#news-popup h5 {
            color: green;
            padding: 0 20px;
        }
        div#recommendations-list div#news-popup p.closer {
            padding: 5px 20px;
            margin: 0;
        }
        div#recommendations-list div#news-popup p.closer span {
            color: green;
            font-size: 13px;
            cursor: pointer;
        }
        div#recommendations-list div#news-popup p.content {
            padding: 5px 20px 20px 20px;
            width: 100%;
            height: 100%;
            margin: 0;
        }
    }
}

.pill {
    border-radius: 10px;
    min-width: 10px;
}
.pill.qb {
  background-color: #F2A29D;
}
.pill.rb {
  background-color: #B8CAEA;
}
.pill.wr {
  background-color: #9DF2A7;
}
.pill.te {
  background-color: #F2E09D;
}
.pill.flex, .pill.wrt {
  background-image: linear-gradient(90deg, #B8CAEA 33.33%, #9DF2A7 33.33%, #9DF2A7 66.66%, #F2E09D 66.66%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.pill.k, .pill.pk {
  background-color: #E99DF2;
}
.pill.def, .pill.dst {
  background-color: #CDBE70;
}
