* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Базовые стили для ссылок */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Запрет выделения иконок и галочек верификации */
i.fas,
i.far,
i.fab,
i[class*="fa-"],
.fa-check-circle,
svg {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.login-box h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
}

.telegram-login-btn {
    width: 100%;
    padding: 14px;
    background: #0088cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.telegram-login-btn:hover {
    background: #006da8;
}

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 20px;
}

.header-left {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
}

.logo-link:hover {
    color: var(--primary-color);
}

.header-nav {
    display: flex;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 15px;
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.avatar-medium {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Profile Dropdown Menu */
.profile-menu-container {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.profile-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.profile-btn i {
    font-size: 12px;
    color: var(--text-light);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.profile-dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-dropdown-username {
    font-size: 13px;
    color: var(--text-light);
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.profile-dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.profile-dropdown-item i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.admin-item {
    color: #f59e0b;
    font-weight: 600;
}

.admin-item:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.logout-item {
    color: #ef4444;
}

.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.profile-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 6px 0;
}

.profile-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1), rgba(176, 224, 246, 0.1));
    color: var(--primary-color);
}

.profile-dropdown-item svg {
    flex-shrink: 0;
}

.profile-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Main без min-height для гибкости */
main {
    min-height: calc(100vh - 250px);
}

/* Feed Layout */
.feed-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    min-height: calc(100vh - 300px);
}

.feed-main {
    min-height: 400px;
}

/* Post Card */
.post-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.post-card:hover {
    box-shadow: var(--shadow-hover);
}

.post-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar.online {
    animation: pulse-online-avatar 2s ease-in-out infinite;
}

.post-author-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.author-name:hover {
    color: var(--primary-color);
}

.post-time {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.post-content {
    padding: 0 20px 15px;
}

.post-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.post-text {
    color: var(--text-light);
    margin-bottom: 15px;
    white-space: pre-wrap;
}

.post-media {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #f8f9fa;
}

.post-media:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-actions {
    padding: 10px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--bg-light);
}

.action-btn.liked {
    color: #ff4757;
}

/* Стили для action-btn как ссылки */
a.action-btn {
    display: inline-flex;
}

a.action-btn:visited {
    color: var(--text-light);
}

/* Pinned Post */
.pinned-post {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.02), rgba(176, 224, 246, 0.02));
}

.pinned-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Post Actions Menu */
.post-actions-menu {
    position: relative;
}

.post-menu-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.post-menu-btn:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.post-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 200px;
    z-index: 100;
    margin-top: 4px;
}

.post-dropdown-menu button {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    transition: background 0.2s;
}

.post-dropdown-menu button:hover {
    background: var(--bg-light);
}

/* Comments Section */
.comments-section {
    border-top: 1px solid var(--border-color);
    padding: 20px;
    background: #f8f9fa;
}

.comment-form {
    margin-bottom: 20px;
}

.comment-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    display: flex;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 8px;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.comment-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.comment-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

