.delivery-inquiry-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 20px 80px;
}

.inquiry-header {
  position: relative;
  min-height: 400px;
  background: linear-gradient(
          90deg,
          rgba(0, 0, 0, 0.7) 0%,
          rgba(0, 0, 0, 0.4) 50%,
          rgba(0, 0, 0, 0.2) 100%
  ),
  url("../img/expert.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  font-family: "Pretendard", sans-serif;
  position: relative;
  z-index: 2;
}

.page-description {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #6026f4;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1c7f1;
  border-radius: 50%;
}

.contact-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #333;
}

.contact-text p {
  margin: 0;
  color: #666;
}

.inquiry-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.1rem;
  font-weight: 500;
  color: #333;
}

.required {
  color: #6026f4;
  margin-left: 0.25rem;
}

.logistics-type {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.logistics-type label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
  padding: 0.1rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.logistics-type label:hover {
  background-color: #f8f9fa;
}

.contact-inputs,
.email-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
  outline: none;
}

.contact-inputs input {
  width: 80px;
}

.email-inputs input[name="emailId"] {
  width: 150px;
}

.email-inputs input[name="emailDomain"] {
  width: 150px;
}

.email-inputs select {
  width: 150px;
}

textarea {
  height: 150px;
  resize: vertical;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.file-button {
  padding: 0.75rem 1.5rem;
  background: #6026f4;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.file-button:hover {
  background: #4a1fd8;
  transform: translateY(-1px);
}

.file-name {
  color: #495057;
  font-size: 0.95rem;
  flex: 1;
  word-break: break-all;
}

.file-help {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* 개인정보 수집 동의 스타일 */
.privacy-agreement {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  transform: scale(1.2);
}

.agreement-text {
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

.privacy-details {
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  margin-top: 1rem;
}

.privacy-details p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.5;
}

.privacy-details p:first-child {
  margin-top: 0;
}

.privacy-details p:last-child {
  margin-bottom: 0;
}

.privacy-details strong {
  color: #333;
  font-weight: 600;
}

.form-actions {
  text-align: center;
  margin-top: 2.5rem;
}

.submit-button {
  position: relative;
  padding: 1rem 3rem;
  background: #6026f4;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 180px;
}

.submit-button:hover {
  background: #4d1fae;
  transform: translateY(-1px);
}

.submit-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  display: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid #ffffff;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes spinner-border {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.submitting .button-text {
  margin-right: 2rem;
}

.submitting .spinner {
  display: block;
}

.alert {
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 6px;
  display: none;
  font-weight: 500;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .delivery-inquiry-container {
    max-width: 100%;
    padding: 4rem 8px 40px;
  }

  .inquiry-header {
    min-height: 300px;
    padding: 40px 20px;
    border-radius: 15px;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .page-description {
    font-size: 1.1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    padding: 1.2rem;
    gap: 1rem;
  }
  .inquiry-form {
    padding: 1rem;
  }
  .form-section {
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
  }
  .logistics-type {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .delivery-inquiry-container {
    padding: 2rem 2px 20px;
  }

  .inquiry-header {
    min-height: 250px;
    padding: 30px 15px;
    border-radius: 10px;
  }

  .page-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .page-description {
    font-size: 1rem;
  }
  .contact-info {
    padding: 0.7rem;
    gap: 0.5rem;
  }
  .contact-item i {
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
  }
  .inquiry-form {
    padding: 0.5rem;
    border-radius: 6px;
  }
  .form-section {
    padding-bottom: 0.5rem;
    margin-bottom: 0.7rem;
  }
  .section-title {
    font-size: 1rem;
    margin-bottom: 0.7rem;
  }
  .form-group label {
    font-size: 0.95rem;
  }
  .logistics-type {
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem;
  }
  input[type="text"],
  input[type="email"],
  textarea,
  select {
    font-size: 0.9rem;
  }
  .file-button {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
  .submit-button {
    padding: 0.7rem 0;
    font-size: 1rem;
    min-width: 100%;
    width: 100%;
  }
  .form-actions {
    margin-top: 1.2rem;
  }
  .alert {
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
  }
  .email-inputs {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .email-inputs input,
  .email-inputs select {
    width: 100% !important;
    min-width: 0;
  }
  .email-inputs span {
    display: none;
  }
}
