:root {
  --white-color: #fff;
  --bg-color: #f7f3eb;
  --text-color: #202020;
  --description-color: #404040;
  --contrast-color: #888;
  --cookie-color: #00000095;
  --green-color: #00a82d;
  --light-green-color: #96d446;
  --orange-color: #ee6e73;
  --red-color: #ff2600;
  --light-red-color: #ff5a3d;
  --blue-color: #6578fe;
  --violet-color: #d4b8f9;
  --yellow-color:#da8b2c;
}

.modal {
  display: none;
  position: fixed; z-index: 99999; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #1e283c60;
  justify-content: center; align-items: center;
}
.modal.open { display: flex; }
.modal-content {
  background: var(--bg-color);
  padding: 2.5em 2em 2em 2em;
  border-radius: 1em;
  max-width: 380px;
  width: 90vw;
  box-shadow: 0 8px 32px 0 var(--blue-color);
  position: relative;
  display: flex; flex-direction: column; gap: 1.1em;
  border: 3px solid var(--blue-color);
}
.order-modal {
  background: var(--bg-color);
}
.modal-title {
  margin: 0 0 0.2em 0;
  text-align: center;
  color: var(--blue-color);
  font-size: 2em;
  font-weight: bold;
}
.modal-close {
  position: absolute; right: 1em; top: 1em;
  background: none; border: none;
  font-size: 2em; 
  font-weight: bold;
  color: var(--red-color);
  cursor: pointer;
  padding: 0;
}
.modal-close:hover {
  color: var(--green-color);
}  
#order-form input, #order-form textarea {
  width: 100%;
  border-radius: 0.6em;
  border: 1.5px solid var(--description-color);
  font-size: 1.08em;
  padding: 0.7em 1em;
  background: #e4e4e4;
  transition: border-color 0.2s;
  margin-bottom: 0.1em;
  margin-top: 7px;
  color: var(--text-color);
}
#order-form input:focus, #order-form textarea:focus {
  border-color: var(--blue-color);
  outline: none;
  background: var(--white-color);
}
#order-form textarea {
  resize: none;
  min-height: 58px;
}
.checkbox-line {
    display: inline-block !important;
    align-items: flex-start;
    gap: 0.7em; 
    font-size: 1em; 
    margin: 1.2em 0 .5em 0;
}
input[type="checkbox"] {
    display: inline-block !important;
    opacity: 1 !important;
    width: 17px !important;
    height: 17px !important;
    margin-right: 8px;
    vertical-align: bottom;
}
.checkbox-line a { color: var(--blue-color); text-decoration: underline; }
.order-button {
  display: inline-block;
  padding: 3px 10px;
  background-color: var(--light-red-color);
  color: var(--white-color);
  text-decoration: none;
  border: 1px solid var(--red-color);
  border-radius: 5px;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 1s ease;
}
.order-button:hover {
  background-color: var(--red-color);
  box-shadow: 0 0 3px 0 var(--red-color);
}

.submit-btn {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--light-red-color);
  color: var(--white-color);
  text-decoration: none;
  border: 1px solid var(--red-color);
  border-radius: 10px;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 1s ease;
      width: 100%;
}

.submit-btn:hover { 
  background-color: var(--red-color);
  color: var(--white-color);
  box-shadow: 0 8px 32px 0 var(--green-color);
}
