/* Стили для теста Жизненного Цикла компании */

#tft-lc-app {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Шаги формы */
.tft-lc-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tft-lc-step.active-step {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Заголовок блока */
.tft-lc-block-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

/* Контейнер вопросов */
.tft-lc-questions {
    margin-bottom: 30px;
}

/* Отдельный вопрос */
.tft-lc-question {
    margin-bottom: 30px;
}

.tft-lc-question-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 12px;
    line-height: 1.5;
}

.tft-lc-question-label .required {
    color: #e74c3c;
    margin-left: 4px;
}

/* Поля ввода */
.tft-lc-input,
.tft-lc-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid #dfe6e9;
    border-radius: 6px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.tft-lc-input:focus,
.tft-lc-textarea:focus {
    outline: none;
    border-color: #3498db;
}

.tft-lc-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Радио-кнопки */
.tft-lc-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tft-lc-radio-label {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tft-lc-radio-label:hover {
    background: #e9ecef;
    border-color: #3498db;
}

.tft-lc-radio {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.tft-lc-radio-text {
    margin-left: 12px;
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.4;
}

.tft-lc-radio:checked + .tft-lc-radio-text {
    font-weight: 600;
}

.tft-lc-radio-label:has(.tft-lc-radio:checked) {
    background: #e3f2fd;
    border-color: #3498db;
}

/* Навигация */
.tft-lc-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.tft-lc-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 130px;
    line-height: 1.2;
}

.tft-lc-btn-back {
    background: #95a5a6;
    color: #ffffff;
}

.tft-lc-btn-back:hover {
    background: #7f8c8d;
}

.tft-lc-btn-next,
.tft-lc-btn-submit {
    background: #3498db;
    color: #ffffff;
    margin-left: auto;
}

.tft-lc-btn-next:hover,
.tft-lc-btn-submit:hover {
    background: #2980b9;
}

.tft-lc-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Сообщения об успехе */
#tft-lc-success-with-email,
#tft-lc-success-without-email {
    text-align: center;
    padding: 60px 30px;
}

#tft-lc-success-with-email h2,
#tft-lc-success-without-email h2 {
    font-size: 28px;
    color: #27ae60;
    margin-bottom: 20px;
}

#tft-lc-success-with-email p,
#tft-lc-success-without-email p {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Состояние загрузки */
.tft-lc-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.tft-lc-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Сообщения об ошибках */
.tft-lc-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
    animation: errorShake 0.3s ease-in-out;
}

.tft-lc-error.show {
    display: block;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Блок согласия */
.tft-lc-agreement {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    margin-top: 30px;
    margin-bottom: 20px;
}

.tft-lc-agreement a {
    color: #3498db;
    text-decoration: underline;
}

.tft-lc-agreement a:hover {
    color: #2980b9;
}

/* Блок чекбокса отправки отчета */
.tft-lc-send-report-wrapper {
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.tft-lc-send-report-wrapper label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #2c3e50;
    margin: 0;
}

.tft-lc-send-report-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Навигация */
.tft-lc-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.tft-lc-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 130px;
    line-height: 1.2;
}
@media (max-width: 768px) {
    #tft-lc-app {
        padding: 20px;
        margin: 20px auto;
    }

    .tft-lc-block-title {
        font-size: 24px;
    }

    .tft-lc-navigation {
        flex-direction: column;
    }

    .tft-lc-btn-next,
    .tft-lc-btn-submit {
        margin-left: 0;
    }
}
