/* Form Section */
.form {
  width: 100vw;
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.form-content {
  max-width: 500px;
  width: 100%;
  text-align: left;
  position: relative;
  padding-bottom: 80px;
  margin-top: 50px;
}

.form-header {
  margin-bottom: 40px;
}

.form-logo {
  margin-bottom: 20px;
  text-align: left;
}

.logo-img {
  width: 90px;
  height: auto;
}

.form-title {
  color: #c5cacd;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0;
  text-align: left;
}

.contact-form {
  text-align: left;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  color: #c5cacd;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-weight: 400;
  font-size: 17.6px;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  background: #000;
  border: 1px solid #c5cacd;
  color: #c5cacd;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 4px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ff6400;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 10px;
}

.checkbox-input {
  margin: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #ff6400;
}

.checkbox-label {
  color: #c5cacd;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-size: 15.4px;
  line-height: 1.4;
  margin: 0;
}

.form-btn {
  background: #cccccc;
  color: #333333;
  border: none;
  padding: 15px 30px;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  margin-top: 8px;
  float: right;
  display: block;
  width: auto;
  height: auto;
  position: relative;
  z-index: 1;
}

.form-btn:hover {
  background: #666666 !important;
  color: #ff9900 !important;
  transform: none;
}

.form-btn:hover * {
  color: #ff9900 !important;
}

.contact-info {
  color: #ffffff !important;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 96px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  margin: 60px 0 0 0 !important;
  clear: both !important;
  display: block !important;
  width: 100% !important;
}

.contact-info p {
  font-size: 96px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.contact-email {
  color: #ff9900 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.3s ease !important;
  font-size: 96px !important;
}

.contact-email:hover {
  color: #e68a00;
  text-decoration: underline;
}

.form-notice {
  margin-top: 30px;
  width: 100%;
}

.form-notice p {
  color: #888;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.form-footer {
  margin-top: 10px;
  text-align: center;
}

.github-icon img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(80%) contrast(100%);
}

.github-icon {
  margin-bottom: 5px;
  display: inline-block;
  padding: 5px;
}

.github-icon:hover img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(60%) contrast(100%);
}

.github-icon:hover {
  transition: all 0.3s ease;
}

.github-img {
  width: 40px;
  height: auto;
  filter: brightness(0) invert(1);
}

.copyright {
  color: #c5cacd;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-weight: 400;
  font-size: 14.3px;
  margin: 0;
}

.form-bottom {
  position: relative;
  margin-top: 30px;
  width: 100%;
}

@media (min-width: 600px) {
  .form-title {
    font-size: 20px;
  }
  .form-content {
    max-width: 600px;
  }
}

@media (min-width: 1024px) {
  .form-title {
    font-size: 22px;
  }
  .form-content {
    max-width: 700px;
  }
}

/* Success Message Styles */
.success-message {
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.success-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-icon svg {
  width: 48px;
  height: 48px;
}

.success-text {
  color: #c5cacd;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
  text-align: center;
  max-width: 400px;
}

/* Button states */
.form-btn.sending {
  background: #ff9900;
  color: #000;
}

.form-btn.sending:hover {
  background: #ff9900;
  color: #000;
}

@media (max-width: 767px) {
  .contact-info {
    font-size: 10px;
  }
  
  .form-btn {
    float: right;
    width: 30%;
    margin: 10px 0 0 0;
    display: block;
  }
  
  .form-notice .contact-info {
    font-size: 10px !important;
    top: -39px;
    text-align: left;
    width: 60%;
    float: left;
    margin-left: -61px;
    padding-left: 0;
    position: relative;
    left: -61px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  
  .form-notice .contact-info p {
    font-size: 10px !important;
    margin: 0;
    line-height: 1.2;
    text-align: left;
  }
  
  .form-notice .contact-email {
    font-size: 10px !important;
  }
  
  .form-bottom {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
  }
  
  .form-footer {
    margin-top: 20px;
    text-align: center;
    clear: both;
  }
  
  /* Мобильная версия - две строки */
  .form-notice .contact-info br {
    display: block;
  }
}

/* Десктопная версия - одна строка */
@media (min-width: 768px) {
  .form-notice .contact-info br {
    display: none;
  }
}

/* Принудительные стили для контактной информации */
.form-notice .contact-info {
  font-size: 19.2px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  clear: both;
  padding-top: 0 !important;
  color: #cccccc !important;
  position: relative;
  top: -41px;
  display: flex;
  align-items: center;
}

.form-notice .contact-info p {
  font-size: 19.2px !important;
  margin: 0 !important;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif !important;
  font-weight: 400 !important;
  color: #cccccc !important;
}

.form-notice .contact-email {
  font-size: 19.2px !important;
  font-family: 'TT Fors Trial Regular', Arial, sans-serif !important;
  font-weight: 600 !important;
  color: #ff9900 !important;
} 