/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

.transfer-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 25px;
  background: #1a171b;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.cf7-wrapper select {
 padding: 15px !important;
}

.cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Mobile */
@media (max-width: 640px) {
  .cf7-grid {
    grid-template-columns: 1fr;
  }
}

.cf7-field {
  display: flex;
  flex-direction: column;
}

.cf7-field.full {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .cf7-field.full {
    grid-column: span 1;
  }
}

.cf7-field label {
  font-size: 13px;
  margin-bottom: 6px;
  color: #bfbfc4;
}

/* Inputs */
.cf7-field input,
.cf7-field select {
  background: #242128;
  border: 1px solid #2f2b33;
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* Placeholder */
.cf7-field input::placeholder {
  color: #777;
}

/* Focus */
.cf7-field input:focus,
.cf7-field select:focus {
  border-color: #4da3ff;
  background: #2a2630;
  box-shadow: 0 0 0 2px rgba(77,163,255,0.2);
  outline: none;
}

/* Submit */


/* Fix CF7 default styles */
.wpcf7-form-control-wrap {
  width: 100%;
}

.wpcf7 input,
.wpcf7 select {
  width: 100%;
}

.wpcf7-form .wpcf7-not-valid-tip {
  background: #503f00;
}

/* Improve select appearance */
.cf7-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #242128;
  color: #fff;
  border: 1px solid #2f2b33;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%23aaa' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 35px;
}

/* Dropdown options (works partially depending on browser) */
.cf7-field select option {
  background: #242128;
  color: #fff;
}
