/* 플로팅 버튼 스타일 */
.inquiry-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: white;
  color: black;
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  z-index: 999;
  /*animation: float 3s ease-in-out infinite;*/
}

.inquiry-floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
  color: white;
}

.inquiry-floating-btn:active {
  transform: translateY(-2px);
}

.inquiry-floating-btn i {
  font-size: 20px;
}

/* 플로팅 애니메이션 */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 모달 스타일 */
.inquiry-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.inquiry-modal.active {
  opacity: 1;
  pointer-events: all;
}

.inquiry-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.inquiry-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.inquiry-modal.active .inquiry-modal-content {
  transform: scale(1);
}

.inquiry-modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
  color: white;
}

.inquiry-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.inquiry-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.inquiry-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.inquiry-modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

/* 사용자 정보 카드 */
.inquiry-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid #dee2e6;
}

.inquiry-user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.inquiry-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inquiry-user-avatar .avatar-text {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.inquiry-user-details {
  flex: 1;
}

.inquiry-user-name {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.inquiry-user-email {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 2px;
}

.inquiry-user-dept {
  font-size: 13px;
  color: #9ca3af;
}

/* 폼 그룹 */
.inquiry-form-group {
  margin-bottom: 20px;
}

.inquiry-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.inquiry-form-group .required {
  color: #dc2626;
}

.inquiry-input,
.inquiry-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

.inquiry-input:focus,
.inquiry-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.inquiry-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.inquiry-char-count {
  text-align: right;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* 안내사항 */
.inquiry-notice {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  margin-top: 20px;
}

.inquiry-notice i {
  color: #3b82f6;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.inquiry-notice strong {
  display: block;
  color: #1e40af;
  margin-bottom: 8px;
  font-size: 14px;
}

.inquiry-notice ul {
  margin: 0;
  padding-left: 20px;
  color: #3b82f6;
}

.inquiry-notice li {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
}

/* 모달 푸터 */
.inquiry-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  background: #f9fafb;
}

.inquiry-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.inquiry-btn-cancel {
  background: white;
  color: #6b7280;
  border: 2px solid #e5e7eb;
}

.inquiry-btn-cancel:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.inquiry-btn-submit {
  background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
  color: white;
}

.inquiry-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.inquiry-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 알림 스타일 */
.inquiry-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10001;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s ease;
  min-width: 300px;
  max-width: 500px;
}

.inquiry-notification.active {
  opacity: 1;
  transform: translateX(0);
}

.inquiry-notification i {
  font-size: 20px;
}

.inquiry-notification-success {
  background: #059669;
  color: white;
}

.inquiry-notification-error {
  background: #dc2626;
  color: white;
}

.inquiry-notification-info {
  background: #3b82f6;
  color: white;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .inquiry-floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .inquiry-floating-btn span {
    display: none;
  }

  .inquiry-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .inquiry-modal-header {
    padding: 20px;
  }

  .inquiry-modal-header h2 {
    font-size: 20px;
  }

  .inquiry-modal-body {
    padding: 20px;
  }

  .inquiry-user-info {
    flex-direction: column;
    text-align: center;
  }

  .inquiry-modal-footer {
    padding: 16px 20px;
    flex-direction: column;
  }

  .inquiry-btn {
    width: 100%;
    justify-content: center;
  }

  .inquiry-notification {
    left: 20px;
    right: 20px;
    min-width: auto;
  }
}

/* 스크롤바 스타일 */
.inquiry-modal-body::-webkit-scrollbar {
  width: 8px;
}

.inquiry-modal-body::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.inquiry-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.inquiry-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
