/* Zdravie Timeline Feed Styles */
.zdravie-timeline {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Active Subscription Info */
.zdravie-active-subscription-info {
    max-width: 650px;
    margin: 30px auto 0;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: center;
}

.zdravie-active-subscription-text {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #333;
}

.zdravie-view-news-btn {
    display: inline-block;
    background: #f52c79;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.zdravie-view-news-btn:hover {
    background: #d02566;
    color: white;
    text-decoration: none;
}

/* Category Filter Menu */
.zdravie-category-filter {
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 50;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.zdravie-category-filter-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.zdravie-category-filter-wrapper::-webkit-scrollbar {
    display: none;
}

.zdravie-category-filter-list {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    min-width: max-content;
}

.zdravie-category-filter-item {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
    user-select: none;
    -webkit-user-select: none;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.zdravie-category-filter-item:hover {
    background: #e9e9e9;
}

.zdravie-category-filter-item.active {
    background: #f52c79;
    color: white;
    font-weight: 600;
}

/* Category Description Area */
.zdravie-category-description {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #f52c79;
}

.zdravie-category-description-content {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.zdravie-category-left-column,
.zdravie-category-right-column {
    flex: 1;
    min-width: 0;
}

.zdravie-category-left-column {
    display: flex;
    flex-direction: column;
}

.zdravie-category-right-column {
    display: flex;
    flex-direction: column;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
    .zdravie-category-description-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .zdravie-category-left-column,
    .zdravie-category-right-column {
        width: 100%;
    }
}

.zdravie-category-description-text {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

.zdravie-category-description-text a {
    color: #0088cc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.zdravie-category-description-text a:hover {
    color: #006699;
    text-decoration: underline;
}

.zdravie-category-description-text a::before {
    content: '✈️';
    font-size: 16px;
    display: inline-block;
    margin-right: 4px;
}

.zdravie-category-description-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    max-height: calc(1.6em * 4);
}

.zdravie-category-description-full {
    display: none;
    visibility:hidden;
}

.zdravie-category-description-full.expanded {
    display: block;
}

.zdravie-category-description-collapsed.collapsed {
    display: none;
}

.zdravie-category-description-toggle {
    display: block;
    color: #f52c79;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.zdravie-category-description-toggle:hover {
    color: #d02566;
    text-decoration: underline;
}

.zdravie-category-ebook-btn,
.zdravie-category-protocol-btn {
    display: inline-block;
    background: #f52c79;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 10px;
    text-align: center;
}

.zdravie-category-ebook-btn:hover,
.zdravie-category-protocol-btn:hover {
    background: #d02566;
    color: white;
    text-decoration: none;
}

.zdravie-category-ebook-image,
.zdravie-category-photo {
    position: relative;
    width: 100%;
    min-height: 100px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.zdravie-category-ebook-image::before,
.zdravie-category-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #f52c79;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.zdravie-category-ebook-image.loading::before,
.zdravie-category-photo.loading::before {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.zdravie-category-ebook-image img,
.zdravie-category-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
    background: #f0f0f0;
}

.zdravie-category-ebook-image img[src=""],
.zdravie-category-photo img[src=""] {
    min-height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* Subscription Prompt */
.zdravie-subscription-prompt {
    position: sticky;
    top: 20px;
    z-index: 100;
    background: #fff;
    border: 2px solid #f52c79;
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.zdravie-prompt-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.zdravie-prompt-button {
    display: inline-block;
    background: #f52c79;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.zdravie-prompt-button:hover {
    background: #d02566;
    color: white;
    text-decoration: none;
}

/* Locked Posts */
.zdravie-post-locked {
    position: relative;
    pointer-events: none;
    user-select: none;
}

.zdravie-post-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
}

.zdravie-lock-icon {
    font-size: 48px;
    opacity: 0.8;
}

/* Media Placeholder for Locked Content */
.zdravie-post-media-placeholder {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.zdravie-media-placeholder {
    text-align: center;
    color: #999;
}

.zdravie-media-placeholder .zdravie-lock-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 10px;
}

.zdravie-media-placeholder p {
    margin: 0;
    font-size: 14px;
}

.zdravie-locked-content-placeholder {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Frontend Post Composer */
.zdravie-post-composer-frontend {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.zdravie-post-composer-frontend .zdravie-composer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.zdravie-post-composer-frontend .zdravie-composer-avatar img {
    border-radius: 50%;
}

.zdravie-post-composer-frontend .zdravie-composer-info {
    flex: 1;
}

.zdravie-post-composer-frontend .zdravie-composer-info strong {
    display: block;
    font-size: 14px;
    color: #333;
}

.zdravie-post-composer-frontend .zdravie-composer-content {
    margin-bottom: 15px;
}

.zdravie-post-composer-frontend .zdravie-post-title {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.zdravie-post-composer-frontend .zdravie-post-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
}

.zdravie-post-composer-frontend .zdravie-post-textarea:focus {
    outline: none;
    border-color: #2271b1;
}

.zdravie-post-composer-frontend .zdravie-media-preview {
    margin-top: 15px;
    display: none;
}

.zdravie-post-composer-frontend .zdravie-media-preview.has-media {
    display: block;
}

.zdravie-post-composer-frontend .zdravie-media-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.zdravie-post-composer-frontend .zdravie-media-preview video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.zdravie-post-composer-frontend .zdravie-remove-media {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

/* PDF preview in composer */
.zdravie-post-composer-frontend .zdravie-pdf-preview {
    margin-top: 12px;
    display: none;
}

.zdravie-post-composer-frontend .zdravie-pdf-preview.has-pdfs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zdravie-post-composer-frontend .zdravie-pdf-preview-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    position: relative;
}

.zdravie-post-composer-frontend .zdravie-pdf-preview-thumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b91c1c;
    text-decoration: none;
    font-size: 13px;
    max-width: 180px;
}

.zdravie-post-composer-frontend .zdravie-pdf-preview-thumb .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.zdravie-post-composer-frontend .zdravie-pdf-preview-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zdravie-post-composer-frontend .zdravie-pdf-preview-thumb:hover {
    color: #991b1b;
}

.zdravie-post-composer-frontend .zdravie-remove-pdf {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc3545;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zdravie-post-composer-frontend .zdravie-remove-pdf:hover {
    background: #c82333;
}

.zdravie-post-composer-frontend .zdravie-composer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zdravie-post-composer-frontend .zdravie-action-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.zdravie-post-composer-frontend .zdravie-action-btn:hover {
    background: #e9e9e9;
}

.zdravie-post-composer-frontend .zdravie-action-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.zdravie-post-composer-frontend .zdravie-submit-btn {
    background: #2271b1;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-left: auto;
    transition: background 0.3s;
}

.zdravie-post-composer-frontend .zdravie-submit-btn:hover {
    background: #135e96;
}

.zdravie-post {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.zdravie-post-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.zdravie-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zdravie-post-actions-admin {
    display: flex;
    gap: 8px;
    align-items: center;
}

.zdravie-edit-post-btn,
.zdravie-delete-post-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #999;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zdravie-edit-post-btn:hover {
    color: #666;
}

.zdravie-delete-post-btn:hover {
    color: #d32f2f;
}

.zdravie-edit-post-btn .dashicons,
.zdravie-delete-post-btn .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.zdravie-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.zdravie-author-info {
    display: flex;
    flex-direction: column;
}

.zdravie-post-author strong {
    font-size: 16px;
    color: #333;
}

.zdravie-post-date {
    color: #999;
    font-size: 14px;
}

.zdravie-post-media {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

.zdravie-post-media img {
    pointer-events: none;
    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;
    max-width: 300px;
    width: auto;
    height: auto;
    display: inline-block;
    border-radius: 8px;
    transition: transform 0.3s;
}

.zdravie-post-media img:hover {
    transform: scale(1.02);
}

.zdravie-post-media video {
    max-width: 100%;
    width: auto;
    height: auto;
    display: inline-block;
    pointer-events: auto !important;
    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;
}

/* PDF documents in post timeline */
.zdravie-post-pdfs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.zdravie-pdf-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #b91c1c;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s;
    min-width: 0;
}

.zdravie-pdf-card:hover {
    background: #fff5f5;
    border-color: #fecaca;
    color: #991b1b;
}

.zdravie-pdf-card-icon {
    flex-shrink: 0;
}

.zdravie-pdf-card-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.zdravie-pdf-card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.zdravie-post-content h3 {
    margin: 15px 0 10px;
    font-size: 20px;
    color: #333;
    font-weight:bold;
}

.zdravie-post-text {
    line-height: 1.6;
    color: #555;
}

.zdravie-post-excerpt-wrapper {
    margin-bottom: 10px;
}

.zdravie-post-excerpt {
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.zdravie-post-excerpt-wrapper.expanded .zdravie-post-excerpt {
    display: block;
    -webkit-line-clamp: none;
    line-clamp: none;
    overflow: visible;
}

/* Ensure "Zobraziť viac" is always visible and inline */
.zdravie-post-excerpt-wrapper .zdravie-read-more-inline {
    display: inline;
    white-space: nowrap;
    margin-left: 3px;
}

.zdravie-post-full {
    display: none;
}

.zdravie-post-full.expanded {
    display: block;
}

.zdravie-post-excerpt.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zdravie-read-more-inline {
    color: #f52c79;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.zdravie-read-more-inline:hover {
    color: #d02566;
    text-decoration: none;
}

.zdravie-read-more-inline.hidden {
    display: none;
}

/* Subscription Page Styles */
.zdravie-subscription-page {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zdravie-subscription-form {
    margin-top: 20px;
}

.zdravie-subscription-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.zdravie-subscription-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 15px;
}

.zdravie-subscription-form button {
    width: 100%;
    padding: 15px;
    background: #fa2963;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.zdravie-subscription-form button:hover {
    background: #e02556;
}

/* Account Page Styles */
.zdravie-account-section {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zdravie-subscription-status {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.zdravie-subscription-status.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.zdravie-subscription-status.cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.zdravie-cancel-subscription {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.zdravie-cancel-subscription:hover {
    background: #c82333;
}

/* Like and Comment Buttons */
.zdravie-post-actions {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    pointer-events: auto!important;
    position: relative;
    z-index: 100;
}

.zdravie-like-btn,
.zdravie-comment-btn {
    background: transparent!important;
    border: none!important;
    display: inline-flex!important;
    align-items: center;
    gap: 8px;
    cursor: pointer!important;
    padding: 8px 12px!important;
    margin: 0!important;
    border-radius: 4px!important;
    transition: opacity 0.3s, background 0.3s;
    font-size: 14px;
    color: #666!important;
    pointer-events: auto!important;
    z-index: 100!important;
    position: relative;
    box-shadow: none!important;
    outline: none!important;
    text-decoration: none!important;
    -webkit-appearance: none!important;
    -moz-appearance: none!important;
    appearance: none!important;
    user-select: none!important;
    -webkit-user-select: none!important;
}

.zdravie-like-btn:hover:not(.zdravie-btn-disabled),
.zdravie-comment-btn:hover:not(.zdravie-btn-disabled) {
    opacity: 0.8;
}

.zdravie-like-btn.zdravie-btn-disabled,
.zdravie-comment-btn.zdravie-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.zdravie-like-btn.zdravie-liked {
    color: #f52c79;
}

.zdravie-like-btn.zdravie-liked .zdravie-like-icon {
    filter: grayscale(0);
}

.zdravie-like-btn:not(.zdravie-liked) .zdravie-like-icon {
    filter: grayscale(1);
    opacity: 0.7;
}

.zdravie-like-icon,
.zdravie-comment-icon {
    font-size: 18px;
    line-height: 1;
}

.zdravie-like-count,
.zdravie-comment-count {
    font-weight: 600;
    color: inherit;
}

/* Comments Section */
.zdravie-comments-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.zdravie-comments-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.zdravie-comment-item {
    margin-bottom: 15px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
}

.zdravie-comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.zdravie-comment-header > div {
    display: flex;
    flex-direction: column;
}

.zdravie-comment-header strong {
    color: #333;
    font-size: 14px;
}

.zdravie-comment-date {
    color: #999;
    font-size: 12px;
    margin-top: 2px;
}

.zdravie-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.zdravie-comment-content {
    color: #333;
    line-height: 1.5;
    word-wrap: break-word;
    margin-left: 42px;
}

.zdravie-comment-form {
    margin-top: 15px;
}

.zdravie-comment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: #333;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.zdravie-comment-input:focus {
    outline: none;
    border-color: #f52c79;
}

.zdravie-comment-submit {
    margin-top: 10px;
    background: #f52c79;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s;
}

.zdravie-comment-submit:hover:not(:disabled) {
    background: #d02566;
}

.zdravie-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.zdravie-comment-login-prompt {
    color: #999;
    margin-top: 15px;
    text-align: center;
}

.zdravie-comment-login-prompt a {
    color: #f52c79;
    text-decoration: none;
}

.zdravie-comment-login-prompt a:hover {
    text-decoration: underline;
}

/* Edit Post Modal */
.zdravie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.zdravie-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.zdravie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.zdravie-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.zdravie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.zdravie-modal-close:hover {
    color: #333;
}

.zdravie-modal-body {
    padding: 20px;
}

.zdravie-edit-field {
    margin-bottom: 20px;
}

.zdravie-edit-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.zdravie-edit-input,
.zdravie-edit-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.zdravie-edit-textarea {
    resize: vertical;
    min-height: 120px;
}

.zdravie-edit-input:focus,
.zdravie-edit-textarea:focus {
    outline: none;
    border-color: #f52c79;
}

.zdravie-edit-categories {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px;
}

.zdravie-edit-categories label {
    font-weight: normal;
    margin-bottom: 5px;
    cursor: pointer;
}

.zdravie-edit-media-preview {
    margin-bottom: 10px;
    min-height: 50px;
}

.zdravie-edit-media-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.zdravie-edit-media-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.zdravie-edit-media-btn:hover {
    background: #e9e9e9;
}

.zdravie-edit-media-btn .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.zdravie-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.zdravie-edit-cancel-btn,
.zdravie-edit-save-btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border: none;
    transition: background 0.2s;
}

.zdravie-edit-cancel-btn {
    background: #f5f5f5;
    color: #333;
}

.zdravie-edit-cancel-btn:hover {
    background: #e9e9e9;
}

.zdravie-edit-save-btn {
    background: #f52c79;
    color: white;
}

.zdravie-edit-save-btn:hover {
    background: #d02566;
}

