#captchablock{
  display: none;
  width: 100%;
  text-align: center; 
  }
#captchablock p{
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #fe0000; 
  }
.g-recaptcha{ 
  display: block;
  margin: 30px auto 0 auto;
  }
h1{
  margin: 50px 0;
  text-align: center;
  color: #22C3459;
  }
.data_block {
  margin: 20px 0;
  padding: 10px 0;
  text-align: left;
  }
.data{
  margin: 10px 0;
  float: left;
  }
.checkarea{
  float: left;
  margin: 4px 15px 0 0;
  }

.radiobox{
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  max-width: 100%;
  gap: 12px;
  margin: 6px 15px 14px 5px;
  }
.radiobox > .icheckbox_square-blue,
.radiobox > .iradio_square-blue{
  flex: 0 0 auto;
  }
.steps{
  color: #7DBA2F;
  font-size: 18px;
  }
.steps i{
  margin-right: 7px;
  }
.chosen-select{
  float: left;
  color: black;
  }
.checklabel{
  text-align: left;
  padding: 0;
  font-size: 15px;
  line-height: 1.35;
  color: #2C3459;
  flex: 1 1 auto;
  min-width: 0;
  }
.label{  
  text-align: left;    
  margin-bottom: 10px;
  font-size: 15px;  
  color: #2C3459;
  float: left;
  }
#gotovo{
  margin-bottom: 25px;
  }
#fokus, #fokus2{
  display:none;
  }
#dogovor{
  display:none;
  margin: 30px 0;
  padding: 40px;
  border: 1px solid #ccc;
  background-color: #FBFBFB;
  font-size: 15px;
  text-align: left;
  color: black;
  transition: max-height .35s ease;
  }
#dogovor p{
  color: black;
  }
#dogovor.dog-collapsed{
  max-height: 380px;
  overflow: hidden;
  position: relative;
  padding-bottom: 24px;
  }
#dogovor.dog-collapsed::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:0;
  height:140px;
  pointer-events:none;
  background:linear-gradient(to bottom, rgba(251,251,251,0) 0%, #FBFBFB 85%);
  }

/* ─── Кнопка "Показать договор полностью" ─── */
.dog-expand-wrap{
  text-align:center;
  margin: -10px 0 22px;
  }
.dog-expand-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 28px;
  background:#fff;
  border:1.5px solid #1bbd36;
  border-radius:30px;
  color:#1bbd36;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  font-family:inherit;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
  box-shadow:0 2px 10px rgba(27,189,54,.12);
  }
.dog-expand-btn:hover{
  background:#1bbd36;
  color:#fff;
  box-shadow:0 6px 18px rgba(27,189,54,.28);
  }
.dog-expand-btn:active{ transform:scale(.98); }
.dog-expand-btn .dog-expand-arrow{ transition: transform .3s ease; font-size:13px; }
.dog-expand-btn.is-open .dog-expand-arrow{ transform: rotate(180deg); }

#instrukciya{
  display:none;
  margin: 0;
  padding: 0;
  }

/* ─── Поздравительный блок + переход к ОСАГО/КАСКО ─── */
.dog-success{
  position:relative;
  text-align:center;
  padding: 40px 28px 36px;
  margin: 28px auto 36px;
  max-width: 760px;
  background: linear-gradient(135deg, #f6fff8 0%, #ecfaf0 100%);
  border:1.5px solid #c0e8c8;
  border-radius:18px;
  box-shadow:0 6px 24px rgba(27,189,54,.10);
  overflow:hidden;
  }
.dog-success::before{
  content:'';
  position:absolute;
  top:-60px;right:-60px;
  width:200px;height:200px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(27,189,54,.18) 0%, rgba(27,189,54,0) 70%);
  pointer-events:none;
  }
.dog-success-icon{
  font-size:62px;
  color:#1bbd36;
  margin-bottom:14px;
  line-height:1;
  animation: dogPop .55s cubic-bezier(.34,1.56,.64,1) both;
  }
@keyframes dogPop{
  from{ transform: scale(.4); opacity:0; }
  to{   transform: scale(1);  opacity:1; }
}
.dog-success-title{
  font-size:28px;
  font-weight:700;
  color:#2C3459;
  margin:0 0 12px;
  line-height:1.25;
  }
