/* Game Settings Modal Styles */
.game-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.game-settings-modal .modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.game-settings-modal .modal-header h2 {
  margin: 0 0 10px 0;
  color: #333;
}

.game-settings-modal .modal-header p {
  margin: 0;
  color: #666;
}

.game-settings-modal #settings-content {
  width: 100%;
  box-sizing: border-box;
}

.game-settings-modal .modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.game-settings-modal .modal-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.game-settings-modal .apply-btn {
  background-color: #4CAF50;
  color: white;
}

.game-settings-modal .apply-btn:hover {
  background-color: #45a049;
}

.game-settings-modal .cancel-btn {
  background-color: #f44336;
  color: white;
}

.game-settings-modal .cancel-btn:hover {
  background-color: #da190b;
}

/* Game Options Menu Styles */
.game-options-menu .option-section {
  margin-bottom: 20px;
}

.game-options-menu .option-section h3 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 1.1em;
}

.game-options-menu .options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.game-options-menu .option-card {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  background: white;
  min-width: 120px;
  text-align: center;
  transition: all 0.2s;
}

.game-options-menu .option-card.premium {
  border-color: #FFD700;
}

.game-options-menu .option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-options-menu .option-card[data-selected="true"] {
  border-color: #4CAF50 !important;
  background-color: #f0f8f0 !important;
}

.game-options-menu .option-card .option-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.game-options-menu .option-card .option-difficulty {
  font-size: 12px;
  color: #666;
}

.game-options-menu .premium-crown {
  color: #FFD700;
}

.premium-legend {
    background: #fffbf0;
    border: 1px solid #FFD700;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 12px;
    color: #B8860B;
}

.premium-legend .legend-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.premium-legend .premium-crown {
    color: #FFD700;
}

.error-message {
    color: red;
}

/* Settings Confirmation Dialog Styles */
.settings-confirmation-dialog,
.settings-info-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.settings-confirmation-dialog .dialog-overlay,
.settings-info-dialog .dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.settings-confirmation-dialog .dialog-content,
.settings-info-dialog .dialog-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.settings-confirmation-dialog .dialog-header,
.settings-info-dialog .dialog-header {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid #eee;
}

.settings-confirmation-dialog .dialog-header h3,
.settings-info-dialog .dialog-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.settings-confirmation-dialog .dialog-body,
.settings-info-dialog .dialog-body {
    padding: 20px;
    line-height: 1.5;
    color: #666;
}

.settings-confirmation-dialog .dialog-buttons,
.settings-info-dialog .dialog-buttons {
    padding: 10px 20px 20px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.settings-confirmation-dialog .confirm-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.settings-confirmation-dialog .confirm-btn:hover {
    background: #45a049;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.settings-confirmation-dialog .cancel-btn,
.settings-info-dialog .ok-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.settings-confirmation-dialog .cancel-btn:hover,
.settings-info-dialog .ok-btn:hover {
    background: #5a6268;
}

   