/* Copyright 2024 CuqqaCoin. All rights reserved. Unauthorized use, modification, or distribution is prohibited. */

/* Main player option styling */
.player-option {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    height: auto; /* Remove stretching */
    max-width: 100%; /* Prevent it from stretching horizontally */
    display: flex; /* Flexbox for better alignment */
    flex-direction: column; /* Stack the content vertically */
    justify-content: flex-start; /* Align at the top */
}

/* PC Layout (2x4 grid) */
@media (min-width: 1820px) {
    .row {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 items per row */
        margin: 0 auto; /* Center the grid */
    }

    .player-option {
        height: auto; /* Let the height adjust based on content */
        margin-bottom: 0; /* No extra margin needed */
        width: 100%; /* Make it flexible horizontally */
    }
}


/* Phone Layout (<768px) */
@media (max-width: 768px) {
    .row {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
        gap: 15px; /* Space between items */
        margin: 0 auto; /* Center the grid */
    }

    .player-option {
        height: auto; /* Let the height adjust based on content */
        margin-bottom: 0; /* No extra margin needed */
        width: 100%; /* Flexible width */
    }
}
  
  /* Header styling */
  .player-option h3 {
    font-family: Arial, sans-serif;
    color: #333;
    font-size: 0.8em;
    margin-bottom: 8px;
  }
  
  /* Label styling */
  .player-option label {
    font-weight: bold;
    font-size: 0.8em;
    color: #555;
    margin-bottom: 4px;
    display: block;
  }
  
  /* Input group styling */
  .input-group {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* Text input styling */
  .player-option .form-control {
    padding: 6px;
    flex-grow: 1;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
  }
  
  /* Color picker styling */
  .ms-colorpicker {
    width: 30px;
    height: 30px;
    background-color: #ff0000;
    border-radius: 4px;
    cursor: pointer;
    border: none;
  }
  
  #colorPickerContainer1 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 260px;
}

#hexInput1 {

    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

#colorPickerContainer2 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 260px;
}

#hexInput2 {

    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

#colorPickerContainer3 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 260px;
}

#hexInput3 {

    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

#colorPickerContainer4 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 260px;
}

#hexInput4 {

    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

#colorPickerContainer5 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 385px;
}

#hexInput5 {

    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

#colorPickerContainer6 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 385px;
}

#hexInput6 {

    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

#colorPickerContainer7 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 385px;
}

#hexInput7 {

    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}

#colorPickerContainer8 {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    padding: 10px;
    top: 385px;
}

#hexInput8 {
    
    margin-top: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.8em;
}
  
/* CSS */
