/* ==================== 환불방식 선택 팝업 ==================== */

/* 오버레이 */
.refund-method-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.refund-method-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* 모달 */
.refund-method-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 520px;
  max-width: 90%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.refund-method-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* 컨테이너 */
.refund-method-container {
  display: flex;
  flex-direction: column;
}

/* 헤더 */
.refund-method-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #dee2e6;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.refund-method-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.refund-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 16px;
}

.refund-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 바디 */
.refund-method-body {
  padding: 24px;
}

/* 안내 박스 */
.refund-info-box {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
}

.refund-info-title {
  margin: 0 0 16px 0;
  font-size: 14px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
}

.refund-info-desc {
  margin: 0 0 12px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #495057;
}

.refund-info-desc:last-child {
  margin-bottom: 0;
}

.refund-method-name {
  font-weight: 600;
  color: #3498db;
}

/* 환불방식 선택 섹션 */
.refund-selection-section {
  margin-top: 8px;
}

.refund-selection-title {
  margin: 0 0 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
}

/* 버튼 그룹 */
.refund-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.refund-btn {
  flex: 0 0 auto;
  min-width: 140px;
  height: 56px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.refund-btn i {
  font-size: 16px;
}

.refund-btn-record {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.refund-btn-record:hover {
  background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.refund-btn-record:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.refund-btn-realtime {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.refund-btn-realtime:hover {
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.refund-btn-realtime:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 푸터 */
.refund-method-footer {
  padding: 16px 24px;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: center;
}

.btn-refund-close {
  min-width: 100px;
  padding: 10px 24px;
  background: #6c757d;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-refund-close:hover {
  background: #5a6268;
}

.btn-refund-close:active {
  background: #545b62;
}

/* 반응형 */
@media (max-width: 576px) {
  .refund-method-modal {
    width: 95%;
  }
  
  .refund-method-header,
  .refund-method-body,
  .refund-method-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .refund-buttons {
    flex-direction: column;
  }
  
  .refund-btn {
    width: 100%;
    min-width: auto;
  }
}
