/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Общий фон */
body {
    background-color: #121212;
    color: #fff;
}

.tariff__time {
    font-weight: bold;
}

/* Шапка */
.header {
    background-color: #1a1a2e;
    padding: 20px 0;
    text-align: center;
}

.header__title {
    font-size: 33px;
    font-weight: bold;
    color: darkorchid;
}

/* Основной контент */
.main {
    padding: 20px;
}

.tariffs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.images {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

/* Карточка тарифа */
.tariff {
    background-color: #1e1e2d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.images {
    display: flex
;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.image {
    padding-bottom: 10px;
    padding-top: 7px;
    max-width: 20px;
}
.tariff__header {
    background-color: #2a2a4a;
    padding: 7px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.image {
    padding-bottom: 10px;
    padding-top: 7px;
    max-width: 20px;
}

img {
    max-width: 14px;
}

.tariff__type {
    font-size: 14px;
    color: #4dabf7;
}

.tariff__duration {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: bold;
}

.tariff__duration::before {
    color: #4dabf7;
}

.tariff__body {
    padding: 20px;
    padding-bottom: 50px;
}

.block_tariff\> {
    display: flex;
    gap: 3px;
    align-items: center;
}

.block_tariff {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 1px;
}

.tariff__row {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
    justify-content: space-between;
}

.tariff__name {
    font-size: 14px;
    color: #a8a8a8;
}

img {
    max-width: 14px;
}

.tariff__price-container {
    display: flex;
    gap: 1px;
    flex-direction: column;
    padding-right: 70px;
}

.tariff__price-active, .tariff__price-inactive {
    padding: 2px;
    border-radius: 5px;
    padding-bottom: 1px;
    font-size: 14px;
    font-weight: bold;
}

.tariff__price-active {
    color: #fff;
}

.tariff__price-inactive {
    background-color: transparent;
    color: #a8a8a8;
}

.tariff__value {
    font-size: 14px;
    font-weight: bold;
    color: #d9d9d9;
}

/* Разделительная линия */
.tariff__divider {
    height: 2px;
    background-color: #484861;
    margin: 15px 0;
}

.tariff__name_sub {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.tariff__bottom {
    display: flex;
    justify-content: space-between;
}

.tariff__row__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
