/* create_course.css */
/* Современные стили для формы создания курса */

/* Общий контейнер для страницы создания курса */
.course-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

.course-title {
    margin-bottom: 30px;
    color: #343a40;
    font-weight: 600;
}

.course-info {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modules-section {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 20px;
}

.card-body {
    padding: 25px;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #495057;
}

.form-control {
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.list-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.modules-list {
    border-radius: 0;
}

.module-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-left: none;
    border-right: none;
    transition: all 0.2s;
}

.module-item:hover {
    background-color: #f8f9fa;
}

.module-item:first-child {
    border-top: none;
}

.module-item:last-child {
    border-bottom: none;
}

.add-to-course, .remove-from-course, .move-up, .move-down {
    transition: all 0.2s;
}

.add-to-course:hover {
    transform: scale(1.1);
}

.remove-from-course:hover {
    transform: scale(1.1);
}

/* Отступы между кнопками в модулях курса */
.module-item .btn {
    margin: 0 3px;
}

.module-item .btn:first-child {
    margin-left: 0;
}

.module-item .btn:last-child {
    margin-right: 0;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 6px;
}
