/* Fix for double checkbox issue - ASP.NET CheckBox controls with Bootstrap */

/* Target the span wrapper that ASP.NET creates around the checkbox */
.form-check-input {
    position: static !important;
    margin-left: 0 !important;
}

/* Remove the default ASP.NET checkbox styling and use browser native */
input[type="checkbox"].form-check-input {
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    width: 1em !important;
    height: 1em !important;
 margin-top: 0.25em;
    margin-right: 0.5em;
    vertical-align: top;
    border: 1px solid rgba(0, 0, 0, 0.25);
    cursor: pointer;
    background-color: transparent;
    float: none !important;
}

/* Ensure only one checkbox is displayed - override Bootstrap */
.form-check-input[type="checkbox"] {
    width: 1em;
    height: 1em;
  margin-top: 0.25em;
    vertical-align: top;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* Override Bootstrap's custom checkbox when checked */
.form-check-input[type="checkbox"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Remove any pseudo-elements that might create extra boxes */
.form-check .form-check-input::before,
.form-check .form-check-input::after {
    display: none !important;
}

/* Game card hover effects */
.game-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #2b3035;
}

::-webkit-scrollbar-thumb {
    background: #4e5357;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a5f63;
}