.dog-success-sub{
  font-size:16px;
  color:#4a5260;
  margin:0 auto 28px;
  max-width:560px;
  line-height:1.55;
  }
.dog-success-cta{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  }
.dog-cta{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 22px;
  width:300px;
  max-width:100%;
  background:#fff;
  border:1.5px solid #e1e8e3;
  border-radius:14px;
  text-decoration:none;
  color:#2C3459;
  text-align:left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
  }
.dog-cta:hover{
  border-color:#1bbd36;
  transform: translateY(-3px);
  box-shadow:0 10px 26px rgba(27,189,54,.20);
  }
.dog-cta-icon{
  width:50px;height:50px;
  flex-shrink:0;
  border-radius:50%;
  background:#f0faf2;
  color:#1bbd36;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .25s, color .25s;
  }
.dog-cta:hover .dog-cta-icon{
  background:#1bbd36;
  color:#fff;
  }
.dog-cta-body{
  display:flex;
  flex-direction:column;
  flex:1;
  line-height:1.3;
  min-width:0;
  }
.dog-cta-label{
  font-size:16px;
  font-weight:700;
  color:#2C3459;
  }
.dog-cta-sub{
  font-size:12px;
  color:#7a8089;
  margin-top:3px;
  }
.dog-cta-arrow{
  color:#1bbd36;
  font-size:14px;
  transition: transform .2s;
  flex-shrink:0;
  }
.dog-cta:hover .dog-cta-arrow{ transform: translateX(5px); }
@media (max-width: 599px){
  .dog-success{ padding: 32px 18px 28px; }
  .dog-success-title{ font-size: 22px; }
  .dog-success-icon{ font-size: 52px; }
  .dog-success-sub{ font-size: 15px; }
  .dog-cta{ width: 100%; }
  }
/* ─── Согласие на обработку ПД ─── */
.dog-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 12px;
  text-align: left;
}
.dog-consent-row input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #1bbd36;
  cursor: pointer;
}
.dog-consent-row label {
  font-size: 13px;
  color: #555;
  cursor: pointer;
  line-height: 1.5;
}
.dog-consent-row a { color: #1bbd36; }
#err_dog_consent {
  display: none;
  text-align: center;
  color: #e74c3c;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ─── Основная кнопка "Составить договор" ─── */
.dog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  background: #1bbd36;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .15s;
  margin-bottom: 25px;
}
.dog-btn:hover { background: #16a030; }
.dog-btn:active { transform: scale(.98); }
.dog-btn .dog-arrow { transition: transform .2s; }
.dog-btn:hover .dog-arrow { transform: translateX(5px); }

/* ─── Блок действий с договором ─── */
#dogsave {
  display: none;
  margin: 8px 0 24px;
}
.dog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.dog-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #1bbd36;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, transform .15s;
}
.dog-action-btn:hover { background: #16a030; }
.dog-action-btn:active { transform: scale(.98); }
.dog-action-btn .fa { transition: transform .2s; }
.dog-action-btn:hover .fa { transform: translateY(3px); }

/* ─── Карточка отправки на e-mail ─── */
#mail_block {
  display: none;
  background: #fff;
  border: 1.5px solid #c0e8c8;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 16px auto 32px;
  max-width: 560px;
}
.dog-mail-title {
  color: #1bbd36;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
}
.dog-mail-title i { margin-right: 8px; }
.dog-field-wrap { margin-bottom: 16px; }
.dog-field-wrap label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
  font-weight: 600;
  float: none;
}
.dog-field-wrap input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1.5px solid #ccc;
  border-radius: 7px;
  font-size: 15px;
  height: auto;
  transition: border-color .2s;
  float: none;
}
.dog-field-wrap input[type="email"]:focus { border-color: #1bbd36; outline: none; }
#captchablock {
  margin-bottom: 16px;
}
#captchablock p {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 12px;
}
.g-recaptcha {
  display: flex;
  justify-content: center;
}
.dog-mail-submit {
  display: block;
  width: 100%;
  padding: 13px;
  background: #1bbd36;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  margin-top: 4px;
}
.dog-mail-submit:hover { background: #16a030; }
.dog-mail-submit i { margin-left: 8px; }

/* ─── Успех отправки ─── */
#success_area {
  text-align: center;
  padding: 24px 16px;
}
#success_icon {
  width: 60px;
  height: 60px;
  background: url(../_img/success.png) no-repeat center/contain;
  margin: 0 auto 12px;
}
#success_h {
  font-size: 20px;
  font-weight: 700;
  color: #1bbd36;
  margin-bottom: 8px;
}
#success_text {
  font-size: 14px;
  color: #6f6f6f;
}

