/* hash: 505b5ed28ba01a5d4cf65693eab96206 */
/* Улучшенная форма обратной связи */
.modern-callback-form {
    max-width: 650px;
    margin: 0 auto 20px;
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.modern-callback-form:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 20px;
    text-align: center;
}

.form-header h2 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.form-header h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #3498db, #2c3e50);
}

.form-header p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.form-content {
    display: flex;
    justify-content: center;
}

.form-wrap {
    width: 100%;
}

.callback-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

/* Специальные стили для поля email в callback форме */
.callback-form .form-group:has(input[name="mail"]) {
    grid-column: span 2;
}

.callback-form input[type="text"],
.callback-form input[type="email"],
.callback-form input[type="tel"],
.callback-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.callback-form textarea {
    min-height: 120px;
    max-height: 200px;
    height: 120px;
    resize: vertical;
    line-height: 1.5;
    font-family: inherit;
}

.callback-form input:focus,
.callback-form textarea:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.callback-form input.error,
.callback-form textarea.error {
    border-color: #e74c3c;
    background-color: #fef2f2;
}

input[name="mail"].error {
    border-width: 2px;
    border-color: #e74c3c;
    background-color: #fef2f2;
    box-shadow: 0 0 0 1px rgba(231, 76, 60, 0.2);
}

input[name="mail"].error + .field-error {
    color: #e74c3c;
    font-weight: 500;
    font-size: 12px;
    background-color: #fef2f2;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 4px;
    border-left: 3px solid #e74c3c;
}

/* Сообщения об ошибках */
.form-message {
    background-color: #fef2f2;
    color: #e74c3c;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    border-left: 3px solid #e74c3c;
    grid-column: span 2;
}

.field-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    padding: 3px 8px;
    background-color: #fef2f2;
    border-radius: 4px;
}

/* reCAPTCHA */
.g-recaptcha {
    grid-column: span 2;
    margin: 5px 0;
    transform: scale(0.92);
    transform-origin: left top;
}

/* Политика конфиденциальности */
.privacy-policy {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #505050;
    margin: 8px 0;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.privacy-policy input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #3498db;
}

.privacy-policy label {
    font-size: 13px;
    line-height: 1.4;
}

.privacy-policy a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.privacy-policy a:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Кнопка отправки */
.submit-btn {
    grid-column: span 2;
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(to right, #2980b9, #3498db);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.1);
}

/* Сообщение об успехе */
.success-message-box {
    padding: 40px 30px;
    text-align: center;
    animation: successFadeIn 0.5s ease-out;
    max-width: 480px;
    margin: 20px auto;
}

@keyframes successFadeIn {
    0% { opacity: 0; transform: translateY(15px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes successCheckIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes successCheckStroke {
    0% { stroke-dashoffset: 30; }
    100% { stroke-dashoffset: 0; }
}

.success-message-box .icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    animation: successCheckIn 0.6s ease-out 0.1s both;
}

.success-message-box .icon-circle svg {
    width: 36px;
    height: 36px;
}

.success-message-box .icon-circle svg path {
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 30;
    animation: successCheckStroke 0.4s ease-out 0.5s both;
}

.success-message-box .title {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.success-message-box .description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.success-message-box .success-back-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.25);
    border: none;
    cursor: pointer;
}

.success-message-box .success-back-btn:hover {
    background: linear-gradient(to right, #2980b9, #2471a3);
    box-shadow: 0 4px 14px rgba(52, 152, 219, 0.35);
    transform: translateY(-1px);
}

.success-message-box .success-back-btn:active {
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 767px) {
    .modern-callback-form {
        margin: 10px;
        padding: 15px;
    }
    
    .callback-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .g-recaptcha,
    .privacy-policy,
    .submit-btn {
        grid-column: span 1;
    }
    
    .callback-form input[type="text"],
    .callback-form input[type="email"],
    .callback-form input[type="tel"],
    .callback-form textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .privacy-policy {
        padding: 8px;
        font-size: 12px;
    }
    
    .submit-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
} 
#lbOverlay {
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000;
	cursor: pointer;
}

#lbCenter,
#lbBottomContainer {
	position: absolute;
	z-index: 10001;
	overflow: hidden;
	background: #fff;
}

#lbCenter.lbLoading {
	background: #fff url(/zkernel/ctl/slimbox2/css/loading.gif?1778023610) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	background-repeat: no-repeat;
	border: 10px solid #fff;
}

#lbPrevLink,
#lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url(/zkernel/ctl/slimbox2/css/prevlabel.gif?1778023611) no-repeat 0 15%;
}

#lbNextLink {
	right: 0;
}

#lbNextLink:hover {
	background: transparent url(/zkernel/ctl/slimbox2/css/nextlabel.gif?1778023611) no-repeat 100% 15%;
}

#lbBottom {
	border: 10px solid #fff;
	border-top: 0;
	color: #666;
	font-size: 10px;
	font-weight: bold;
	line-height: 1.4em;
	text-align: left;
}

#lbCaption,
#lbNumber {
	margin-right: 72px;
}

#lbCaption {
	font-weight: bold;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	margin: 5px 0;
	background: transparent url(/zkernel/ctl/slimbox2/css/closelabel.gif?1778023610) no-repeat center;
	outline: none;
}