.comment-author .verified-badge {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.comment-author .verified-badge::after {
    font-size: 11px;
}

.comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 8px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.comment-like-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.comment-like-btn:hover {
    background: var(--bg-light);
}

.comment-like-btn.liked {
    color: #ff4757;
}

.comment-delete-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.comment-delete-btn:hover {
    background: #ffebee;
    color: #ff4757;
}

/* Tips / Чаевые */
.tip-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.tip-amount-btn {
    padding: 12px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s;
}

.tip-amount-btn:hover {
    border-color: var(--primary-color);
    background: rgba(135, 206, 235, 0.1);
}

.tip-amount-btn.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

@media (max-width: 576px) {
    .tip-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Premium Content */
.premium-locked {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-radius: 8px;
    margin: 15px 20px;
}

.lock-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #87CEEB 0%, #5FA8D3 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(135, 206, 235, 0.3);
}

/* Sidebar */
.feed-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.sidebar-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.profile-mini {
    display: flex;
    gap: 12px;
    align-items: center;
}

.name {
    font-weight: 600;
    color: var(--text-dark);
}

.link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Buttons */
/* Buttons */
.btn-primary {
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    background-size: 200% 100%;
    background-position: 0 0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 6px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 6px;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: #0ea5e9;
    color: #0ea5e9;
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-danger {
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 6px;
    white-space: nowrap;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-success {
    min-width: 120px;
    height: 44px;
    padding: 0 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 6px;
    white-space: nowrap;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}


/* Profile */
/* Обложка профиля */
.profile-banner-container {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}

.profile-banner {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: linear-gradient(135deg, 
        #E3F2FD 0%, 
        #BBDEFB 25%,
        #90CAF9 50%,
        #64B5F6 75%,
        #42A5F5 100%
    );
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -40px 60px rgba(255, 255, 255, 0.1);
}

/* Навигационная панель для создателей */
/* Быстрые действия в профиле */
.profile-quick-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.action-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.action-icon-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.3), 0 2px 8px rgba(135, 206, 235, 0.2);
}

.action-icon-btn svg {
    stroke: #536471;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.action-icon-btn:hover svg {
    stroke: #2c5282;
    stroke-width: 2.2;
}

/* Красивые подсказки */
.action-icon-btn::after {
    content: attr(title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-icon-btn::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.85);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.action-icon-btn:hover::after,
.action-icon-btn:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Голубая кнопка "Создать пост" */
.action-icon-btn-primary {
    background: linear-gradient(135deg, #4A90E2, #87CEEB) !important;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4), 0 2px 4px rgba(74, 144, 226, 0.3) !important;
}

.action-icon-btn-primary svg {
    stroke: white !important;
    stroke-width: 2.5 !important;
    fill: none !important;
}

.action-icon-btn-primary:hover {
    background: linear-gradient(135deg, #357ABD, #4A90E2) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 28px rgba(74, 144, 226, 0.5), 0 4px 12px rgba(74, 144, 226, 0.4) !important;
}

.action-icon-btn-primary:hover svg {
    stroke: white !important;
    stroke-width: 2.8 !important;
}

.nav-btn:hover svg {
    opacity: 1;
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 600;
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, #6bb8d6 0%, var(--primary-color) 100%);
    border-color: transparent;
}

.nav-btn-primary svg {
    opacity: 1;
}

.profile-header {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 6;
    margin-top: -20px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.profile-info {
    flex: 1;
}

.profile-name-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.profile-name-section h1 {
    font-size: 28px;
    display: flex;
    align-items: center;
}

.author-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.3);
}

.profile-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.profile-bio {
    color: var(--text-light);
    margin-bottom: 20px;
    max-width: 600px;
}

/* Profile Layout */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    margin-top: 30px;
}

.profile-main {
    min-height: 400px;
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.tiers-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tier-card-compact {
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
    background: var(--bg-white);
}

.tier-card-compact:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.2);
}

.tier-card-compact.subscribed {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.05), rgba(176, 224, 246, 0.05));
}

.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.profile-actions button {
    flex: 0 0 auto;
    min-width: 140px;
    justify-content: center;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    gap: 20px;
}

/* Authors Grid */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.author-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar.online {
    animation: pulse-online-avatar 2s ease-in-out infinite;
}

@keyframes pulse-online-avatar {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(135, 206, 235, 0.3);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(135, 206, 235, 0.2);
    }
}

.author-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    min-height: 40px;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.author-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Form */
.input,
.textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.input:focus,
.textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
}

.textarea {
    resize: vertical;
    min-height: 100px;
}

/* Create Post */
.create-post-container {
    max-width: 700px;
    margin: 0 auto;
}

