/* Контейнер */
.iqt-container {
    width: 100%;
    max-width: 100%;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Заголовок */
.iqt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.iqt-title {
    color: #333;
    margin: 0;
}

.iqt-timer {
    background: #ff6b6b;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* Экран начала */
.iqt-instructions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.iqt-instructions-list {
    margin: 15px 0;
    padding-left: 20px;
}

.iqt-instructions-list li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Кнопки */
.iqt-btn {
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
}

.iqt-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.iqt-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Прогресс */
.iqt-progress {
    margin-bottom: 20px;
}

.iqt-progress-bar {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

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

.iqt-progress-text {
    font-size: 14px;
    color: #666;
}

/* Вопросы */
.iqt-question-container {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.iqt-question {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.iqt-options {
    display: grid;
    gap: 10px;
}

.iqt-option {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.iqt-option:hover {
    border-color: #4CAF50;
    background: #f8fff8;
}

.iqt-option.selected {
    border-color: #4CAF50;
    background: #e8f5e8;
}

/* Навигация */
.iqt-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Результаты */
.iqt-results-screen {
    text-align: center;
}

.iqt-result-header {
    margin-bottom: 30px;
}

.iqt-score-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.iqt-score {
    font-size: 48px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 15px;
}

.iqt-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Кнопки поделиться */
.iqt-share-section {
    margin-bottom: 30px;
}

.iqt-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.iqt-share-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: white;
    transition: all 0.3s;
}

.iqt-share-btn:hover {
    transform: scale(1.1);
}

.iqt-vk { background: #4a76a8; }
.iqt-tg { background: #0088cc; }
.iqt-wa { background: #25d366; }
.iqt-copy { background: #666; }

/* Уведомления */
.iqt-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    background: #4CAF50;
    color: white;
    padding: 25px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Адаптивность */
/* Tablet */
@media (max-width: 768px) {
    .iqt-container {
        padding: 15px;
    }
    
    .iqt-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .iqt-question-container {
        padding: 20px;
    }
    
    .iqt-navigation {
        flex-direction: column;
    }
    
    .iqt-share-buttons {
        gap: 10px;
    }
    
    .iqt-share-btn {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .iqt-container {
        padding: 10px;
    }
    
    .iqt-question {
        font-size: 16px;
    }
    
    .iqt-option {
        padding: 12px;
    }
    
    .iqt-score {
        font-size: 36px;
    }
    
    .iqt-share-btn {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .iqt-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .iqt-share-buttons {
        gap: 8px;
    }
    
    .iqt-share-btn {
        width: 40px;
        height: 40px;
    }
}
/* Добавить в существующие стили */

/* Контейнер для изображений вопросов */
.iqt-image-container {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.iqt-image-container img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 5px;
}

/* Улучшенные стили для уведомлений */
.iqt-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100001;
    background: #4CAF50;
    color: white;
    padding: 25px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: iqt-fadeIn 0.3s ease-in;
}

@keyframes iqt-fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Улучшенные стили для кнопок поделиться */
.iqt-share-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.iqt-share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.iqt-vk { background: #4a76a8; }
.iqt-tg { background: #0088cc; }
.iqt-wa { background: #25d366; }
.iqt-copy { background: #666; }

/* Остальные существующие стили остаются без изменений */
/* ... */