@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@600;900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");


body {
    color: #282828;
    background-color: #F2F2F4;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size:14px;
}
.landbg{
    background-image: url('../images/fontsland.svg');
}
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
span {
    font-family: 'Montserrat', sans-serif;
}
h3, .h3 {
    font-family: "Montserrat", sans-serif;
    font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
    margin: 0;
}
h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #777;
}

.h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #777;
}

.vh {
    height: 100vh;
    position: relative;
}

.h100 {
    height: 100%;
}

main {
    padding: 0 10px;
}
a{
    text-decoration: none;
    color: rgba(0, 0, 0, 0.55);
}
a:hover{
    text-decoration: none;
    color: #111;
}
.img{
    max-height: 114px;
    max-width: 114px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}
.header-logo2 {
    display: block;
    height: 40px;
    width: 156px;
    background-image: url('../images/logo.svg');
    background-repeat: no-repeat;
}
.header-logo-profile {
    display: block;
    height: 40px;
    width: 156px;
    background-image: url('../images/logo-white.svg');
    background-repeat: no-repeat;
}
.top-logo {
    display: block;
    height: 40px;
    width: 156px;
    background-image: url('../images/logo.svg');
    background-repeat: no-repeat;
}
.alert{
    position: fixed;
    z-index: 9999;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
}
.page-body {
    padding-top: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}
.sidebar-panel {
    width: 80px;
    background-color: #5059f3;
    padding: 36px 16px;
    text-align: center;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    border-radius: 5px;
    position: -webkit-sticky;
    position: sticky;
    z-index: 2;
    top: 100px;
    margin-bottom: 30px;
}
.page-center {
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
}
.conversation-panel {
    width: 300px;
    background-color: #ffffff;
    padding: 30px;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
    margin-left: auto;
    border-radius: 5px;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
    top: 100px;
    margin-bottom: 30px;
}
.bg-light {
    background-color: #fff;
}

.footer{
    background-color: #fff;

}
.bg-profile {
    background-color: #5059f3;
}
.form-control-search{
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 13px 10px 13px 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: calc(11px + (12 - 11) * ((100vw - 320px) / (1920 - 320)));
    text-transform: capitalize;
    border-radius: 5px;
}
.form-control-search::placeholder {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.form-control-search::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.form-control-search::-moz-placeholder {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}
.form-control-search:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
.post-stats ul{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.post-stats ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}
.post-stats ul li+li {
    margin-left: 15px;
}
.post-stats ul li span {
    color: #ffffff;
    text-transform: capitalize;
}
.post-stats ul li h3 {
    color: #ffffff;
    margin-left: 8px;
    font-weight: 600;
}
.navbarProf .container {
    justify-content: normal;
}
.fcf{
    color:#fff;
}
.user-img {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    position: relative;
}
.miniava {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.miniava span {
    color: rgba(255, 255, 255, 0.58);
    text-transform: capitalize;
    font-size: 12px;
}
.usmini{
    padding-left: 10px;
}
.user-img .available-stats {
    position: absolute;
    right: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border: 3px solid #ffffff;
    border-radius: 100%;
}
#notify {
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

/* Анимация пульсации для привлечения внимания */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 5px rgba(255, 71, 87, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}


.notification-badge.hidden {
    display: none;
}


.notification-badge.many {
    width: 22px;
    height: 22px;
    font-size: 9px;
}

#notify:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.opennotify {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 10px;
    overflow: hidden;
}

.opennotify.active {
    display: block;
}

.opennotify::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* Исправленные стили для меню профиля */
.openprofilemenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 10px;
    overflow: hidden;
}

.openprofilemenu.active {
    display: block;
}

.openprofilemenu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* Обновляем контейнеры для правильного позиционирования */
.col-1 {
    position: relative;
}

.col-3:last-child {
    position: relative;
}

/* Убедимся, что родительские элементы имеют правильное позиционирование */
.miniava {
    position: relative;
}

#notify {
    position: relative;
}

