.custom-quiz-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    display: inline-block;
}

.custom-quiz-button img {
    display: block;
    width: 257px; /* Подставьте ваши размеры */
    height: auto;
}

.custom-quiz-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}



.quiz-modal {
    position: fixed;
    width: 80vw;
    background: antiquewhite;
    left: 10vw;
    top: 10vh;
    height: 80vh;
    z-index: 99;
}

.quiz-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.quiz-modal__body {
    padding:20px;
}
.quiz-modal__content {
    background: white;
    width: 100%;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.quiz-modal__main-banner {
    padding-left:90vh;
    background-image: url("../../tX6uQ3MetGg.jpg");
    height:80vh;
    background-size: 90vh;
    background-repeat: no-repeat;
    display:grid;
}
.quiz-modal__main-banner-header {
    height: 2.3125rem;
    display:flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    border-bottom: 1px solid #c7c7c7;
}
.quiz-modal__main-banner-header img{
     height: 2.3125rem;
     width: auto;
}
.quiz-modal__main-banner-body {
    height: auto;
    text-align: center;
    align-items: center;
    align-self: center;
    margin:30px;
}
.quiz-modal__main-banner-body p {
    color: #707070;
    padding:10px 0;
}
.quiz-btn.quiz-btn--start {
    background: rgb(230, 69, 85) !important;
    border-radius: 50px;
    box-shadow: 0 1px 5px 0 #000;
    margin:20px auto;
}

.quiz-modal__main-banner-footer {
    justify-content: end;
    align-items: center;
    height: 20px;
    
    margin:10px 30px;
    align-self: end;
}

.quiz-modal__close {
    position: absolute;
    top: -25px;
    right: -25px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.quiz-modal__title {
    margin-top: 0;
    color: #333;
}

.quiz-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.quiz-btn:hover {
    background: #45a049;
}

.quiz-btn--prev {
    background: #666;
}

.quiz-btn--prev:hover {
    background: #555;
}

.quiz-answer {
    background: #fff;
    padding:20px;
}
.quiz-answer.active {
    border: 1px solid #4CAF50;
}

/* Стили для квиза */
.quiz-loading, .quiz-error {
    text-align: center;
    padding: 40px;
}

.quiz-progress {
    margin-bottom: 20px;
}

.quiz-progress-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.quiz-progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s;
}

.quiz-question-title {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.quiz-answers {
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}

.quiz-answer {
    display: block;
    text-align: left;
    padding: 15px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-answer:hover {
    border-color: #4CAF50;
    background: #f8fff8;
}

.quiz-answer.active {
    border-color: #4CAF50;
    background: #e8f5e9;
    color: #2e7d32;
}

.quiz-answer--checkbox {
    display: flex;
    align-items: center;
}

.quiz-answer--checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.quiz-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.quiz-btn--prev {
    background: #666;
    color: white;
}

.quiz-btn--prev:hover {
    background: #555;
}

.quiz-btn--next, .quiz-btn--submit {
    background: #4CAF50;
    color: white;
}

.quiz-btn--next:hover, .quiz-btn--submit:hover {
    background: #45a049;
}

.quiz-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.quiz-result {
    text-align: center;
    padding: 20px;
}

.quiz-result-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.quiz-result-title {
    color: #4CAF50;
    margin-bottom: 15px;
}

.quiz-result-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.quiz-result-details {
    text-align: left;
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.quiz-result-details h4 {
    margin-top: 0;
    color: #333;
}

.quiz-result-details ul {
    margin: 10px 0;
    padding-left: 20px;
}

.quiz-result-details li {
    margin: 5px 0;
    color: #555;
}

.quiz-result-price {
    font-size: 18px;
    color: #e91e63;
    margin: 20px 0;
    padding: 15px;
    background: #fff3f8;
    border-radius: 8px;
    border-left: 4px solid #e91e63;
}

.quiz-result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.quiz-btn--primary {
    background: #2196F3;
    color: white;
}

.quiz-btn--primary:hover {
    background: #0b7dda;
}

.quiz-form-group--checkbox {
    margin: 20px 0;
}

.quiz-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.quiz-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.quiz-checkbox-text {
    flex: 1;
    color: #666;
}

.quiz-checkbox-text a {
    color: #007bff;
    text-decoration: none;
}

.quiz-checkbox-text a:hover {
    text-decoration: underline;
}

.quiz-contact-form {
    width:auto;
    margin:20px auto;
}
.quiz-contact-title {
    margin:4vh 0;
}

p.quiz-contact-description {
    color: #707070;
    padding: 5px 0 10px 0;
}
.quiz-form-group label {
    font-weight: 600;
    color: #707070;
}
.quiz-form-group {
    margin: 10px 0;
}
input.quiz-form-input {
    border: 1px solid #a7a7a7;
    border-radius: 5px;
    padding: 5px 10px;
}
small.quiz-answer-hint {
    color: #a7a7a7;
    padding: 0 15px;
}
.quiz-contact-form {
    /* text-align: center; */
    width: fit-content;
}

@media (max-width:756px){
    .quiz-modal__main-banner{
            background: none;
        width: 100%;
        padding: 0;
    }
    

}