/**
 * VirtualLeagues Roster List Display Styles
 * Light theme with clean, modern design
 */

/* Main container styles */
.vl-roster-container {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
   width: 100%;
   max-width: 100%;
   margin: 0 auto;
   background-color: #ffffff;
   color: #2d3748;
   border-radius: 8px;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
   overflow: hidden;
}

/* Player row styles */
.vl-roster-player {
   display: flex;
   align-items: center;
   padding: 16px 20px;
   border-bottom: 1px solid #e2e8f0;
   transition: background-color 0.2s ease;
   background-color: #ffffff;
}

.vl-roster-player:last-child {
   border-bottom: none;
}

.vl-roster-player:hover {
   background-color: #f7fafc;
}

/* Player number styles (e.g., "1→10") */
.vl-roster-player-number {
   min-width: 60px;
   text-align: center;
   font-size: 14px;
   font-weight: 600;
   color: #4a5568;
   margin-right: 20px;
}

/* Player info wrapper - contains name and action button */
.vl-roster-player-info-wrapper {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

/* Player name section */
.vl-roster-player-name {
   flex: 1;
   display: flex;
   flex-direction: column;
}

.vl-player-gamertag {
   font-weight: 600;
   color: #2d3748;
   font-size: 16px;
   margin-bottom: 4px;
}

.vl-player-id {
   font-size: 13px;
   color: #718096;
}

/* View button section */
.vl-roster-player-actions {
   margin-left: 20px;
}

.vl-roster-view-btn {
   display: inline-block;
   padding: 8px 20px;
   background-color: #384674;
   color: #ffffff;
   text-decoration: none;
   border: none;
   border-radius: 4px;
   font-size: 12px;
   font-weight: 600;
   transition: all 0.2s ease;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.vl-roster-view-btn:hover {
   background-color: #2d3558;
   text-decoration: none;
   transform: translateY(-1px);
   box-shadow: 0 2px 4px rgba(56, 70, 116, 0.2);
}

.vl-roster-view-btn:active {
   transform: translateY(0);
}

/* Empty roster message */
.vl-roster-empty {
   padding: 40px;
   text-align: center;
   background-color: #ffffff;
   color: #718096;
   border-radius: 8px;
   font-style: italic;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
   .vl-roster-player {
      padding: 14px 16px;
   }

   .vl-roster-player-number {
      min-width: 50px;
      font-size: 13px;
      margin-right: 16px;
   }

   .vl-player-gamertag {
      font-size: 15px;
   }

   .vl-player-id {
      font-size: 12px;
   }

   .vl-roster-view-btn {
      font-size: 11px;
      padding: 7px 16px;
   }
}

@media screen and (max-width: 480px) {
   .vl-roster-player {
      flex-wrap: wrap;
      padding: 12px;
   }

   .vl-roster-player-number {
      width: 100%;
      text-align: left;
      margin-right: 0;
      margin-bottom: 8px;
      font-size: 12px;
   }

   .vl-roster-player-info-wrapper {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
   }

   .vl-roster-player-name {
      margin-bottom: 12px;
   }

   .vl-player-gamertag {
      font-size: 14px;
   }

   .vl-player-id {
      font-size: 11px;
   }

   .vl-roster-player-actions {
      margin-left: 0;
      text-align: center;
   }

   .vl-roster-view-btn {
      display: block;
      width: 100%;
      font-size: 11px;
      padding: 10px;
   }
}
