/* Стили для модального окна */
/* Если модальное окно не отображается, проверьте, применяется ли display: block */
.sm-modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.sm-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.sm-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.sm-modal-close:hover,
.sm-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.sm-modal-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.sm-modal-button:hover {
    background-color: #0056b3;
}

/* Styles for the remote lessons modal */
.sm-modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.sm-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    position: relative;
}

.sm-modal-content p {
    font-size: 1.2em; /* Increased font size for modal text */
    margin: 0 0 20px 0;
}

.sm-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.sm-modal-close:hover,
.sm-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.sm-modal-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
}

.sm-modal-button:hover {
    background-color: #0056b3;
}