/* per_contact.css — contact support module styles */

.per-contact-phone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.per-contact-phone__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.per-contact-phone__icon-wrap img {
  width: 22px;
  height: 22px;
}

.per-contact-phone__content h2 {
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  font-weight: 700;
}

.per-contact-phone__desc {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

.per-contact-phone__meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.per-contact-phone__hotline p,
.per-contact-phone__hours p {
  font-size: 11px;
  line-height: 1.4;
  color: #999;
}

.per-contact-phone__hotline a {
  margin-top: 2px;
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-primary);
}

.per-contact-phone__hours span {
  margin-top: 2px;
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}

.per-contact-call-btn {
  height: 40px;
  min-width: 100px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.per-contact-call-btn:hover {
  opacity: 0.92;
}

.per-contact-form__title {
  font-size: 20px;
  line-height: 1.5;
  color: #1a1a1a;
  font-weight: 700;
}

.per-contact-form__subtitle {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.per-contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.per-contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.per-contact-field select,
.per-contact-field input,
.per-contact-field textarea {
  min-height: 48px;
  padding: 0 16px;
}

.per-contact-field textarea {
  min-height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

.per-contact-counter {
  font-size: 12px;
  line-height: 1.5;
  color: #999;
}

.per-contact-field__hint {
  font-size: 12px;
  line-height: 1.5;
  color: #999;
}

.per-contact-upload {
  min-height: 48px;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.per-contact-upload img {
  width: 18px;
  height: 18px;
}

#per-contact-files {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.per-contact-file-list {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
}

.per-contact-contact {
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.per-contact-contact__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.per-contact-input-wrap {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.per-contact-input-wrap img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.per-contact-input-wrap input {
  min-height: 46px;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.per-contact-input-wrap input:focus-visible {
  outline: none;
}

.per-contact-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.per-contact-submit,
.per-contact-reset {
  min-height: 56px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.per-contact-submit {
  flex: 1;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.per-contact-submit img {
  width: 14px;
  height: 14px;
}

.per-contact-reset {
  min-width: 102px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  padding: 0 20px;
}

.per-contact-hours-card {
  background: #fff9e5;
  border: 1px solid #ffe8a3;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.per-contact-hours-card__icon {
  width: 24px;
  height: 24px;
  color: #d4a300;
  flex-shrink: 0;
}

.per-contact-hours-card h3 {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  font-weight: 600;
}

.per-contact-hours-card p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

@media (max-width: 1200px) {
  .per-contact-phone__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .per-contact-phone {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .per-contact-call-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .per-contact-contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .per-contact-phone {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .per-contact-phone__icon-wrap {
    width: 40px;
    height: 40px;
  }

  .per-contact-form {
    margin-top: 16px;
    gap: 16px;
  }

  .per-contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .per-contact-reset {
    width: 100%;
  }

  .per-contact-hours-card {
    padding: 16px;
  }
}
