/* 포인트 정보 모달 스타일 */

/* 모달 컨테이너 */
.point-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.point-modal-content {
  position: relative;
  width: 90%;
  max-width: 360px;
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: pointModalSlideIn 0.3s ease;
}

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

/* 닫기 버튼 */
.point-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s;
}

.point-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

/* 타이틀 */
.point-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 24px 0;
}

/* 포인트 표시 */
.point-modal-balance {
  background: linear-gradient(135deg, #FFF5E6 0%, #FFE4CC 100%);
  border-radius: 16px;
  padding: 32px 24px;
  margin-bottom: 24px;
}

.point-value {
  font-size: 36px;
  font-weight: 700;
  color: #FF9500;
  letter-spacing: -1px;
}

.point-unit {
  font-size: 24px;
  font-weight: 600;
  color: #FF9500;
  margin-left: 4px;
}

/* 충전 버튼 */
.point-charge-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.point-charge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.4);
}

.point-charge-btn:active {
  transform: translateY(0);
}

/* 안내 문구 */
.point-modal-notice {
  margin-top: 16px;
  font-size: 13px;
  color: #999;
}

/* 버튼 영역 */
.point-action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.point-action-buttons .point-charge-btn {
  flex: 1;
}

.point-withdraw-btn {
  flex: 1;
  padding: 16px 24px;
  background: white;
  color: #FF9500;
  border: 2px solid #FF9500;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.point-withdraw-btn:hover {
  background: #FFF5E6;
  transform: translateY(-2px);
}

/* 출금 신청 폼 */
.withdrawal-form-container {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  text-align: left;
}

.withdrawal-form-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
}

.withdrawal-form .form-group {
  margin-bottom: 14px;
}

.withdrawal-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-bottom: 6px;
}

.withdrawal-form .form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background: #fff;
  color: #000;
}

.withdrawal-form .form-input:focus {
  outline: none;
  border-color: #FF9500;
}

.withdrawal-form .form-hint {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.withdrawal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.withdrawal-actions .btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.withdrawal-actions .btn-outline {
  background: white;
  color: #666;
  border: 1px solid #ddd;
}

.withdrawal-actions .btn-outline:hover {
  background: #f5f5f5;
}

.withdrawal-actions .btn-primary {
  background: #FF9500;
  color: white;
  border: none;
}

.withdrawal-actions .btn-primary:hover {
  background: #FF7A00;
}

/* 출금 신청 내역 */
.withdrawal-history-container {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  text-align: left;
}

.withdrawal-history-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
}

.withdrawal-history-list {
  max-height: 160px;
  overflow-y: auto;
}

.withdrawal-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.withdrawal-history-item:last-child {
  border-bottom: none;
}

.withdrawal-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.withdrawal-amount {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.withdrawal-date {
  font-size: 12px;
  color: #999;
}

.withdrawal-status {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
}

.withdrawal-status.status-pending {
  background: #FFF3CD;
  color: #856404;
}

.withdrawal-status.status-completed {
  background: #D4EDDA;
  color: #155724;
}

.withdrawal-status.status-rejected {
  background: #F8D7DA;
  color: #721C24;
}

.empty-text {
  font-size: 13px;
  color: #999;
  text-align: center;
  padding: 20px 0;
}

/* 모바일 대응 */
@media (max-width: 480px) {
  .point-modal-content {
    padding: 32px 24px;
    margin: 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .point-value {
    font-size: 32px;
  }

  .point-unit {
    font-size: 20px;
  }

  .point-action-buttons {
    flex-direction: column;
  }

  .withdrawal-form-container {
    padding: 16px;
  }
}
