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

/* Заголовок */
.tt-header {
    text-align: center;
    margin-bottom: 30px;
}

.tt-title {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 24px;
}

.tt-description {
    color: #666;
    margin: 0;
    font-size: 16px;
}

/* Прогресс-бар */
.tt-progress {
    margin-bottom: 30px;
}

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

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

.tt-progress-text {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Вопросы */
.tt-question-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.tt-question {
    margin-bottom: 30px;
}

.tt-question-text {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
}

.tt-answers {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.tt-answer-btn {
    padding: 12px 24px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    min-width: 120px;
}

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

.tt-answer-btn.tt-active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.tt-btn-yes:hover { border-color: #4CAF50; }
.tt-btn-no:hover { border-color: #f44336; }
.tt-btn-skip:hover { border-color: #ff9800; }

.tt-btn-yes.tt-active { background: #4CAF50; }
.tt-btn-no.tt-active { background: #f44336; }
.tt-btn-skip.tt-active { background: #ff9800; }

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

.tt-nav-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #2196F3;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.tt-nav-btn:hover:not(.tt-btn-disabled) {
    background: #1976D2;
}

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

/* Результаты */
.tt-results {
    background: white;
    padding: 30px;
    border-radius: 8px;
}

.tt-result-header {
    text-align: center;
    margin-bottom: 30px;
}

.tt-result-title {
    color: #333;
    margin: 0;
    font-size: 22px;
}

.tt-scores {
    margin-bottom: 30px;
}

.tt-score-item {
    margin-bottom: 20px;
}

.tt-score-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.tt-score-value {
    float: right;
    font-weight: bold;
    color: #2196F3;
}

.tt-score-bar {
    width: 100%;
    height: 12px;
    background: #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 5px;
}

.tt-score-fill {
    height: 100%;
    background: #2196F3;
    transition: width 0.5s ease;
}

/* Темперамент */
.tt-temperament-result {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fff8;
    border-radius: 8px;
}

.tt-temperament-title {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.tt-temperament-type {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 15px;
}

.tt-temperament-description {
    color: #666;
    line-height: 1.6;
}

/* Кнопки действий */
.tt-actions {
    text-align: center;
}

.tt-action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    transition: background 0.3s;
}

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

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

.tt-share-title {
    text-align: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 16px;
}

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

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

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

.tt-share-vk { background: #4C75A3; }
.tt-share-tg { background: #0088cc; }
.tt-share-wa { background: #25D366; }
.tt-share-copy { background: #666; }

/* Уведомления */
.tt-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: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    text-align: center;
}

.tt-notification-content {
    text-align: center;
}

.tt-notification-text {
    display: block;
}

/* Адаптивность */
/* Tablet */
@media (max-width: 768px) {
    .tt-container {
        padding: 15px;
    }
    
    .tt-question-container {
        padding: 20px;
    }
    
    .tt-answers {
        flex-direction: column;
        align-items: center;
    }
    
    .tt-answer-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .tt-navigation {
        flex-direction: column;
    }
    
    .tt-notification {
        padding: 20px 25px;
        font-size: 16px;
        margin: 0 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .tt-title {
        font-size: 20px;
    }
    
    .tt-question-text {
        font-size: 16px;
    }
    
    .tt-answer-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .tt-share-buttons {
        gap: 10px;
    }
    
    .tt-share-btn {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    
    .tt-notification {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .tt-container {
        padding: 10px;
    }
    
    .tt-question-container {
        padding: 15px;
    }
    
    .tt-progress-text {
        font-size: 12px;
    }
    
    .tt-notification {
        padding: 12px 18px;
        font-size: 13px;
    }
}