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

.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;
}

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

@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(255, 255, 255, 0.75);
}

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

.current-tariff-container {
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
}

.current-tariff-container h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #856404;
}

.current-tariff-container p {
    font-size: 1.2em;
    margin: 5px 0;
    color: #856404;
}

.tariff-content {

    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    padding: 10px;
    justify-content: center;
}

.df {
    display: flex;
}

.div-tariff {
    font-weight: bold;
}

.tariff-block .btn-success {
    width: 100%;
}

.tariff-block div {
    margin-right: 0px;
    display: block;
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.countdown {
    background-color: #fff;
    padding: 17px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    font-size: 20px;
}

.discount-notice {
    background-color: #e7f3fe;
    color: #31708f;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#timer .timer {
    font-size: 1.5em;
    margin: 10px 0;
}

#message {
    font-size: 1.2em;
}

html.h-100 {
    height: max-content !important;
}

.profile-view {
    overflow: hidden;
}

body .btn {
    border-radius: 0.4rem;
}

@media (max-width: 992px) {
    .countdown {
        font-size: 16px;
    }

    #timer .timer {
        font-size: 1.2em;
        font-weight: bold;
    }

    .text-mobile span {
        display: block;
    }

    .text-mobile {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .rows-card {
        flex-direction: column-reverse;
    }

    .active-block-t3 strong span {
        display: block;
    }

    .video_block_iframe {
        width: 100%;
    }

    .table.table-hover tr {}

    .table.table-hover td {}
}

@media (max-width: 480px) {
    .video_block_iframe {
        width: 100%;
        height: 200px;
    }

    .like-index {
        overflow-x: scroll;
        max-width: 340px;
    }
}

.title-block-filter {
    background: #9bffc4;
    padding: 12px;
}

.title-block-filter .form-check-label {
    font-size: 18px;
    font-weight: bold;
}

.field-processingfriendrequestsettings-sendmessage {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
}

#processingfriendrequestsettings-sendmessage {
    border: 3px solid;
    padding: 6px;
}

.field-profile-status .form-check-label {
    font-size: 20px;
    font-weight: bold;
    color: green;
    margin-top: -5px;
}

table {
    border-radius: 10px;
    overflow: hidden;
}

.table-plans th,
.table-plans td {
    text-align: center;
}

.table-plans thead {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
}

.table-plans tbody tr:nth-child(odd) {
    background-color: #f3f4f6;
}

.table-plans tbody tr:hover {
    background-color: #e2e8f0;
    transition: background-color 0.3s;
}

table.table-plans {
    width: 100%;
}

.form-check-input {
    border: 3px solid;
    padding: 6px;
}

/* Сбрасываем квадратную форму */
.btn-birthday {
    width: 100%;
    /* УБРАНО: aspect-ratio: 1 / 1; */
    min-height: 52px;
    /* невысокая прямоугольная */
    padding: 10px 16px;
    /* комфортные отступы */
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    display: flex;
    /* горизонтально: иконка + текст */
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* расстояние между иконкой и текстом */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform .15s, box-shadow .15s;
}

/* Иконка без нижнего отступа и поменьше */
.btn-birthday i {
    font-size: 20px;
    margin-bottom: 0;
    line-height: 1;
}

/* Текст одной строкой, при необходимости переносится */
.btn-birthday span {
    font-size: 14px;
    line-height: 1.2;
    display: inline-block;
}

/* Лёгкая анимация наведения */
.btn-birthday:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Опционально: на очень узких экранах чуть выше для удобства тапа */
@media (max-width: 360px) {
    .btn-birthday {
        min-height: 56px;
    }
}


#previewImg {
    max-width: 150px;
}


.table td {
    overflow-wrap: break-word;
    word-break: break-word;
}