﻿
/*завдання для тренування властивостей степенів*/
:root {
    --bg: #f4f6fb;
    --card: #fff;
    --text: #1f2330;
    --hint: #6c7280;
    --primary: #4a6cf7;
    --good: #1fbf75;
    --bad: #ff4d4f;
    --opt: #e9eefc;
    --opt-hover: #d6dfff;
}

.power_train {
    font-family: system-ui, sans-serif;
    margin: 20px auto;
    max-width: 600px;
}

.power_card {
    background: var(--card);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.power_header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.power_title {
    font-weight: bold;
    font-size: 18px;
}

.power_meta {
    font-size: 13px;
    color: var(--hint);
}

.power_question {
    font-size: 22px;
    text-align: center;
    background: #fafbff;
    border: 1px dashed #dfe6ff;
    border-radius: 10px;
    padding: 12px;
    margin: 10px 0;
}

.power_options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.power_option {
    background: var(--opt);
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: .2s;
}

    .power_option:hover {
        background: var(--opt-hover);
    }

    .power_option.correct {
        background: #dff6eb !important;
        outline: 2px solid var(--good);
    }

    .power_option.wrong {
        background: #ffecec !important;
        outline: 2px solid var(--bad);
    }

.power_controls {
    text-align: center;
    margin-top: 12px;
}

.power_btn {
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 15px;
    cursor: pointer;
    margin: 0 5px;
    display: none;
}

    .power_btn.next {
        background: var(--primary);
        color: #fff;
    }

    .power_btn.retry {
        background: #e8eaf7;
        color: #2b2f3a;
    }

sup {
    font-size: .8em
}
/*//\\завдання для тренування властивостей степенів*/

/*завдання для тренування взаємного розміщення двох кіл*/
.placement_of_circles {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
}

    .placement_of_circles h2 {
        color: #333;
        text-align: center;
    }

    .placement_of_circles .question-container {
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        margin-top: 15px;
    }

    .placement_of_circles p {
        font-size: 1.1em;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .placement_of_circles label,
    .placement_of_circles input,
    .placement_of_circles select,
    .placement_of_circles button {
        font-size: 1em;
    }

        .placement_of_circles input[type="number"],
        .placement_of_circles select {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            width: 200px;
        }

    .placement_of_circles button {
        display: block;
        width: 100%;
        padding: 12px;
        margin-top: 15px;
        cursor: pointer;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        color: #fff;
        transition: background-color 0.3s ease;
    }

    .placement_of_circles .check-btn {
        background-color: #4CAF50;
    }

        .placement_of_circles .check-btn:hover {
            background-color: #45a049;
        }

    .placement_of_circles .next-btn {
        background-color: #2196F3;
        display: none;
    }

        .placement_of_circles .next-btn:hover {
            background-color: #1e87e5;
        }

    .placement_of_circles .result {
        text-align: center;
        margin-top: 15px;
        font-size: 1.2em;
        font-weight: bold;
    }

        .placement_of_circles .result.correct {
            color: green;
        }

        .placement_of_circles .result.incorrect {
            color: red;
        }

    /* Стилі для радіо-кнопок */
    .placement_of_circles .options-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .placement_of_circles .option-label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

        .placement_of_circles .option-label input[type="radio"] {
            cursor: pointer;
        }

    /* Стилі для ілюстрацій */
    .placement_of_circles .illustration {
        text-align: center;
        margin-top: 20px;
    }
/*//\\завдання для тренування взаємного розміщення двох кіл*/