    

/* ============================================
   PICKS PAGE STYLING
   ============================================ */

.is-hidden {
    display: none !important;
}

/* ============================================
   DRIVER FULL NAME
   ============================================ */

.driver-full { 
    grid-column: 1 / span 2; 
    grid-row: 2; 
    font-size: 1.9rem; 
    color: #e0e0e0; 
    font-weight: 300; 
    text-transform: uppercase; 
    display: block !important; 
    margin-top: -10px; 
    margin-left: 5px; 
}

/* ============================================
   DROPDOWN MENU
   ============================================ */

.custom-dropdown {
    position: relative; 
    display: inline-block;
    width: 100%;
    max-width: 280px; 
    margin-bottom: 15px; 
}

.dropdown-selected {
    background-color: #fff; 
    border: 3px solid var(--f1-red); 
    padding: 8px 12px; 
    border-radius: 8px;
    cursor: pointer; 
    display: flex; 
    align-items: center;   
    justify-content: space-between;
    gap: 6px;
}

.dropdown-items {
    display: none; 
    position: absolute; 
    background: #fff; 
    border: 1px solid #ccc; 
    border-radius: 8px;
    margin-top: 2px; 
    width: 100%; 
    max-height: 300px; 
    overflow-y: auto; 
    z-index: 1000;
}

.dropdown-item {
    padding: 6px 12px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 6px;
}

.dropdown-item:hover { 
    background: #f0f0f0; 
}

.dropdown-item img { 
    height: 16px; 
    width: auto; 
    display: block; 
    border-radius: 20px; 
    padding: 2px; 
}

.dropdown-item span.abbr { 
    font-weight: bold; 
    font-family: 'Formula1'; 
    font-size: 0.9rem; 
    width: 40px; 
    display: inline-block; 
}

.dropdown-item.disabled { 
    opacity: 0.4; 
    cursor: not-allowed; 
    filter: grayscale(1); 
}

.dropdown-selected .abbr {
    font-weight: bold;
    font-family: 'Formula1', monospace;
    font-size: 0.9rem;
    width: 40px;
    display: inline-block;
}

.dropdown-selected img {
    border-radius: 50%;
    padding: 2px;
    height: 16px;
    width: auto;
    display: inline-block;
}

.dropdown-selected .driver-logo {
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dropdown-selected .usage,
.dropdown-item .usage {
    font-weight: normal;
    font-size: 0.8rem;
    color: #888;
    margin-left: 4px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 480px) { 
    .driver-full { 
        font-size: 1.1rem !important; 
        margin-top: 5px !important; 
        margin-left: 0 !important; 
        grid-column: 1 / span 2; 
        white-space: nowrap; 
        font-weight: bold; 
    }
}

/* ============================================
   DRAGDROP STYLING
   ============================================ */

#drivers, #teams { 
    list-style: none; 
    padding: 0; 
    width: 85%; 
    font-size: 1.2rem;
}

.item { 
    font-weight: bold; 
    padding: 12px; 
    margin: 6px 0; 
    background: #f2f2f2; 
    border-radius: 6px; 
    cursor: grab; 
    border: 1px solid #ccc; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

#drivers .item:nth-child(-n+5), 
#teams .item:nth-child(-n+5) { 
    background: #000; 
    color: #fff; 
}

.ghost { 
    opacity: 0.4; 
}

#drivers, 
#teams { 
    counter-reset: rank; 
}

#drivers .item, 
#teams .item { 
    position: relative; 
    padding-left: 40px; 
}

#drivers .item:nth-child(-n+5)::before, 
#teams .item:nth-child(-n+5)::before {
    counter-increment: rank; 
    content: counter(rank) "."; 
    position: absolute; 
    left: 10px; 
    top: 50%; 
    transform: translateY(-50%); 
    font-weight: bold; 
    color: #d00;
}

summary { 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1.2rem; 
    margin-bottom: 10px;
    list-style: none; 
    border-bottom: 2px solid var(--f1-red); 
}

summary::before { 
    content: "▶ "; 
    display: inline-block; 
    transition: 0.2s; 
    margin-right: 15px; 
}

details[open] summary::before { 
    transform: rotate(90deg); 
}

.max-header { 
    border-bottom: 2px solid var(--f1-red); 
    width: auto; 
    margin-bottom: 15px; 
    padding-bottom: 5px;
}

.max-header h5 { 
    margin: 0; 
    font-size: 1.2rem; 
    font-weight: bold; 
}

.max-stats-container { 
    display: flex; 
    gap: 20px; 
    margin: 20px 0 30px 0; 
    width: 75%; 
}

.stat-box { 
    background: #15151e; 
    flex: 1; 
    padding: 10px; 
    border-radius: 8px; 
    border-bottom: 4px solid var(--f1-red); 
    text-align: center; 
}

.stat-box input { 
    background: transparent; 
    border: none; 
    color: white; 
    font-size: 3.5rem; 
    font-weight: bold; 
    width: 100%; 
    text-align: center; 
    outline: none; 
    font-family: 'Formula1', sans-serif; 
}

.stat-label { 
    color: #999; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 2px; 
    margin-top: 5px; 
    font-weight: bold; 
}

input::-webkit-outer-spin-button, 
input::-webkit-inner-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

.confirmBox_dragdrop { 
    background: #000; 
    border: 2px solid var(--f1-red); 
    padding: 20px; 
    border-radius: 12px; 
    width: auto; 
    color: #fff; 
    margin: -16px; 
}

#confirmBox ol { 
    list-style: none; 
    counter-reset: preview-rank; 
    padding-left: 0; 
}

#confirmBox li { 
    margin-bottom: 12px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: bold; 
}

#confirmBox li::before { 
    counter-increment: preview-rank; 
    content: counter(preview-rank) "."; 
    color: var(--f1-red); 
    width: 20px; 
}

#pStats b { 
    color: var(--f1-red); 
    font-size: 1.2rem; 
}

#confirmBox h2, 
#confirmBox h4 { 
    color: #fff; 
    text-transform: uppercase; 
}

#confirmBox h4 { 
    border-bottom: 2px solid var(--f1-red); 
    padding-bottom: 5px; 
    margin-bottom: 15px; 
}

#confirmBox li img { 
    height: 16px; 
    width: auto; 
    display: block; 
    border-radius: 20px; 
    padding: 2px; 
}

.preview-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 15px; 
}

.preview-grid h4 { 
    margin: 0 0 10px 0; 
    color: #d00; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
}

.confirm-actions { 
    display: flex; 
    gap: 10px; 
    margin-top: 20px; 
    padding-top: 15px; 
}

.h4max { 
    width: 48%; 
}

.more-link { 
    display: inline-block; 
    margin: 10px 0; 
    color: #000; 
    cursor: pointer; 
    text-decoration: underline; 
}

.more-link:hover { 
    color: var(--f1-red); 
}

.item img { 
    height: 16px; 
    width: auto; 
    display: block; 
    border-radius: 20px; 
    padding: 2px; 
}

@media (max-width: 768px) { 
    .preview-grid { 
        grid-template-columns: 1fr !important; 
        gap: 20px; 
    } 
    .h4max { 
        width: 100%; 
    } 
    .max-stats-container { 
        width: 100%; 
    }
    #drivers, #teams { 
        width: 100%; 
    }
}