.notify-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.notify-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.notify-count {
    background: #ff4757;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
}

.notify-content {
    max-height: 300px;
    overflow-y: auto;
}

.notify-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 20px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.notify-item:hover {
    background-color: #f8f9fa;
}

.notify-item:last-child {
    border-bottom: none;
}

.notify-icon {
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
}

.notify-text p {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.notify-time {
    font-size: 12px;
    color: #6c757d;
}

.notify-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    background: #fafafa;
}

.view-all {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.notify-content::-webkit-scrollbar {
    width: 4px;
}

.notify-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notify-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.notify-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.user-img .available-stats.online {
    background-color: #2bc60c;
}
.miniava {
    cursor: pointer;
    
}

.miniava:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}



/* Заголовок профиля */
.profile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar img {
    border-radius: 50%;
}

.profile-details h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.profile-details span {
    font-size: 12px;
    color: #6c757d;
}

/* Контент меню */
.profile-menu-content {
    padding: 8px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #f8f9fa;
}

.menu-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
    color: #6c757d;
}

.menu-item:hover i {
    color: #333;
}

/* Особые стили для админки и выхода */
.admin-item i {
    color: #28a745;
}

.logout-item {
    color: #dc3545;
}

.logout-item i {
    color: #dc3545;
}

.logout-item:hover {
    background-color: #fff5f5;
    color: #dc3545;
}

/* Разделитель */
.menu-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}
/* Нижняя мобильная панель */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #5059f3;
    padding: 8px 0;
    z-index: 9998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 8px 4px;
    position: relative;
    transition: background-color 0.3s ease;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Бейдж для уведомлений в мобильной панели */
.mobile-badge {
    position: absolute;
    top: 4px;
    right: 20%;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #5059f3;
}

/* Мобильные меню (скрыты по умолчанию) */
.mobile-notifications,
.mobile-profile-menu,
.mobile-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
}

