* {
    box-sizing: border-box;
}
.main-content {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
}
.posts-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}
.sidebar {
    flex: 0 0 32%;
    background-color: var(--bg-elements, #fff);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 60px;
    align-self: start;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards 0.2s;
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 1rem;
}
.active-author {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.active-author-link {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}
.active-author-image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}
.active-author-image a {
    display: block;
    position: relative;
    text-decoration: none;
    aspect-ratio: 1 / 1;
}
.active-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.active-author-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.active-author-content .author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    text-decoration: none;
}
.active-author-content .author-name:hover {
    text-decoration: underline;
}
.active-author-content span {
    font-size: 0.8rem;
    color: var(--text-secondary, #666);
}
.popular-post {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.popular-post-link {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}
.popular-post-image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}
.popular-post-image a {
    display: block;
    position: relative;
    text-decoration: none;
    aspect-ratio: 1 / 1;
}
.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.popular-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popular-post-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin: 0 0 0.25rem 0;
}
.popular-post-content a {
    color: var(--text-primary, #333);
    text-decoration: none;
}
.popular-post-content a:hover {
    text-decoration: underline;
}
.popular-post-content .author-name {
    font-size: 0.85rem;
    color: var(--primary, #1DA1F2);
    text-decoration: none;
}
.popular-post-content .author-name:hover {
    text-decoration: underline;
}
.popular-post-content span {
    font-size: 0.8rem;
    color: var(--text-secondary, #666);
}
.post-card, .single-post-card {
    min-width: 800px;
    background-color: var(--bg-elements, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s ease, translate 0.3s ease;
    transform: translateY(20px);
    position: relative;
}
.post-card:hover, .single-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.post-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    position: relative;
}
.post-header .avatar-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
}
.post-header .avatar-frame {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.post-header .author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.post-header .avatar-container.online::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    border: 1px solid var(--text-primary, #f5f5f5);
    z-index: 10;
}
.post-header .avatar-container.offline::after {
    content: '';
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    border: 1px solid var(--text-primary, #f5f5f5);
    z-index: 10;
}
.active-author-link .avatar-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
}
.active-author-link .avatar-frame {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}
.active-author-link .author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.active-author-link .avatar-container.online::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    border: 1px solid var(--text-primary, #f5f5f5);
    z-index: 10;
}
.active-author-link .avatar-container.offline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    border: 1px solid var(--text-primary, #f5f5f5);
    z-index: 10;
}
.post-header-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-menu {
    position: relative;
    margin-left: auto;
}
.post-menu-icon {
    font-size: 1.2rem;
    color: var(--text-secondary, #666);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}
.post-menu-icon:hover {
    color: var(--primary, #1DA1F2);
}
.post-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-elements, #fff);
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.post-menu:hover .post-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.post-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-primary, #333);
    text-decoration: none;
    font-size: 0.9rem;
}
.post-dropdown a:hover {
    background-color: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
}
.post-dropdown a i {
    width: 16px;
    text-align: center;
}
.author-name {
    font-weight: 600;
    color: var(--text-primary, #333);
    font-size: 0.95rem;
    text-decoration: none;
}
.author-name:hover {
    text-decoration: underline;
}
.post-date {
    color: var(--text-secondary, #666);
    font-size: 0.8rem;
}
.edited-hint {
    font-size: 0.8em;
    color: var(--text-secondary);
    font-style: italic;
    margin-left: 4px;
}
.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    padding: 0 1rem;
    margin: 0.25rem 0;
}
.post-text {
    color: var(--text-secondary, #666);
    font-size: 0.9rem;
    padding: 0 1rem;
    margin: 0.25rem 0 1rem 0;
    line-height: 1.3;
    max-height: none;
}
.post-text.expanded {
    max-height: 2000px;
    opacity: 1;
}
.read-more, .read-less {
    color: var(--primary, #1DA1F2);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}
.read-more:hover, .read-less:hover {
    text-decoration: underline;
}
.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary, #666);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}
.like-btn {
    cursor: pointer;
    transition: color 0.2s;
}
.like-btn:hover {
    color: var(--primary, #1DA1F2);
}
.like-btn.liked {
    color: var(--primary, #1DA1F2);
}
.like-btn.liked:hover {
    color: #0d95e8;
}
.error-message {
    color: #ff4444;
    text-align: center;
    padding: 1rem;
    font-size: 0.95rem;
    margin: 1rem 0;
    width: 100%;
}
.loading-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-secondary, #666);
    background-color: var(--bg-elements, #fff);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    width: 100%;
    text-align: center;
}
.attachment-item {
    width: 100%;
    max-height: 500px;
    position: relative;
    overflow: hidden;
}
.attachment-item a {
    display: block;
    position: relative;
    text-decoration: none;
}
.attachment-item img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.attachment-grid {
    display: grid;
    grid-gap: 0.5rem;
    width: 100%;
}
.attachment-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.attachment-grid-3, .attachment-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}
.attachment-grid-1 {
    grid-template-columns: 1fr;
}
.attachment-grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
}
.attachment-grid-item a {
    display: block;
    position: relative;
    text-decoration: none;
    aspect-ratio: 1 / 1;
}
.attachment-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}
.attachment-item .folder-badge,
.attachment-grid-item .folder-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.attachment-item .subscribers-only,
.attachment-grid-item .subscribers-only {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: #FFD700;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.2rem;
    border-radius: 50%;
    z-index: 10;
}
.subscribers-only-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background-color: var(--bg-elements, #fff);
    border-radius: 8px;
    color: var(--text-primary, #333);
    font-size: 1rem;
}
.subscribers-only-placeholder i.fa-crown {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.subscribers-only-placeholder p {
    margin: 0;
}
.create-post-container {
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;
    background-color: var(--bg-elements, #fff);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.create-post-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color, #ddd);
    background: var(--bg-elements-light);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary, #1DA1F2);
    box-shadow: 0 0 5px rgba(29, 161, 242, 0.3);
}
.form-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0 0.5rem 0 0;
    vertical-align: middle;
    border: 2px solid var(--primary, #1DA1F2);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-elements, #fff);
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}
.form-group input[type="checkbox"]:checked {
    background-color: var(--primary, #1DA1F2);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white"><path d="M173.9 439.4l-166.4-166.4c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L192 412.3 481.4 122.9c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L173.9 439.4z"/></svg>');
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.form-group input[type="checkbox"]:disabled {
    border-color: var(--text-secondary, #666);
    background-color: #f0f0f0;
    cursor: not-allowed;
}
.form-group label[for="subscribers-only"] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    font-size: 1rem;
    color: var(--text-primary, #333);
    cursor: pointer;
}
.form-group input[type="checkbox"]:disabled + label {
    color: var(--text-secondary, #666);
    cursor: not-allowed;
}
.form-group input[type="checkbox"]:disabled + label::after {
    content: "Заблокировано: выбрано медиа только для подписчиков";
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
}
.form-group input[type="checkbox"]:disabled + label:hover::after {
    opacity: 1;
}
.char-count {
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    margin-top: 0.25rem;
    display: block;
}
.attach-media-btn {
    background-color: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.attach-media-btn:hover {
    background-color: #0d95e8;
}
.selected-media {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.selected-media-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}
.selected-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.selected-media-item .folder-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
}
.selected-media-item .subscribers-only {
    position: absolute;
    top: 5px;
    left: 5px;
    color: #FFD700;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.2rem;
    border-radius: 50%;
}
.selected-media-item .remove-media {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}
.media-count {
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    margin-top: 0.5rem;
    display: block;
}
.media-count-container {
    margin: 1rem 0;
    text-align: center;
}
.submit-btn {
    background-color: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.submit-btn:hover {
    background-color: #0d95e8;
}
.cancel-btn {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}
.cancel-btn:hover {
    text-decoration: underline;
}
.media-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.media-modal-content {
    background: var(--bg-elements, #fff);
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary, #333);
}
.media-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 1.5rem;
}
.media-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.tab-btn {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary, #666);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
}
.tab-btn.active {
    color: var(--primary, #1DA1F2);
    border-bottom: 2px solid var(--primary, #1DA1F2);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}
.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}
.media-item.selected {
    border: 2px solid var(--primary, #1DA1F2);
}
.media-item .folder-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
}
.media-item .subscribers-only {
    position: absolute;
    top: 5px;
    left: 5px;
    color: #FFD700;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.2rem;
    border-radius: 50%;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.pagination-btn {
    background: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.pagination-btn:disabled {
    background: var(--text-secondary, #666);
    cursor: not-allowed;
}
.pagination-btn:hover:not(:disabled) {
    background-color: #0d95e8;
}
.confirm-btn {
    background-color: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}
.confirm-btn:hover {
    background-color: #0d95e8;
}
.notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4444;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-size: 1rem;
    text-align: center;
    max-width: 90%;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 0.5rem;
    }
    .posts-container {
        flex: 0 0 100%;
    }
    .sidebar {
        display: none;
    }
    .attachment-item, .attachment-grid {
        width: 100%;
    }
    .create-post-container {
        max-width: 100%;
        padding: 1rem;
    }
    .post-card, .single-post-card {
        min-width: 300px;
    }
    .post-header .avatar-frame {
        width: 36px;
        height: 36px;
    }
    .post-header .avatar-container.online::after,
    .post-header .avatar-container.offline::after {
        width: 8px;
        height: 8px;
        bottom: 1px;
        right: 1px;
    }
    .active-author-link .avatar-frame {
        width: 54px;
        height: 54px;
    }
    .active-author-link .avatar-container.online::after,
    .active-author-link .avatar-container.offline::after {
        width: 10px;
        height: 10px;
        bottom: 2px;
        right: 2px;
    }
}
@media (max-width: 576px) {
    .post-header .avatar-frame {
        width: 32px;
        height: 32px;
    }
    .post-header .avatar-container.online::after,
    .post-header .avatar-container.offline::after {
        width: 6px;
        height: 6px;
        bottom: 1px;
        right: 1px;
    }
    .active-author-link .avatar-frame {
        width: 48px;
        height: 48px;
    }
    .active-author-link .avatar-container.online::after,
    .active-author-link .avatar-container.offline::after {
        width: 8px;
        height: 8px;
        bottom: 2px;
        right: 2px;
    }
}


/* Временный блок напоминания */
/* Стили для блока-напоминания */
.reminder-block {
    position: relative;
    background-color: var(--bg-elements, #fff);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color, #e0e0e0);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards 0.1s;
}

.reminder-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.reminder-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary, #666);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.reminder-close:hover {
    background: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
}

.reminder-content {
    padding-right: 40px;
}

.reminder-text {
    color: var(--text-primary, #333);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    text-align: center;
    font-weight: 500;
}

.reminder-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.reminder-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 140px;
    justify-content: center;
}

.reminder-btn.upload-btn {
    background: var(--primary, #1DA1F2);
    color: var(--bg-dark, #fff);
    border-color: var(--primary, #1DA1F2);
}

.reminder-btn.upload-btn:hover {
    background: #0d95e8;
    border-color: #0d95e8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 149, 232, 0.3);
}

.reminder-btn.create-btn {
    background: transparent;
    color: var(--text-secondary, #666);
    border-color: var(--border-color, #ddd);
}

.reminder-btn.create-btn:hover {
    background: var(--text-secondary, #666);
    color: var(--bg-dark, #fff);
    border-color: var(--text-secondary, #666);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reminder-btn i {
    font-size: 0.9rem;
    width: 16px;
}

/* Адаптивность для блока-напоминания */
@media (max-width: 768px) {
    .reminder-block {
        padding: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .reminder-content {
        padding-right: 0;
    }
    
    .reminder-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .reminder-btn {
        width: 100%;
        min-width: auto;
        padding: 0.875rem 1rem;
    }
    
    .reminder-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
    }
    
    .reminder-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .reminder-block {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .reminder-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .reminder-btn {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
    
    .reminder-close {
        width: 24px;
        height: 24px;
        padding: 4px;
        font-size: 0.9rem;
    }
}