/* COURSE 22.12.2024
Developer: t.me/moretheme
Screen resolution: 460, 860, 1440, 1920 */
.course-form {
    display: grid;
    grid-gap: 40px;
    grid-auto-rows: max-content;
    grid-template-columns: 1fr 400px;
}

@media (max-width: 860px) {
    .course-form {
        grid-template-columns: 1fr;
    }
}

.course-form .e-grid2 h2 + span {
    display: block;
    color: var(--text2);
    font-size: 14px;
    font-weight: 300;
    margin-top: -20px;
    margin-bottom: 20px;
}

.course-form_payment .e-grid4 {
    border: 1px solid #ccc !important;
    border-radius: 16px;
}

.course-form_info {
    display: block;
    background: var(--bg2);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    border-radius: var(--radius);
    padding: 30px;
    height: max-content;
    order: 1;
}

@media (max-width: 860px) {
    .course-form_info {
        order: -1;
    }
}

.course-form_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.course-form_day {
    display: block;
    color: var(--text2);
    font-weight: 500;
    margin-bottom: 20px;
}

.course-form_day > span {
    display: inline-block;
    color: var(--color2);
    /* font-size: 16px; */
    font-weight: bold;
}

.course-form_subs {
}

.course-form_subs label {
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.course-form_total {
    display: block;
    margin-top: 20px;
    border-top: 2px dotted var(--bg2);
    padding-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

.course-form_total li#sale {
    display: block;
    color: #4caf50;
    font-size: 12px;
    margin: 5px 0;
}

.course-form_total li#bonus {
    display: block;
    color: #FF5722;
    font-size: 12px;
    margin: 5px 0;
}

.course-form_total li#total {
    font-size: 18px;
    margin-top: 20px;
}

.course-form_promo {
    background: var(--bg2);
    padding: 20px;
    border-radius: var(--radius);
}

.course-form_promo > input {
    background: var(--light);
    margin-bottom: 20px;
}

.course-form_promo button {
    display: inline-block;
    min-width: max-content;
    background: var(--color1);
    color: #fff;
    padding: 15px 20px;
    border-radius: var(--radius);
}

.course-code-info {
    margin: 12px 0;
}

.course-form_bonus {
    background: var(--bg2);
    padding: 20px;
    border-radius: var(--radius);
}

.course-form_bonus > div > div b {
    display: block;
    color: #6dd772;
    font-size: 16px;
}

.course-form_bonus > div > div span {
    color: var(--text2);
    font-size: 12px;
    font-weight: 300;
}

.course-form_payment {
}

h2 + .course-form_payment > span {
    display: block;
    margin-top: -20px;
    margin-bottom: 25px;
}

.course-form_payment > span {
    display: block;
    color: #7f7f7f;
    font-size: 14px;
    margin-bottom: 9px;
}

.course-form_payment label {
    position: relative;
    color: var(--text2);
    font-weight: 500;
    overflow: hidden;
}

.course-form_payment label input {
    position: absolute;
    margin: 12px;
}

.course-form_payment label input + img, .course-form_payment > a img {
    display: inline-block;
    padding: 10px 20px 10px 50px;
    border-radius: var(--radius);
    border: 2px solid var(--bg2);
    width: 100%;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 10px;
}

.course-form_payment label input:checked + img {
    opacity: 1;
    border: 2px solid var(--color2);
}

.course-form_payment label span, .courset-form_payment > a span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
}

/* ORDER PROFILE */
.course-order {
}

.course-order_list {
    display: grid;
    grid-gap: 30px;
    grid-auto-rows: max-content;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
    .course-order_list {
        grid-template-columns: 1fr;
    }
}

.course-order_list li {
    position: relative;
    background: linear-gradient(15deg, #1372d3, #7caad9);
    color: #fff;
    border-radius: var(--radius);
    padding: 20px;
    overflow: hidden;
}

.course-order_list li:nth-child(2n+2) {
    background: linear-gradient(15deg, #009688, #7cd982);
}

.course-order_list li span {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    margin: 10px 0;
}

.course-order_list li span:first-child {
    font-size: 16px;
    font-weight: bold;
}

/* BASKET CHECK */
.basket-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 60px;
}

/* ALERT */
.alert {
    position: fixed;
    width: 300px;
    right: 20px;
    top: 20px;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
}

@media (max-width: 860px) {
    .alert {
        right: 15px;
        top: 15px;
        font-size: 12px;
        width: 200px;
    }
}

.alert-block {
    position: relative;
    display: block;
    background: #4CAF50;
    border-radius: 10px;
    color: #fff;
    box-shadow: 3px 5px 8px rgba(0, 55, 76, 0.31);
    padding: 15px 40px 15px 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.alert-block.danger {
    background: #f49336;
}

.alert-block.error {
    background: #F44336;
}

.alert-block_bar {
    position: absolute;
    background: var(--light2);
    left: 0;
    bottom: 0;
    height: 2px;
}

.alert-block_close {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.img {
  position: relative;
}

.img i {
  top: 50%;
  left: 50%;
  font-size: 80px;
  position: absolute;
  transform: translate(-50%, -50%);
}

.shst_pay {
    font-size: 80px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 999px rgb(15 49 21 / 80%);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
}