.post-form {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.file-input {
    width: 100%;
    padding: 10px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-input:hover {
    border-color: var(--primary-color);
    background: rgba(135, 206, 235, 0.05);
}

.media-preview {
    margin-top: 15px;
}

.media-preview img,
.media-preview video {
    max-width: 100%;
    border-radius: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
}

.modal-content h2 {
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.empty-state svg {
    margin-bottom: 20px;
}

.empty-state h2 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Page Title */
.page-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Delete Button */
.delete-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
    margin-left: auto;
    transition: color 0.3s;
}

.delete-btn:hover {
    color: #ff4757;
}

/* Balance Display */
.balance-display {
    background: linear-gradient(135deg, #87CEEB 0%, #5FA8D3 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.3);
}

/* Header Icon Button (Messages) */
.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.header-icon-btn:hover {
    background: rgba(135, 206, 235, 0.1);
}

.messages-icon-btn {
    background: linear-gradient(135deg, #87CEEB, #5FA8D3);
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.4);
    transition: all 0.3s ease;
    position: relative;
    width: 36px;
    height: 36px;
}

.messages-icon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    border-radius: 50%;
    overflow: hidden;
}

.messages-icon-btn:hover::before {
    left: 100%;
}

.messages-icon-btn i {
    font-size: 16px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.messages-icon-btn:hover {
    background: linear-gradient(135deg, #5FA8D3, #87CEEB);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(135, 206, 235, 0.5);
}

/* Unread Messages Badge */
.unread-messages-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
    border: 2px solid white;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(255, 71, 87, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.6);
    }
}

.messages-icon-btn:hover .unread-messages-badge {
    animation: none;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.footer-description {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Tier Cards */
.tiers-list {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.tier-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tier-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.tier-card.subscribed {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(176, 224, 246, 0.1) 100%);
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tier-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.tier-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.tier-description {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Access badges */
.access-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.access-badge.free {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.access-badge.followers {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    color: #004085;
}

.access-badge.tier {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.access-badge.paid {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

/* Responsive */
@media (max-width: 968px) {
    .feed-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        order: -1;
    }

    .feed-sidebar {
        position: static;
    }

    .header-nav span {
        display: none;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        margin-top: -40px;
    }
    
    .profile-banner {
        height: 150px;
    }
    
    .profile-quick-actions {
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
        flex-direction: column;
        gap: 12px;
        z-index: 100;
    }
    
    .action-icon-btn {
        width: 52px;
        height: 52px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .action-icon-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .action-icon-btn::after {
        display: none;
    }
    
    .action-icon-btn::before {
        display: none;
    }

    .profile-stats {
        justify-content: center;
    }
    
    .profile-name-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .profile-name {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .profile-dropdown {
        right: -10px;
        min-width: 240px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-items {
        gap: 20px;
    }
    
    .stat-item {
        font-size: 14px;
    }
}

/* Verified Badge - Instagram Style */
.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #1DA1F2;
    border-radius: 50%;
    margin-left: 5px;
    position: relative;
}

.verified-badge::after {
    content: '✓';
    color: white;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
}

.verified-badge-large {
    width: 22px;
    height: 22px;
    margin-left: 8px;
}

.verified-badge-large::after {
    font-size: 16px;
}

/* Avatar Upload Button */
.avatar-upload-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: 3px solid white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.6);
}

.avatar-upload-btn svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Социальные ссылки */
.profile-social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
    flex-wrap: wrap;
}

.social-link {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Подсказки для социальных ссылок */
.social-link::after {
    content: attr(title);
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.social-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    color: white;
}

.social-link.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
}

.social-link.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: white;
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
}

.social-link.tiktok {
    background: linear-gradient(135deg, #000000 0%, #ee1d52 100%);
    color: white;
}

.social-link.vk {
    background: linear-gradient(135deg, #4680c2 0%, #3b6ba4 100%);
    color: white;
}

.social-link.discord {
    background: linear-gradient(135deg, #7289da 0%, #5b6eae 100%);
    color: white;
}

.social-link.website {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.social-link.bongacams {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
}

.social-link.stripchat {
    background: linear-gradient(135deg, #ff3838 0%, #cc0000 100%);
    color: white;
}

.social-link.camsoda {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.social-link.edit-social {
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 2px dashed var(--primary-color);
}

.social-link.edit-social:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Форма социальных ссылок */
.social-links-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.social-links-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-links-form label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.social-links-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-light);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-links-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
}

/* Avatar Editor Modal */
.avatar-editor-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
}

/* Редактор обложки с большей высотой */
#banner-editor-modal .avatar-editor-container {
    max-height: 500px;
    min-height: 300px;
}

.avatar-drop-zone {
    border: 3px dashed var(--primary-color);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.05) 0%, rgba(176, 224, 246, 0.05) 100%);
    cursor: pointer;
    transition: all 0.3s;
}

.avatar-drop-zone:hover {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(176, 224, 246, 0.1) 100%);
    border-color: var(--primary-dark);
}

.avatar-drop-zone.drag-over {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2) 0%, rgba(176, 224, 246, 0.2) 100%);
    border-color: var(--primary-dark);
    transform: scale(1.02);
}

.avatar-drop-zone svg {
    margin-bottom: 15px;
    opacity: 0.5;
}

.avatar-drop-zone h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 18px;
}

.avatar-drop-zone p {
    color: var(--text-muted);
    font-size: 14px;
}

.avatar-editor-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.avatar-editor-controls button {
    padding: 8px 16px;
    font-size: 14px;
}

/* Cropper круглая маска */
/* Круглая область обрезки только для аватара */
#avatar-editor-modal .cropper-view-box,
#avatar-editor-modal .cropper-face {
    border-radius: 50%;
}

/* Прямоугольная область обрезки для обложки */
#banner-editor-modal .cropper-view-box,
#banner-editor-modal .cropper-face {
    border-radius: 8px;
}

