:root {
    /* Переопределение переменных Bootstrap */
    --bs-modal-color: #333333; /* Цвет текста в модальном окне */
    --bs-body-font-family: 'Arial', sans-serif; /* Шрифт для body */
    --bs-body-font-size: 18px; /* Размер шрифта для body */
    --bs-body-font-weight: 400; /* Вес шрифта для body */
    --bs-body-text-align: left; /* Выравнивание текста для body */
    
    /* Вы можете добавить другие переменные Bootstrap, которые хотите переопределить */
}

main > .container {
    padding: 70px 15px 20px;
}

main {
    background-color: rgb(248, 249, 250);
}

.col-lg-8 {
    min-width: 840px !important;
}

/* Увеличиваем размер шрифта контента до 18px */
body {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* Стили для верхнего меню */
.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    font-size: 1.05rem;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(0, 0, 0, 0.55);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* Стили для кнопок в админке */
.btn-outline-danger,
.btn-outline-primary {
    border: none !important;
    background: transparent !important;
    color: #666 !important;
    padding: 0.25rem 0.5rem !important;
}

.btn-outline-danger:hover,
.btn-outline-primary:hover {
    background-color: #f5f5f5 !important;
    color: #666 !important;
}

.btn-outline-danger i,
.btn-outline-primary i {
    font-size: 1.1rem !important;
}

/* Стили для задач на всем сайте */
.task {
    position: relative;
    display: block;
    padding: 15px;
    margin: 10px 0;
    color: #212529;
    background-color: #f8f9fa;
    border-left: 4px solid #28a745;
    border-radius: 4px;
    font-weight: normal;
}

.task::before {
    content: '🚀 Задание';
    color: #28a745;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

/* Стили для prompt на всем сайте */
.prompt {
    position: relative;
    display: inline;
    padding: 0 4px; /* Горизонтальные отступы */
    box-shadow: rgba(135, 29, 194, 0.3) 0px 0px 0px 1px;
    color: rgb(135, 29, 193);
    background-color: rgba(135, 29, 194, 0.1);
    border-radius: 4px;
    margin: 0 2px; /* Отступы по бокам */
    line-height: 1.5; /* Высота строки */
    box-decoration-break: clone; /* Для корректного отображения при переносе строк */
    -webkit-box-decoration-break: clone; /* Для поддержки Safari */
}

/* Центрирование для класса row */
.row {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 100%;
}

