﻿.page-apply {
  padding: 60px 24px 80px;
  background: #f6f6f7;
  color: #111;
}
.page-apply .apply__hero {
  max-width: 980px;
  margin: 0 auto 40px;
  text-align: center;
}
.page-apply .apply__title,
.page-apply .title {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  font-weight: 700;
  color: #111;
}
.page-apply .apply__content,
.page-apply .content {
  max-width: 860px;
  margin: 24px auto 0;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.8;
}
.apply__form-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 32px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.08);
  padding: 42px;
}
.apply__section-title,
.apply__area-title,
.page-apply .title-2,
.page-apply .title-3 {
  margin: 0 0 24px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
}
.apply__area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 840px) {
  .apply__area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .page-apply {
    padding: 40px 16px 60px;
  }
  .apply__form-card {
    padding: 28px 20px;
  }
}
.apply__area.full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .apply__area.full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.form-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-item label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d1d1f;
}
.form-item label span {
  color: #d0021b;
}
.form-item input,
.form-item select,
.form-item textarea {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  background: #f5f5f7;
  color: #111;
  font-size: 1rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.form-item select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%23666' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  padding-right: 44px;
}
.f-note {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: #6e6e73;
  line-height: 1.5;
}
.form-item input:focus,
.form-item select:focus,
.form-item textarea:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
  background: #fff;
}
.form-item textarea {
  min-height: 146px;
  resize: vertical;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  background: #f7f7f8;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.radio-option input {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid #d2d2d7;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
}
.radio-option input:checked {
  border-color: #0071e3;
  background: #0071e3;
}
.radio-option input:checked::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.radio-option span {
  font-size: 0.98rem;
  color: #1d1d1f;
}
.apply__form-note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: #6e6e73;
  line-height: 1.6;
}
button[name="funcApply"],
button#func-submit-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  background: #0071e3;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
button[name="funcApply"]:hover,
button#func-submit-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(0, 113, 227, 0.24);
}
button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}
button .isloading {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}
button .isloading.icon-loading {
  display: inline-flex;
}
button .isloading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.35;
  animation: apply-loading-dot 1s infinite ease-in-out;
}
button .isloading span:nth-child(2) {
  animation-delay: 0.12s;
}
button .isloading span:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes apply-loading-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
.f-message,
.form-group-error {
  font-size: 0.92rem;
  color: #d0021b;
  min-height: 1.25em;
  margin-top: 4px;
}
.form-group-error.message-responsive {
  color: #1d7e17;
}
.form-group-error.message-responsive.success {
  color: #1d7e17;
}
.form-group-error.message-responsive.error {
  color: #d0021b;
}
.page-apply .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .page-apply .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.page-apply .col-lg-6,
.page-apply .col-sm-6,
.page-apply .col-xs-12 {
  width: 100%;
}
.page-apply .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-apply .form-group input,
.page-apply .form-group textarea {
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  background: #f5f5f7;
  color: #111;
}
.page-apply .form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.page-apply .form-group.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.page-apply .form-group.inline input[type="radio"] {
  margin: 0 10px 0 0;
}
.page-apply .text-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.page-apply .text-right button {
  width: auto;
}
.page-apply .content img,
.page-apply .content table {
  max-width: 100%;
}