.cropper-view-box {
    box-shadow: 0 0 0 1px rgba(135, 206, 235, 0.8);
    outline: 0;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e1e8ed;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e1e8ed;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .balance-display {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        height: auto;
        max-height: 95vh;
    }
    
    .avatar-editor-controls {
        grid-template-columns: 1fr 1fr;
    }
    
    .avatar-editor-controls button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
    }
    
    .avatar-drop-zone {
        padding: 40px 15px;
    }
    
    .avatar-drop-zone h3 {
        font-size: 16px;
    }
    
    .avatar-drop-zone svg {
        width: 48px;
        height: 48px;
    }
    
    .balance-actions {
        grid-template-columns: 1fr !important;
    }
    
    .balance-display {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    .avatar-upload-btn {
        width: 40px;
        height: 40px;
        bottom: 5px;
        right: 5px;
    }
    
    .avatar-upload-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 80px;
    right: -400px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    transition: right 0.3s ease;
    max-width: 350px;
}

.notification.show {
    right: 20px;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: linear-gradient(135deg, #87CEEB 0%, #5FA8D3 100%);
    color: white;
}

.notification-error .notification-icon {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: white;
}

.notification-info .notification-icon {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
}

.notification-message {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
}

/* Modal Dialog */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.modal-overlay.show {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 1;
    pointer-events: all;
}

.modal-dialog {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-dialog-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e1e8ed;
}

.modal-dialog-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 600;
}

.modal-dialog-body {
    padding: 24px;
}

.modal-dialog-body p {
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.modal-dialog-body p:last-child {
    margin-bottom: 0;
}

.modal-dialog-details {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(176, 224, 246, 0.1) 100%);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-size: 14px;
    color: var(--text-light);
}

.modal-input {
    margin-top: 12px;
}

.modal-dialog-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-dialog-footer button {
    min-width: 100px;
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fab-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(135, 206, 235, 0.6);
}

.fab-button:active {
    transform: scale(1.05);
}

.fab-icon-plus,
.fab-icon-close {
    color: white;
    position: absolute;
    transition: all 0.3s ease;
}

.fab-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.fab-button.active .fab-icon-plus {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.fab-button.active .fab-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.fab-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.fab-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.fab-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    transform: scale(0.9);
    opacity: 0;
    animation: fabMenuItemAppear 0.3s ease forwards;
}

.fab-menu-item:nth-child(1) {
    animation-delay: 0.05s;
}

.fab-menu-item:nth-child(2) {
    animation-delay: 0.1s;
}

@keyframes fabMenuItemAppear {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.fab-menu-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(176, 224, 246, 0.1) 100%);
}

.fab-menu-icon {
    font-size: 24px;
    line-height: 1;
}

.fab-menu-text {
    font-weight: 600;
    font-size: 15px;
}

@media (max-width: 768px) {
    .fab-container {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
    
    .fab-button {
        width: 54px;
        height: 54px;
    }
    
    .fab-menu {
        bottom: 70px;
    }
    
    .fab-menu-item {
        padding: 10px 16px;
    }
    
    .fab-menu-icon {
        font-size: 20px;
    }
    
    .fab-menu-text {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .header-container {
        padding: 0 10px;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 0;
    }

    .nav-link svg {
        margin: 0;
    }

    .logout-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .authors-grid {
        grid-template-columns: 1fr;
    }
    
    .balance-display {
        display: none;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions button {
        width: 100%;
        min-width: auto;
    }
}

/* ====================================
   ЛАЙТБОКС В СТИЛЕ TELEGRAM
   ==================================== */

.telegram-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 10001;
}

/* Заголовок */
.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.lightbox-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lightbox-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.lightbox-username {
    color: white;
    font-weight: 500;
    font-size: 16px;
}

.lightbox-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Медиа контент */
.lightbox-media-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lightbox-media-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#lightbox-image,
#lightbox-video {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

#lightbox-image {
    cursor: zoom-in;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
}

#lightbox-image.zoomed {
    cursor: zoom-out;
    transform: scale(2);
}