/* Мобильное меню уведомлений */
.mobile-notifications {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-notifications.active {
    display: block;
    transform: translateY(0);
}

.mobile-profile-menu {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-profile-menu.active {
    display: block;
    transform: translateY(0);
}

/* Заголовки мобильных меню */
.mobile-notify-header,
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-notify-header h3,
.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.close-mobile-notify,
.close-mobile-menu {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.close-mobile-notify:hover,
.close-mobile-menu:hover {
    background-color: #f0f0f0;
}

/* Контент мобильных меню */
.mobile-notify-content,
.mobile-menu-content {
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 0;
}

/* Адаптация существующих стилей для мобильных */
@media (max-width: 991px) {
    .profilenav, .sidebar-panel {
        display: none !important;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    .opennotify,
    .openprofilemenu {
        display: none !important;
    }
    
    /* Увеличиваем размеры для мобильных */
    .notify-item,
    .menu-item {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .notify-item i,
    .menu-item i {
        font-size: 20px;
        width: 24px;
    }
}

/* Показываем десктопные элементы только на больших экранах */
@media (min-width: 992px) {
    .mobile-bottom-nav,
    .mobile-notifications,
    .mobile-profile-menu,
    .mobile-overlay {
        display: none !important;
    }
}

.btn-login {
    color: #fff;
    border: 1px solid #5059F3;
    background-color: #5059F3;
    transition: .2s;
}

.btn-register {
    color: #5059F3;
    border: 1px solid #5059F3;
    transition: .2s;
}

.btn-login:hover {
    color: #5059F3;
    border: 1px solid #5059F3;
    background-color: #fff;
    transition: .2s;
}

.btn-register:hover {
    color: #fff;
    border: 1px solid #5059F3;
    background-color: #5059F3;
    transition: .2s;
}
.btn-tg{
    color: #fff;
    border: 1px solid #1f98d4;
    background-color: #1f98d4;
    transition: .2s;
    width: 100%;
    padding:0;
    position: relative;
    top:0;
}
.btn-vk{
    color: #fff;
    border: 1px solid #5b88bd;
    background-color: #5b88bd;
    transition: .2s;
    width: 100%;
    padding:0;
    position: relative;
    top:0;
}
.btn-tg:hover{
    color: #fff;
    border: 1px solid #1f98d4;
    background-color: #1f98d4;
    position: relative;
    top:-2px;
}
.btn-vk:hover{
    color: #fff;
    border: 1px solid #5b88bd;
    background-color: #5b88bd;
    position: relative;
    top:-2px;
}
.btn-vhod{
    width: 100%;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    background-color: #5059f3;
}
.btn-rega{
    width: 100%;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    background-color: #41c745;
}
/* Шапка профиля */
.profile-header {
    position: relative;
    margin-bottom: 0;
    background: #f8f9fa;
}

.cover-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-cover-edit {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-cover-edit:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-2px);
}

.btn-cover-edit:disabled {
    cursor: not-allowed;
}

.profile-info-card {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: -80px;
    z-index: 10;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.cursor-pointer {
    cursor: pointer;
}

.btn-avatar-edit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    background: #5059f3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-avatar-edit:hover {
    background: #3a43e0;
    transform: scale(1.1);
}

.btn-avatar-edit:disabled {
    cursor: not-allowed;
}

.user-main-info .username {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.status-online {
    color: #28a745;
    font-weight: 500;
}

.status-online i {
    font-size: 8px;
}

.premium-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.btn-edit-profile {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
}

/* Навигация */
.profile-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 20px;
}

.profile-nav .nav-link {
    padding: 15px 25px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.profile-nav .nav-link.active,
.profile-nav .nav-link:hover {
    color: #5059f3;
    border-bottom-color: #5059f3;
}

/* Summernote стили */
.note-editor.note-frame {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.note-editor.note-frame .note-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 8px 10px;
}

.note-editor.note-frame .note-statusbar {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.note-editor.note-frame .note-editing-area .note-editable {
    min-height: 120px;
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.note-editor.note-frame .note-statusbar {
    display: none;
}

/* Скрываем ненужные кнопки в Summernote */
.note-editor .note-toolbar .note-style,
.note-editor .note-toolbar .note-fontname,
.note-editor .note-toolbar .note-fontsize,
.note-editor .note-toolbar .note-color,
.note-editor .note-toolbar .note-insert,
.note-editor .note-toolbar .note-view,
.note-editor .note-toolbar .note-help {
    display: none !important;
}

/* Карточка информации */
.user-info-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.user-info-card .card-title {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.detail-item i {
    color: #5059f3;
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background: #5059f3;
    color: white;
    transform: translateY(-2px);
}

/* Форма поста */
#postForm .card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.attachment-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.media-preview {
    position: relative;
    width: 80px;
    height: 80px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview, .document-preview {
    flex-direction: column;
    background: #f8f9fa;
}

.video-preview i {
    font-size: 24px;
    color: #dc3545;
}

.document-preview i {
    font-size: 24px;
    color: #6c757d;
}

.btn-remove-media {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Посты */
.post-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.post-content {
    line-height: 1.6;
    color: #333;
}

.post-content p {
    margin-bottom: 10px;
}

.post-content ul, .post-content ol {
    margin-bottom: 10px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 5px;
}

.post-content blockquote {
    border-left: 4px solid #5059f3;
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #666;
}

.post-media {
    position: relative;
    margin-bottom: 15px;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 15px 0;
}

.post-action {
    display: flex;
    align-items: center;
    color: #6c757d;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.9rem;
    gap: 5px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.post-action:hover {
    color: #495057;
}

.post-action.liked {
    color: #dc3545;
}

.post-action i {
    font-size: 1.1rem;
}

.post-action span {
    font-size: 0.85rem;
}

/* Комментарии */
.comments-preview {
    margin-bottom: 10px;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    margin-bottom: 12px;
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-content {
    font-size: 0.9rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 12px;
}

.comment-item strong {
    color: #333;
}

.comment-like-form button {
    color: #6c757d;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
}

.comment-like-form button.liked {
    color: #dc3545;
}

.comment-like-form button:hover {
    color: #dc3545;
}

.show-all-comments {
    color: #5059f3;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
}

.show-all-comments:hover {
    text-decoration: underline;
}

.comment-form-container {
    transition: all 0.3s ease;
}

/* Аватары */
.avatar-preview-container {
    text-align: center;
    padding: 15px;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    background: #f8f9fa;
}

.avatar-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.avatar-thumbnail {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.avatar-thumbnail:hover {
    transform: scale(1.1);
    border-color: #5059f3;
}

.avatar-thumbnail.active {
    border-color: #5059f3;
    box-shadow: 0 0 0 2px #5059f3;
}

.progress-text {
    font-size: 12px;
    font-weight: bold;
    color: white;
}

#avatarUploadMessage .alert {
    margin-bottom: 0;
}

#selectAvatarBtn.bg-light {
    background-color: #e9ecef !important;
    border-color: #6c757d !important;
}

/* Swiper */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto !important;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    z-index: 1000;
}

.loading-spinner-cover {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    z-index: 1000;
}

/* Анимация для лайка */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.like-btn.liked i {
    animation: heartBeat 0.3s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cover-container {
        height: 200px;
    }
    
    .profile-info-card {
        margin-top: -60px;
        padding: 20px;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-stats {
        gap: 20px;
        margin: 20px 0;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .profile-actions {
        align-items: center;
        text-align: center;
    }
    
    .user-main-info {
        text-align: center;
    }
    
    .user-status {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .cover-container {
        height: 150px;
    }
    
    .profile-info-card {
        margin-top: -50px;
        padding: 15px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .username {
        font-size: 20px;
    }
    
    .profile-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .post-actions {
        gap: 15px;
    }
    
    .post-action {
        font-size: 0.8rem;
    }
}
.blockmain {
    background-color: #fff;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}
.blockmainlandone {
    background-color: #fff;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    margin-top: 4rem;
    padding:10px;
}
.blockmainland {
    background-color: #fff;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    margin-top: 1rem;
    padding:10px;
}
.blockmainland p{
    line-height: 1.5em;
    font-size: 16px;
}


.footer-nav {
    margin-left: 0; /* ÐžÑ‚ÑÑ‚ÑƒÐ¿ ÑÐ»ÐµÐ²Ð° Ð² Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ðµ IE Ð¸ Opera */
    padding-left: 0; /* ÐžÑ‚ÑÑ‚ÑƒÐ¿ ÑÐ»ÐµÐ²Ð° Ð² Ð±Ñ€Ð°ÑƒÐ·ÐµÑ€Ðµ Firefox, Safari, Chrome */
   }
.footer-nav li{
    list-style-type: none;
    padding: 0;
}
.footer-nav li a{
    text-decoration: none;
    color: rgba(0, 0, 0, 0.55);
}
.footer-nav li a:hover{
    text-decoration: none;
    color: #111;
}
.form-control{
    height: 40px;
    background: #F2F2F4;
    border-radius: 2px;
    padding: 5px 10px 5px 10px;
    border: none;
    outline: none;
}
.form-control:focus {
    color: #212529;
    background-color: #F2F2F4;
    border-color: transparent;
    outline: 0;
    box-shadow:none;
}
.borderdiv{

        padding: 1rem;
        border: 1px solid #d9d9db;
        border-radius: .5rem;
        -webkit-box-shadow: -3px -3px 20px 2px rgba(127, 131, 133, 0.2);
        -moz-box-shadow: -3px -3px 20px 2px rgba(127, 131, 133, 0.2);
        box-shadow: -3px -3px 20px 2px rgba(127, 131, 133, 0.2);
    
}

@media screen and (max-width: 1366px){
    .down {
        position: absolute;
        bottom: 0%;
        left: calc(50% - 32px);
    }
}

@media (min-width: 320px) and (max-width: 500px){
    h1 {
        font-size: 1rem;
    }
    .h1 {
        font-size: 1rem;
    }
    p{
        font-size: .8rem;
    }
    .btn{
        padding: 10px 3px;
    font-size: 0.8rem;
    margin: 5px 0;
    }
    .down {
        display: none;
    }
    .vh {
        height: auto;
        margin-top: 1rem;
    }
    .mt-cu-4{
        margin-top: 4rem;
    }
    .blockmain {
        padding: 10px;
    }
    .swiper-slide img {
        display: none;
    }
    .btn-login{
        width: 100%;
    }
    .btn-register{
        width: 100%;
    }
}
@media (max-width: 320px){
    h1 {
        font-size: 1rem;
    }
    .h1 {
        font-size: 1rem;
    }
    p{
        font-size: .8rem;
    }
    .btn{
        padding: 10px 3px;
    font-size: 0.8rem;
    margin: 5px 0;
    }
    .down {
        display: none;
    }
    .vh {
        height: auto;
        margin-top: 1rem;
    }
    .mt-cu-4{
        margin-top: 4rem;
    }
    .blockmain {
        padding: 10px;
    }
    .swiper-slide img {
        display: none;
    }
    .btn-login{
        width: 100%;
    }
    .btn-register{
        width: 100%;
    }
}
.linkalert{
    z-index: 999;
    width: 400px;
    position: absolute;
    text-align: center;
    top: 50%;
    left: calc(50% - 150px);
    background: #fff;
    padding: 10px;
    border: 2px solid #5059f3;
}
.linkcp{
        color: #fff;
    border: 1px solid #5059F3;
    background-color: #5059F3;
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
}
/* Левое фиксированное меню */
.left-fixed-menu {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #5059f3;
    border-radius: 15px;
    padding: 15px 10px;
    box-shadow: 0 5px 25px rgba(80, 89, 243, 0.3);
    z-index: 1000;
    min-width: 60px;
}

.left-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.left-menu li {
    margin: 0;
}

.left-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.left-menu a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.left-menu a.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.left-menu i {
    font-size: 20px;
}

/* Тултипы для меню */
.left-menu a::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-left: 10px;
    pointer-events: none;
}

.left-menu a::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-left: 0;
    pointer-events: none;
}

.left-menu a:hover::after,
.left-menu a:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Бейджи для уведомлений в левом меню */
.menu-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #5059f3;
    animation: pulse 2s infinite;
}

/* Адаптивность для левого меню */
@media (max-width: 1200px) {
    .left-fixed-menu {
        display: none;
    }
}

/* Для очень больших экранов */
@media (min-width: 1920px) {
    .left-fixed-menu {
        left: 20px;
    }
}
/* Quill Editor Styles */
.ql-editor {
    min-height: 120px;
    font-size: 14px;
    line-height: 1.5;
}

.ql-toolbar.ql-snow {
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.ql-container.ql-snow {
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.ql-editor.ql-blank::before {
    color: #6c757d;
    font-style: italic;
}

/* Swiper Improvements */
.post-swiper {
    border-radius: 10px;
    overflow: hidden;
}

.swiper-slide img {
    border-radius: 10px;
}

/* Mobile Improvements */
@media (max-width: 768px) {
    .sidebar-widget {
        display: none;
    }
    
    .profile-nav .navbar-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .profile-nav .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Notification and Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 999;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Copy link styles */
.copy {
    cursor: pointer;
    margin-left: 5px;
    color: #5059f3;
    transition: color 0.3s ease;
}

.copy:hover {
    color: #3a43e0;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Post dropdown improvements */
.post-options {
    border: none;
    background: none;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.post-options:hover {
    background-color: #f8f9fa;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    transform: none;
    margin-top: 5px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 5px 0;
    min-width: 180px;
    z-index: 1000;
}

/* Для случаев, когда меню выходит за правый край */
.dropdown-menu.dropdown-menu-end {
    right: auto;
    left: 0;
}

/* Автоматическое определение стороны открытия */
.dropdown-menu[data-bs-popper] {
    left: auto;
    right: 0;
    margin-top: 0.125rem;
}


.dropdown-item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    width: 20px;
}
/* Стили для страниц подписчиков и подписок */
.list-group-item {
    border: none;
    padding: 20px;
    transition: background-color 0.2s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item:not(:last-child) {
    border-bottom: 1px solid #e9ecef !important;
}

/* Бейджи статусов */
.badge.bg-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
}

.badge.bg-warning {
    background: linear-gradient(45deg, #ffc107, #fd7e14) !important;
}

/* Кнопки действий */
.btn-group .btn {
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Хлебные крошки */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: #5059f3;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Адаптивность */
@media (max-width: 768px) {
    .list-group-item .row .col {
        min-width: 200px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start !important;
    }
    
    .input-group {
        max-width: 100% !important;
    }
}
/* Стили для ленты новостей */
#togglePostForm {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
}

#postFormCard {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

#postFormCard.show {
    border-color: #5059f3;
    box-shadow: 0 5px 15px rgba(80, 89, 243, 0.1);
}

/* Стили для правой колонки */
.card-header.bg-transparent {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 20px;
}

.list-group-item.list-group-item-action {
    border: none;
    padding: 15px 20px;
    transition: background-color 0.2s ease;
}

.list-group-item.list-group-item-action:hover {
    background-color: #f8f9fa;
}

/* Статистика в правой колонке */
.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5059f3;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Прогресс бар */
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
}



/* Адаптивность */
@media (max-width: 768px) {
    .col-lg-4 {
        margin-top: 2rem;
    }
    
    #togglePostForm {
        width: 100%;
    }
    
    .post-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .post-action {
        flex: 1;
        min-width: 100px;
    }
}

/* Анимации */
.post-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Кнопки подписки */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}
/* Стили для сворачивания длинного текста */
.post-text-collapsed {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.post-text-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.post-text-expanded {
    max-height: none;
    overflow: visible;
}

.read-more-btn,
.read-less-btn {
    color: #5059f3;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.read-more-btn:hover,
.read-less-btn:hover {
    color: #3a43e0;
}

/* Автоматическое определение длинного текста */
.post-content:not(.has-long-text) .read-more-btn,
.post-content:not(.has-long-text) .read-less-btn {
    display: none !important;
}


@media (max-width: 1367px) {
    .conversation-panel {
        width: 96px;
        padding: 0 20px 25px 20px;
    }
}
@media (max-width: 1661px) {
    .conversation-panel.xl-light {
        width: 96px;
        padding: 0 20px 25px 20px;
    }
}
/* Плавающие иконки для мобильных */
.mobile-sidebar-icons {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
}

.floating-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.floating-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #5059f3, #6c75ff);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(80, 89, 243, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.floating-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 89, 243, 0.6);
}

.floating-icon-btn:active {
    transform: translateY(0);
}

.floating-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

/* Модальные окна для мобильных */
.mobile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.mobile-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-modal-content {
    width: 95%;
    height: 90%;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mobile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.mobile-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-modal-close:hover {
    background: #f8f9fa;
    color: #333;
}

.mobile-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.mobile-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    background: white;
}

/* Анимация пульсации для бейджей */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 5px rgba(255, 71, 87, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* Адаптация контента для мобильных модалок */
.mobile-modal-body .card {
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mobile-modal-body .list-group-item {
    padding: 15px;
}

.mobile-modal-body .post-card {
    margin-bottom: 15px;
}

/* Прокрутка для модальных окон */
.mobile-modal-body::-webkit-scrollbar {
    width: 6px;
}

.mobile-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.mobile-modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.mobile-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Анимация появления иконок */
.floating-icon-btn {
    animation: floatIn 0.5s ease;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Для очень маленьких экранов */
@media (max-width: 576px) {
    .mobile-sidebar-icons {
        bottom: 90px;
        right: 0px;
    }
    
    .floating-icon-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .mobile-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .mobile-modal-header {
        padding: 15px;
    }
}
/* Стили для карточек Premium */
.premium-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.premium-popular {
    border: 2px solid #ffc107;
    transform: scale(1.05);
}

.premium-popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.premium-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.premium-badge.free {
    background: #e9ecef;
    color: #6c757d;
}

.premium-badge.premium {
    background: linear-gradient(45deg, #ffc107, #ffb300);
    color: #000;
}

.premium-badge.pro {
    background: linear-gradient(45deg, #495057, #6c757d);
    color: white;
}

.popular-badge {
    position: absolute;
    top: 30px;
    right: -35px;
    background: #dc3545;
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 1;
}

.price {
    margin: 20px 0;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 300;
    vertical-align: top;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price .period {
    font-size: 1rem;
    color: #6c757d;
}

.savings {
    margin-top: 10px;
}

.premium-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px 0;
}

.feature-item i {
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item.disabled {
    opacity: 0.6;
}

.premium-btn {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Стили для карточек POINTS */
.points-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.points-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.points-popular {
    border: 2px solid #5059f3;
}

.points-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.points-badge.starter {
    background: #e3f2fd;
    color: #1976d2;
}

.points-badge.popular {
    background: #5059f3;
    color: white;
}

.points-badge.pro {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.points-badge.max {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    color: white;
}

.points-amount {
    margin: 15px 0;
}

.points-amount .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

.points-amount .points-text {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.price-points {
    margin: 20px 0;
}

.price-points .currency {
    font-size: 1.25rem;
    font-weight: 400;
}

.price-points .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.points-price {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 20px;
}

.points-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.points-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.9rem;
}

.points-features li:last-child {
    border-bottom: none;
}

.points-btn {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Кастомные POINTS */
.custom-points-card {
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.custom-points-card .card-title {
    color: white;
    font-weight: 600;
}

.custom-points-card .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

.custom-points-controls .form-control {
    border-radius: 10px;
    border: none;
    padding: 12px 15px;
    font-weight: 500;
}

.custom-points-controls .input-group-text {
    background: white;
    border: none;
    font-weight: 600;
    color: #5059f3;
}

#buyCustomPoints {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

#buyCustomPoints:hover {
    background: white;
    color: #5059f3;
}

/* Адаптивность */
@media (max-width: 768px) {
    .premium-popular {
        transform: none;
    }
    
    .premium-popular:hover {
        transform: translateY(-5px);
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .points-amount .number {
        font-size: 2rem;
    }
    
    .custom-points-card .row {
        flex-direction: column;
        text-align: center;
    }
    
    .custom-points-card .col-md-6 {
        margin-bottom: 20px;
    }
}

/* Анимации */
@keyframes pulse-gold {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.premium-popular {
    animation: pulse-gold 2s infinite;
}

/* Модальное окно оплаты */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}
/* Стили для карточки быстрого пополнения */
.quick-topup-card {
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.quick-topup-card .card-title {
    color: #333;
    font-weight: 600;
}

/* Стили для карточек баланса */
.balance-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.balance-card:hover {
    transform: translateY(-2px);
}

.balance-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.balance-header i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.balance-header h6 {
    color: #333;
    font-weight: 600;
}

.balance-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.balance-item .label {
    color: #6c757d;
    font-size: 0.9rem;
}

.balance-item .value {
    font-weight: 500;
}

/* Форма пополнения */
.topup-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.topup-form-content h6 {
    color: #333;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.topup-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.topup-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.topup-form .form-control:focus {
    border-color: #5059f3;
    box-shadow: 0 0 0 0.2rem rgba(80, 89, 243, 0.1);
}

.topup-form .input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-left: none;
    font-weight: 600;
    color: #495057;
}

/* Быстрый выбор суммы */
.quick-amounts .btn {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-amounts .btn:hover {
    background: #5059f3;
    color: white;
    border-color: #5059f3;
}

.quick-amounts .btn.active {
    background: #5059f3;
    color: white;
    border-color: #5059f3;
}

/* Информационные карточки */
.topup-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.info-card h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p {
    color: #6c757d;
    line-height: 1.4;
}

/* Кнопка пополнения */
.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}
.btn-danger {
    background: linear-gradient(45deg, #a72828ff, #c93920ff);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 59, 40, 0.3);
}

/* Анимация раскрытия */
.collapse {
    transition: all 0.3s ease;
}

.collapsing {
    transition: height 0.3s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .balance-card {
        margin-bottom: 15px;
    }
    
    .topup-form {
        padding: 20px 15px;
    }
    
    .topup-info {
        margin-top: 20px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .quick-amounts .btn {
        flex: 1;
        min-width: calc(50% - 8px);
    }
}

/* Иконки и украшения */
.bi-lightning-fill {
    background: linear-gradient(45deg, #ffc107, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bi-wallet2 {
    color: #5059f3;
}

.bi-coin {
    color: #ffc107;
}

/* Анимация появления */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.topup-form {
    animation: slideInUp 0.5s ease;
}
.linkalert{
    z-index: 999;
    width: 400px;
    position: absolute;
    text-align: center;
    top: 50%;
    left: calc(50% - 150px);
    background: #fff;
    padding: 10px;
    border: 2px solid #5059f3;
}
.linkcp{
        color: #fff;
    border: 1px solid #5059F3;
    background-color: #5059F3;
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
}
/* Стили для карточек пользователей */
.user-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Баннер пользователя */
.user-banner {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Аватар пользователя */
.user-avatar {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Информация пользователя */
.user-info {
    margin-top: 40px;
}

.user-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.user-bio {
    line-height: 1.4;
    margin-bottom: 12px;
}

.user-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #6c757d;
}

.stat-item strong {
    color: #333;
}

.stat-divider {
    color: #dee2e6;
}

/* Социальные сети */
.social-icons {
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
}

.social-link.telegram { background: #0088cc; }
.social-link.vk { background: #4c75a3; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.github { background: #333; }
.social-link.twitter { background: #1da1f2; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

/* Кнопки действий */
.user-actions {
    margin-top: 15px;
}

.user-actions .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.user-actions .btn-primary {
    background: linear-gradient(45deg, #5059f3, #6c75ff);
    border: none;
}

.user-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 89, 243, 0.3);
}

.user-actions .btn-outline-primary:hover {
    background: #5059f3;
    border-color: #5059f3;
}

/* Бейдж премиума */
.premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #ffc107, #ffb300);
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Статус онлайн/офлайн */
.online-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(40, 167, 69, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
}

.offline-status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(108, 117, 125, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
}

.online-status i {
    font-size: 0.5rem;
    animation: pulse 2s infinite;
}

.offline-status i {
    font-size: 0.5rem;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Пагинация */
.pagination .page-link {
    border: none;
    border-radius: 10px;
    margin: 0 4px;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #5059f3;
    color: white;
}

.pagination .page-item.active .page-link {
    background: #5059f3;
    border-color: #5059f3;
}

/* Адаптивность */
@media (max-width: 768px) {
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start !important;
    }
    
    .input-group {
        max-width: 100% !important;
    }
    
    .user-banner {
        height: 100px;
    }
    
    .user-avatar {
        width: 70px;
        height: 70px;
        bottom: -25px;
    }
    
    .user-info {
        margin-top: 35px;
    }
    
    .user-stats {
        flex-direction: column;
        gap: 4px;
    }
    
    .stat-divider {
        display: none;
    }
}

/* Заголовок страницы */
.h3 {
    color: #333;
    font-weight: 700;
}

/* Формы подписки */
form {
    margin: 0;
}

/* Карточка body */
.card-body {
    padding: 25px;
}

/* Плейсхолдер для баннера */
.banner-placeholder i {
    opacity: 0.7;
}
.profiledropw{
    position: absolute;
    top: 0;
    right: 0;
}