body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7f6;
    color: #222222;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.header {
    background: white;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 16px;
}

.header h1 {
    margin: 0;
    font-size: 36px;
}

.header p {
    margin-bottom: 0;
    color: #666666;
    font-size: 18px;
}
.lessons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.lesson-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
}

.lesson-card h3 {
    margin-top: 0;
    margin-bottom: 25px;
}

.lesson-button {
    display: inline-block;
    padding: 10px 18px;
    background: #2f7d5b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.lesson-button:hover {
    background: #256649;
}
.lesson-page {
    margin-top: 30px;
    margin-bottom: 50px;
}

.lesson-page h1 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.back-link {
    color: #2f7d5b;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

.video-container {
    background: #111111;
    border-radius: 16px;
    overflow: hidden;
}

.video-container video {
    display: block;
    width: 100%;
    max-height: 650px;
}

.lesson-description {
    background: white;
    margin-top: 25px;
    padding: 25px;
    border-radius: 16px;
}

.lesson-description h2 {
    margin-top: 0;
}

.lesson-description p {
    line-height: 1.6;
}

@media (max-width: 800px) {

    .lessons {
        grid-template-columns: 1fr;
    }

    .container {
        width: 92%;
    }

    .header {
        padding: 20px;
        margin-top: 15px;
    }

    .header h1 {
        font-size: 30px;
    }

    .lesson-card {
        padding: 20px;
    }

    .lesson-page {
        margin-top: 20px;
    }

    .lesson-description {
        padding: 20px;
    }
}
.admin-lessons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-lesson {
    background: white;
    padding: 20px 25px;
    border-radius: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.admin-lesson h3 {
    margin: 0 0 8px 0;
}

.lesson-id {
    color: #777777;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.edit-button {
    display: inline-block;
    padding: 10px 16px;
    background: #2f7d5b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.delete-button {
    padding: 10px 16px;
    background: #eeeeee;
    color: #333333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.edit-button:hover {
    background: #256649;
}

.delete-button:hover {
    background: #dddddd;
}
.admin-header {
    background: white;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    margin-top: 0;
    margin-bottom: 10px;
}

.logout-button {
    padding: 10px 18px;
    background: #eeeeee;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.logout-button:hover {
    background: #dddddd;
}

.admin-create {
    margin-top: 25px;
    margin-bottom: 40px;
}
.admin-form {
    max-width: 750px;
    background: white;
    padding: 30px;
    margin: 30px auto;
    border-radius: 16px;
}

.admin-form h1 {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;

    border: 1px solid #cccccc;
    border-radius: 8px;

    font-family: Arial, sans-serif;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2f7d5b;
}

.save-button {
    padding: 12px 20px;
    background: #2f7d5b;
    color: white;

    border: none;
    border-radius: 8px;

    font-size: 16px;
    cursor: pointer;
}

.save-button:hover {
    background: #256649;
}
.form-hint {
    margin-top: 8px;
    margin-bottom: 0;
    color: #777777;
    font-size: 14px;
}
.form-error {
    color: #c62828;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 14px;
}