#lightbox-video {
    border-radius: 8px;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Навигация */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.lightbox-media-wrapper:hover .lightbox-nav {
    opacity: 1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

/* Футер */
.lightbox-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.lightbox-counter {
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.lightbox-actions {
    display: flex;
    gap: 10px;
}

.lightbox-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Адаптивность лайтбокса */
@media (max-width: 768px) {
    .lightbox-header {
        padding: 10px 15px;
    }
    
    .lightbox-avatar {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-username {
        font-size: 14px;
    }
    
    .lightbox-close {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
        opacity: 0.7;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-footer {
        padding: 10px 15px;
    }
    
    .lightbox-counter {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .lightbox-action-btn {
        width: 36px;
        height: 36px;
    }
    
    #lightbox-image,
    #lightbox-video {
        max-height: calc(100vh - 120px);
    }
}

.post-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

/* Защита изображений от копирования */
.post-media,
.post-media-grid-item,
.profile-avatar,
.comment-avatar {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: auto;
}

.post-media-grid-item {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-media-grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 35px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: -45px;
        width: 45px;
        height: 45px;
        font-size: 35px;
    }
    
    .lightbox-counter {
        bottom: -45px;
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* ==================== АДМИН ПАНЕЛЬ ==================== */

.btn-admin {
    min-width: 120px;
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-admin:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-admin:active {
    transform: translateY(0);
}

.btn-approve {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.btn-approve:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-reject {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn-reject:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.btn-block {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.btn-block:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-unblock {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.btn-unblock:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.btn-verify {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.btn-verify:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-delete {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
}

.btn-back {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-back:hover {
    background: var(--primary-color);
    color: white;
}

/* Кнопка "Наверх" */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #87CEEB, #B0E0F6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #B0E0F6, #87CEEB);
}

#scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    #scroll-to-top {
        bottom: calc(100px + env(safe-area-inset-bottom, 0px));
        right: 38px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}

/* Админские карточки */
.admin-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.admin-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Мобильное меню */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.mobile-menu-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-menu-user-info {
    flex: 1;
}

.mobile-menu-username {
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.mobile-menu-user-handle {
    font-size: 0.9em;
    color: var(--text-light);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.mobile-menu-close:hover {
    color: var(--text-color);
}

.mobile-menu-items {
    padding: 8px 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.2s;
}

.mobile-menu-item:hover {
    background: var(--hover-bg);
}

.mobile-menu-item i {
    width: 20px;
    text-align: center;
    color: var(--text-light);
}

.mobile-menu-item-admin {
    color: #f59e0b;
}

.mobile-menu-item-admin i {
    color: #f59e0b;
}

.mobile-menu-item-logout {
    color: #ef4444;
}

.mobile-menu-item-logout i {
    color: #ef4444;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Кастомные диалоги (как на основном сайте) */
.notification {
    position: fixed;
    top: 80px;
    right: -400px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    transition: right 0.3s ease;
    max-width: 350px;
}

.notification.show {
    right: 20px;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: linear-gradient(135deg, #87CEEB 0%, #5FA8D3 100%);
    color: white;
}

.notification-error .notification-icon {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: white;
}

.notification-info .notification-icon {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
}

.notification-message {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.modal-overlay.show {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 1;
    pointer-events: all;
}

.modal-dialog {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-dialog-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e1e8ed;
}

.modal-dialog-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 600;
}

.modal-dialog-body {
    padding: 24px;
}

.modal-dialog-body p {
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.modal-dialog-body p:last-child {
    margin-bottom: 0;
}

.modal-dialog-details {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(176, 224, 246, 0.1) 100%);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-size: 14px;
    color: var(--text-light);
}

.modal-dialog-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-dialog-footer button {
    min-width: 100px;
}

