/* Хедър секция */
.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.instructor-box {
    display: flex;
    gap: 15px;
}

.instructor-photo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.label {
    font-size: 13px;
    color: #597a7f;
}

.course-meta div {
    margin-bottom: 5px;
}

/* Прогрес бар */
.progress-box {
    text-align: right;
}

.progress-bar {
    background: #dbe8e7;
    height: 8px;
    border-radius: 40px;
    width: 180px;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: #0A756E;
    border-radius: 40px;
}

.progress-text {
    font-size: 14px;
    font-weight: 600;
}


/* Основна структура */
.course-layout {
    display: flex;
    gap: 30px;
}

/* Лява част */
.course-content {
    flex: 1;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topic {
    background: #fff;
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topic.completed {
    background: var(--light-green);
    color: #0a756e;
}

.topic.active {
    border-left: 4px solid #0A756E;
}

.topic.locked {
    opacity: 0.5;
}

.btn-start {
    background: #0A756E;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

/* Дясна част */
.sidebar {
    width: 320px;
}

.video-box {
    position: relative;
}

.video-thumb {
    width: 100%;
    border-radius: 12px;
}

.play-btn {
    position: absolute;
    top: 45%;
    left: 45%;
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: var(--green);
}

.details-card, .ask-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 20px;
}

.ask-card textarea {
    width: 100%;
    height: 100px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    resize: none;
    font-size: 14px;
}

.ask-btn {
    width: 100%;
    background: var(--green);
    color: #fff;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.ask-card textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    font-size: 15px;
    font-family: inherit;

    background-color: #fff;
    border: 2px solid #b9c8c6; /* по-видим бордър */
    border-radius: 10px;

    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #102b2f;
}

/* при задържане */
.ask-card textarea:hover {
    border-color: #0A756E;
}

/* при фокус */
.ask-card textarea:focus {
    border-color: #0A756E;
    box-shadow: 0 0 0 3px rgba(10, 117, 110, 0.15);
    background-color: #fff