/* ─── Печать: только текст договора ─── */
@media print {
  body > * { display: none !important; }
  #dog-print-frame { display: block !important; }
}  
.redlbl {
  color: red;
  }
  
  
  
input, select{
    background: #fdfdfd;
}

input, select{
    padding-left: 2%;
    border: 1px solid #ccc;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 14px;
    height: 47px;
    box-sizing: border-box;
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    transition: all 0.15s linear;
    outline: none;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: initial;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    -webkit-rtl-ordering: logical;
}
input{
    -webkit-appearance: textfield;
    cursor: text;
}
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 36px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='%232C3459' d='M3 5l4 4 4-4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
    line-height: normal;
}
select::-ms-expand{ display: none; }
input::-webkit-input-placeholder {color:#000000; opacity:0.3;}/* webkit */
input::-moz-placeholder          {color:#000000; opacity:0.3;}/* Firefox 19+ */
input:-moz-placeholder           {color:#000000; opacity:0.3;}/* Firefox 18- */
input:-ms-input-placeholder      {color:#000000; opacity:0.3;}/* IE */
select::-webkit-input-placeholder {color:#000000; opacity:0.3;}/* webkit */
select::-moz-placeholder          {color:#000000; opacity:0.3;}/* Firefox 19+ */
select:-moz-placeholder           {color:#000000; opacity:0.3;}/* Firefox 18- */
select:-ms-input-placeholder      {color:#000000; opacity:0.3;}/* IE */
input:focus {border-color: #2C3459;}
select:focus {border-color: #2C3459;}


@media (min-width: 950px) {
.size1 {   
    display: block;
    width: 33%;
    margin-right: 0.3%;
} 
.size1 .label {width: 100%;} 
.size1 input {width: 90%;}
.size1 select {width: 90%;} 
.size2 {width: 60%;} 
.size2 .label{width: 100%;} 
.size2 input {width: 97%;} 
.nalog{
    display: block;
    margin: 10px 0;
} 
.size3 {width: 100%;}
.size3 .label{width: 100%;}
.size3 input {width: 95%;}

/* «Кем выдан» в одну строку с «Код подразделения»: левая граница по «Номеру»
   (за size1 = 33% + 0.3% margin), правая — по «Дате выдачи» (33.3% + 63% = 96.3%). */
.kv-wide {width: 63%;}
.kv-wide input {width: 100%;}
/* «Адрес регистрации»: правая граница по «Дате выдачи» (input 96.3%). */
.adr-wide input {width: 96.3%;}

}

@media (min-width: 600px) and (max-width: 949px) {
.size1 {   
    width: 50%;
} 
.size1 .label {width: 100%;} 
.size1 input, .size1 select {width: 92%;} 
.size2 {width: 60%;} 
.size2 .label{width: 100%;} 
.size2 input {width: 97%;} 
.nalog{
    display: block;
    margin: 10px 0;
} 
.size3 {width: 100%;} 
.size3 .label{width: 100%;} 
.size3 input {width: 95%;} 
}

@media (max-width: 599px) {
.size1 {   
    width: 100%;
} 
.size1 .label {width: 100%;} 
.size1 input , .size1 select {width: 95%;} 
.size2 {width: 60%;} 
.size2 .label{width: 100%;} 
.size2 input {width: 97%;} 
.nalog{
    display: block;
    margin: 10px 0;
} 
.size3 {width: 100%;} 
.size3 .label{width: 100%;} 
.size3 input {width: 95%;} 
}



.button-center{
  width: 100%;
  text-align: center;
  }
.button{
  margin: 20px auto;
  }