/* Join Us Page Styles */

/* Page wrapper - makes header fixed and overlay banner */
.join-us-page-wrapper {
  position: relative;
}

/* Header overlay style */
.join-us-page-wrapper .pc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

.join-us-page-wrapper .pc-nav:hover {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Banner Section */
.join-us-banner {
  position: relative;
  height: 388px;
  overflow: hidden;
}

.join-us-banner__bg {
  position: absolute;
  inset: 0;
}

.join-us-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.join-us-banner__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.join-us-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.join-us-banner__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.join-us-banner__title {
  font-family: 'Exo', sans-serif;
  font-weight: 600;
  font-size: 48px;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  padding-top: 60px;
}

/* Form Section */
.join-us-form-section {
  padding: 40px 0 80px;
  background: #f5f5f5;
}

.join-us-form-section__container {
  width: 100%;
  max-width: 1256px;
  margin: 0 auto;
  background:#fff;
  box-sizing: border-box;
  padding: 56px 60px;
  border-radius: 12px;
}

@media (max-width: 1200px) {
  .join-us-form-section__container {
    padding: 16px;
  }
}

.join-us-form {
  background: #ffffff;
}

.join-us-form__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.join-us-form__label {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 12px;
}

.join-us-form__label::after {
  content: '*';
  color: #e53935;
  margin-left: 2px;
}

.join-us-form__input,
.join-us-form__textarea {
  padding: 13px 16px;
  border: 1px solid #f0f0e0;
  border-radius: 6px;
  font-size: 16px;
  color: #333333;
  background: #F6F6F7;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.join-us-form__input:focus,
.join-us-form__textarea:focus {
  outline: none;
  border-color: #424558;
  background: #ffffff;
}

.join-us-form__textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
}

/* File Upload */
.join-us-form__file-upload {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.join-us-form__file-input {
  display: none;
}

.join-us-form__file-add {
  width: 124px;
  height: 124px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #f5f5f5;
  transition: all 0.2s ease;
}

.join-us-form__file-add:hover {
  border-color: #333;
}

.join-us-form__file-add-icon {
  width: 24px;
  height: 24px;
  color: #999999;
}

.join-us-form__file-preview {
  width: 124px;
  height: 124px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

.join-us-form__file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join-us-form__file-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Submit Button */
.join-us-form__actions {
  margin-top: 32px;
  text-align: center;
}

.join-us-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 14px 48px;
  background: #4a4a5a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.join-us-form__submit:hover {
  background: #3a3a4a;
}

.join-us-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.join-us-form__spinner {
  width: 18px;
  height: 18px;
  animation: join-us-spin 1s linear infinite;
}

@keyframes join-us-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Success Message */
.join-us-success {
  background: #ffffff;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
}

.join-us-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.join-us-success__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.join-us-success__title {
  font-size: 24px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
}

.join-us-success__desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  white-space: pre-line;
}

/* Responsive */
@media (max-width: 768px) {
  .join-us-banner {
    height: 300px;
  }

  .join-us-banner__title {
    font-size: 32px;
    padding-top: 40px;
  }

  .join-us-form-section {
    padding: 30px 0 60px;
  }



  .join-us-form__submit {
    width: 100%;
  }

  .join-us-success {
    padding: 40px 24px;
  }
}
