/* Global variables. */
:root {
    --standard-border-radius: 10px;
    --border-width: 1px;
    --bg: #fff;
    --text: #555;
    --border: #C6C7D8;
    --accent: #2192FF;
    --accent-hover: #2192FF;
    --accent-text: var(--bg);
    --code: #d81b60;
    --preformatted: #444;
    --marked: #ffdd33;
    --disabled: #efefef;
}

  /* Reset default appearance */
textarea,
select,
input,
progress {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  accent-color:  black;
}

/* Format forms */
textarea,
select,
input {
  font-size: inherit;
  font-family: inherit;
  border-radius: var(--standard-border-radius);
  box-shadow: none;
  max-width: 100%;
  display: inline-block;
}
textarea,
select,
input {
  width: 100%;
  color: var(--text);
  background-color: var(--bg);
  border: var(--border-width) solid var(--border);
  outline: none;
  padding: 15px 19px;
  box-sizing: border-box;
}


input:focus{
    border: 2px solid var(--accent);
    padding: 14px 18px;
}

input::placeholder{
  color: #9FA0AC;
}

.icon-input{
  position: relative;
}

.icon-input .icon{
  font-size: 20px;
  position: absolute;
  left: 17px;
  top: 17px;

}

.icon-input input{
  padding-left: 42px;
}


label {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}

label span.required::after{
    content: '';
    display: inline-block;
    background: #2192FF;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: relative;
    left: 8px;
    bottom: 4px;
}

textarea{
    resize: none;
    padding: 19px 19px;
}
textarea:focus{
    border: 2px solid var(--accent);
    padding: 18px 18px;
}

textarea:not([cols]) {
  width: 100%;
}

/* checkbox and radio button style */
input[type="checkbox"],
input[type="radio"] {
  vertical-align: middle;
  position: relative;
  width: min-content;
  background: #F2F2F7;
  border: none;
  padding: 0;
  width: 28px;
  height: 28px;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  display: inline-block;
}

input[type="radio"] {
  border-radius: 100%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: var(--accent);
}
input[type="checkbox"]::after {
    /* Creates a rectangle with colored right and bottom borders which is rotated to look like a check mark */
    content: "check";
    font-family: 'Material Symbols Rounded';
    color: white;
    font-size: 28px;
    line-height: 1;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0,
    'wght' 800,
    'GRAD' -25,
    'opsz' 20
}
input[type="checkbox"]:checked::after {
  /* Creates a rectangle with colored right and bottom borders which is rotated to look like a check mark */
  
}
input[type="radio"]:checked::after {
  /* creates a colored circle for the checked radio button  */
  content: " ";
  width: 0.3em;
  height: 0.3em;
  border-radius: 100%;
  position: absolute;
  top: 0.125em;
  background-color: var(--bg);
  left: 0.125em;
  font-size: 1.8em;
}

/* Add arrow to drop-down */
select:not([multiple]) {
  background-image: linear-gradient(45deg, transparent 49%, var(--text) 51%),
    linear-gradient(135deg, var(--text) 51%, transparent 49%);
  background-position: calc(100% - 15px), calc(100% - 10px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-inline-end: 25px;
}
*[dir="rtl"] select:not([multiple]) {
  background-position: 10px, 20px;
}

#contact-type-selectors .contact-type-buttons{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

#contact-type-selectors .contact-type-buttons button{
  width: 100%;
  min-width: 0;
}

@media screen and (max-width: 1280px){
  
  label{
    font-size: 18px;
  }

  input[type="checkbox"], input[type="radio"]{
    width: 24px;
    height: 24px;
    border-radius: 6px;
  }

  input[type="checkbox"]::after{
    font-size: 24px;
  }

  #contact-type-selectors .contact-type-buttons{
    gap: 10px;
  }

  #contact-type-selectors .contact-type-buttons button.h-56{
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
  }

}