/* Player Price Modal Component */
.player-price-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.player-price-modal--active {
  opacity: 1;
  visibility: visible;
}

.player-price-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.player-price-modal__dialog {
  position: relative;
  background: var(--card-bg, #1a1d29);
  border-radius: 24px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.player-price-modal__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--sportex-blue, #0ea5e9);
}

.player-price-modal__body {
  text-align: center;
  margin-bottom: 2rem;
}

.player-price-modal__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin-bottom: 1.5rem;
}

.player-price-modal__form {
  text-align: left;
  margin-top: 1.5rem;
}

.player-price-modal__form .form-group {
  margin-bottom: 0;
}

.player-price-modal__form .form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary, #ffffff);
  margin-bottom: 0.5rem;
}

.player-price-modal__form .input-group {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  background: var(--input-bg, #0f1117);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease;
}

.player-price-modal__form .input-group:focus-within {
  border-color: var(--sportex-blue, #0ea5e9);
}

.player-price-modal__form .input-group-text {
  background: rgba(14, 165, 233, 0.1);
  color: var(--sportex-blue, #0ea5e9);
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  display: flex;
  align-items: center;
}

.player-price-modal__form .form-control {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary, #ffffff);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  outline: none;
}

.player-price-modal__form .form-control::placeholder {
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
}

.player-price-modal__form .form-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.6));
}

.player-price-modal__form .text-danger {
  color: #ef4444;
}

.player-price-modal__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.player-price-modal__btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.player-price-modal__btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-price-modal__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary, #ffffff);
}

.player-price-modal__btn--primary {
  background: var(--sportex-blue, #0ea5e9);
  color: white;
}

.player-price-modal__btn--primary:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.player-price-modal__btn--primary:active {
  transform: translateY(0);
}



.pending-line-icon-btn--info {
  background: rgba(14, 165, 233, 0.15);
  color: var(--sportex-blue, #0ea5e9);
}

.pending-line-icon-btn--info:hover {
  background: rgba(14, 165, 233, 0.25);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .player-price-modal__dialog {
    padding: 1.5rem;
    max-width: 95%;
  }

  .player-price-modal__icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .player-price-modal__title {
    font-size: 1.25rem;
  }

  .player-price-modal__actions {
    flex-direction: column;
  }

  .player-price-modal__btn {
    width: 100%;
  }
}

/* RTL Support */
[dir="rtl"] .player-price-modal__form .input-group-text {
  border-radius: 0 12px 12px 0;
}

[dir="ltr"] .player-price-modal__form .input-group-text {
  border-radius: 12px 0 0 12px;
}
