.opened-form-container {
  background-color: #191b1b;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
  padding-bottom: 100px;
}
form#opened-form-footer{
    display: flex;
    flex-direction: column;
    gap:40px;
}

@media screen and (min-width:481px){
    .form-group {
        min-width:320px;
    }
}

@media screen and (max-width:1040px){
    .opened-form-fieldset {
            flex-direction: column;
    }
}





.opened-form-container h2 {
color: #FFF;
    font-family: "TT TANK";
    font-size: 53px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%;
    text-transform: uppercase;
    text-align: center;
}
.opened-form-container h2 {
    margin-bottom: 60px;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #515151;
  color: #fff;
}

textarea {
  width: 100%;
  height: 200px;
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #515151;
  color: #fff;
}

textarea::placeholder {
  color: #555;
}

input[type="text"]:focus,
input[type="text"]:active,
input[type="email"]:focus,
input[type="email"]:active,
input[type="tel"]:focus,
input[type="tel"]:active,
textarea:focus,
textarea:active {
  border-bottom-color: #ff9447;
  outline: none;
}

input[readonly] {
  cursor: auto;
  width: fit-content;
}

.form-group-colors {
  display: flex;
  align-items: center;
}
.form-group-colors label {
  margin-bottom: 0;
}

.form-group-colors input {
  background-color: transparent;
  border-color: transparent;
  color: #fff;
  margin-top: -2px;
  padding: 0;
}

.form-group-colors input::placeholder {
  color: #555;
}

.kit-selector {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
@media screen and (max-width:940px){
    .kit-selector {
        flex-direction: column;
        gap:20px;
    }
}

.kit-option {
  flex: 1;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  background-color: #252c2c;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.kit-option:hover {
  background-color: #333;
  color: #fff;
  border-color: #ff9447;
}

.kit-option.active {
  background-color: #ff9447;
  color: #fff;
  border-color: #ff9447;
}

.color-selector {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.color-box {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.color-box:hover,
.color-box.active {
  border-color: #ff9447;
}

.color-box-inside {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.color-box-inside:hover,
.color-box-inside.active {
  border-color: #ff9447;
}

.checkbox-group {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-group input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.checkbox-group:hover input ~ .checkmark {
  background-color: #ccc;
}

.checkbox-group input:checked ~ .checkmark {
  background-color: #ff9447;
  border-color: #ff9447;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-group input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-group .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.checkbox-group.error .checkmark {
  border-color: #dc3545;
}
.checkbox-group.error {
  color: #dc3545;
}

input.error {
  border-color: #dc3545;
}
input.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.submit-btn {
  width: 100%;
  padding: 15px 40px;
  background-color: #ff9447;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  
  align-self: center;
  border:1px solid transparent;
}

@media screen and (min-width:641px){
    .submit-btn {
        max-width:fit-content;
    }
}
@media screen and (max-width:640px){
    .submit-btn {
        max-width:100%;
    }
}
.submit-btn:hover {
  background-color: transparent;
  border-color:#fff;
}

.opened-form-fieldset {
  border: none;
  padding: 0;
      display: flex;
    
    justify-content: space-between;
    gap: 20px;
        width: 100%;
    margin: auto;
}

@media screen and (min-width:1041px){
    .opened-form-fieldset {
        max-width: 100%;
    }
}
@media screen and (max-width:1040px){
    .opened-form-fieldset {
        max-width: 100%;
    }
}

.color-box.red{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #570A14 9.68%, #8E1224 54.56%, #B01B23 65%, #D75462 74.68%, #74101E 100%);
}
.color-box.orange{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #722B00 9.68%, #A73F00 54.56%, #BA4B06 65%, #E98448 74.68%, #732B01 100%);
}
.color-box.grey{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #68727C 9.68%, #8895A4 54.56%, #A4B2C4 65%, #D1DCEE 74.68%, #717C88 100%);
}
.color-box.black{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #100F11 9.68%, #171819 54.56%, #19191B 65%, #3B3D3E 74.68%, #100F12 100%);
}
.color-box.white{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #7A7D80 9.68%, #BABFC6 54.56%, #C7CCD3 65%, #EBF0F4 74.68%, #777B7E 100%);
}

.color-box.black-bogdo{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #100F11 9.68%, #171819 54.56%, #19191B 65%, #3B3D3E 74.68%, #100F12 100%);
}
.color-box.green-olhon{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #15201C 9.68%, #2B3737 54.56%, #354744 65%, #506461 74.68%, #16211D 100%);
}
.color-box.silver-sihote{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #545A67 9.68%, #6E768D 54.56%, #848B9F 65%, #BAC2CD 74.68%, #6F7689 100%);
}
.color-box.grey-kushtau{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #434B5C 9.68%, #636A7E 54.56%, #747C91 65%, #747B8E 74.68%, #444A5F 100%);
}
.color-box.gold{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #414038 9.68%, #827F72 54.56%, #A49F91 65%, #E0DDD7 74.68%, #49473F 100%);
}
.color-box.light-gray{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #434B5C 9.68%, #636A7E 54.56%, #747C91 65%, #747B8E 74.68%, #444A5F 100%);
}
.color-box.green-azay{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #1C292D 9.68%, #233835 54.56%, #2F4248 65%, #3F5860 74.68%, #122627 100%);
}
.color-box.platina{
    background: radial-gradient(101.55% 92.57% at 76.99% 100%, #545A67 9.68%, #6E768D 54.56%, #848B9F 65%, #BAC2CD 74.68%, #6F7689 100%);
}



.popup {
    width: 100vw;
    height: 100vh;
    background-color: #181818cb;
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;

    z-index: 1000;
    top: 0;
}

.popup--active {
    display: flex;
}

.popup__content {
    width: 555px;

    background-color: var(--black1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    position: relative;

}

.popup__title {
    font-size: 30px;
    color: #fff;
}


.popup__subtitle {
    font-size: 16px;
    font-weight: 300;
    margin-top: 16px;
    color: #fff;
}

.popup__form {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 24px 0;
    width: 100%;
    margin-top: 40px;
}

.popup__form-item {
    width: 100%;
    position: relative;
    text-align: start;
}

.popup__form-item:hover .input-title {
    color: var(--orange);
}

.popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    color: #fff;
    outline: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.popup .popup__label {
    margin-top: 0;
}


@media (max-width:1200px) {
    .popup__content {
        width: 100%;
        padding: 40px 15px;
    }

    .popup__form {
        margin-top: 47px;
    }

    .popup__close {
        top: 10px;
        right: 10px;
    }
}

