body.dialog-open {
    overflow: hidden !important;
}

.form-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Image Upload Minimal */
.image-upload-minimal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.image-upload-minimal .upload-btn {
    background: #f7fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 14px;
}

.image-upload-minimal .upload-btn:hover {
    border-color: #00BFFF;
    background: #ebf8ff;
    color: #00BFFF;
}

.image-upload-minimal .upload-btn i {
    color: #00BFFF;
    font-size: 18px;
}

.image-upload-minimal .file-name {
    color: #a0aec0;
    font-size: 14px;
}

.image-preview-minimal {
    display: none;
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.image-preview-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.image-preview-minimal .remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Tags Select */
.tags-select-container {
    position: relative;
}

.tags-select-container .tags-input {
    cursor: pointer;
}

.tags-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 5px;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tags-dropdown.show {
    display: block;
}

.tags-dropdown .tag-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

.tags-dropdown .tag-search-input:focus {
    border-color: #00BFFF;
    outline: none;
}

.tags-dropdown .tag-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.tags-dropdown .tag-option:hover {
    background: #f7fafc;
}

.tags-dropdown .tag-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00BFFF;
}

.tags-dropdown .tag-option label {
    cursor: pointer;
    font-weight: 400;
    margin: 0;
    flex: 1;
}

.tags-dropdown .tag-option .tag-count {
    color: #a0aec0;
    font-size: 12px;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.selected-tag {
    background: #00BFFF;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.selected-tag .remove-tag {
    cursor: pointer;
    color: white;
    font-size: 12px;
} 

.post-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}


/* Post Card */
.post-wrapper {
    padding: 40px 0;
    width: 100%;
    background: #f8fafc;
    min-height: 100vh;
}

.post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.post-grid {
    display: grid;
    grid-template-columns: 68% 29.5%;
    gap: 30px;
    width: 100%;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.post-image {
    position: relative;
    overflow: hidden;
    height: 450px;
    width: 100%;
}

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

.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00BFFF;
    color: white;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    z-index: 1;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 10px; 
    font-size: 14px;
    color: #a0aec0;
    flex-wrap: wrap;
    align-items: center;
    padding: 18px;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid transparent;
    background: #f7fafc;
    border-color: #e2e8f0;
} 

.post-meta-item i {
    color: #00BFFF;
    font-size: 14px;
}

.post-meta-item .fa-heart {
    color: #ff4757;
}

.post-meta-item.liked {
    background: #fff5f5;
    border-color: #00BFFF;
}

.like-btn.liked {
    color: #00BFFF;
    background: #e0eef3;
}

.like-btn:hover {
    background: #e0eef3;
    color: #2e7d32;
}

.dislike-btn:hover {
    background: #fce4ec;
    color: #c62828;
}

.dislike-btn:hover i {
    color: #c62828;
}

.dislike-btn.disliked {
    color: #c62828;
    background: #fce4ec;
}

.dislike-btn.disliked i {
    color: #c62828;
}

.like-btn i, .dislike-btn i {
    margin-right: 3px;
}

.post-meta-item.disliked {
    background: #fff5f5;
    border-color: #ff4757;
}

.post-meta-item .like-count {
    font-weight: 600;
}

.post-meta-divider {
    color: #e2e8f0;
}

.post-title {
    font-size: 25px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.post-description {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.post-divider {
    width: 60px;
    height: 3px;
    background: #00BFFF;
    border-radius: 3px;
    margin-bottom: 25px;
}

.post-body {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.post-body h2, 
.post-body h3, 
.post-body h4 {
    color: #1a202c;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.post-body li {
    margin-bottom: 8px;
}

.post-body blockquote {
    border-left: 4px solid #00BFFF;
    padding: 15px 25px;
    margin: 25px 0;
    background: #f7fafc;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #2d3748;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.post-tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.post-tag:hover {
    background: #00BFFF;
    color: white;
    border-color: #00BFFF;
    transform: translateY(-2px);
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.comments-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title span {
    background: #00BFFF;
    color: white;
    padding: 1px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Comment Form - O'ZGARTIRILGAN QISM */
.comment-form {
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comment-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    background: white;
    box-sizing: border-box;
}

.comment-form textarea:focus {
    border-color: #00BFFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.08);
}

.comment-form .form-actions {
    display: flex;
    justify-content: flex-end;
}

.comment-form .submit-btn {
    background: #00BFFF;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form .submit-btn:hover {
    background: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.25);
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.comment-item:hover {
    border-left-color: #00BFFF;
    background: #f0f9ff;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00BFFF, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-user {
    font-weight: 600;
    color: #1a202c;
    font-size: 14px;
    display: inline;
}

.comment-user .badge {
    font-size: 10px;
    background: #00BFFF;
    color: white;
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 500;
    margin-left: 6px;
    display: inline-block;
}

.comment-date {
    font-size: 11px;
    color: #a0aec0;
    margin-left: 8px;
}

.comment-date i {
    color: #00BFFF;
    margin-right: 3px;
}

.comment-text {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 3px;
}

.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.comment-actions button {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.comment-actions button:hover {
    color: #00BFFF;
}

.comment-actions button i {
    font-size: 12px;
}

.no-comments {
    text-align: center;
    color: #a0aec0;
    padding: 30px 0;
    font-size: 14px;
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.no-comments i {
    font-size: 30px;
    color: #e2e8f0;
    display: block;
    margin-bottom: 10px;
}

.news-wrapper {
    padding: 40px 0;
    width: 100%;
} 

.news-grid {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 30px;
    width: 100%;
}

.news-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.news-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    width: 100%;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    width: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00BFFF;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: #a0aec0;
}

.news-meta i {
    color: #00BFFF;
    margin-right: 5px;
}

.news-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.news-title:hover {
    color: #00BFFF;
}

.news-excerpt {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    display: inline-block;
    background: #00BFFF;
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.news-read-more:hover {
    background: #0099cc;
    color: white;
    transform: translateY(-2px);
}

/* Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    width: 100%;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00BFFF;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-add-btn {
    background: #00BFFF;
    color: white;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-add-btn:hover {
    background: #0099cc;
    color: white;
    transform: scale(1.05);
}

/* Popular News */
.popular-news-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

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

.popular-news-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.popular-news-info {
    flex: 1;
    min-width: 0;
}

.popular-news-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a202c;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-news-title:hover {
    color: #00BFFF;
}

.popular-news-date {
    font-size: 12px;
    color: #a0aec0;
}

.popular-news-date i {
    color: #00BFFF;
    margin-right: 5px;
}

/* Categories */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.category-list a:hover {
    color: #00BFFF;
}

.category-count {
    background: #f7fafc;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #4a5568;
}

/* Tags */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tag-item {
    background: #f7fafc;
    color: #4a5568;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tag-item:hover {
    background: #00BFFF;
    color: white;
    border-color: #00BFFF;
    transform: translateY(-2px);
}

.tag-add-btn {
    background: #00BFFF;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #00BFFF;
    display: inline-block;
}

.tag-add-btn:hover {
    background: #0099cc;
    color: white;
    border-color: #0099cc;
    transform: translateY(-2px);
}

/* Search and Add Post - O'ZGARTIRILGAN QISM */
.search-post-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.search-post-row .search-input {
    flex: 1;
    position: relative;
    min-width: 0;
}

.search-post-row .search-input input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
    box-sizing: border-box;
}

.search-post-row .search-input input:focus {
    border-color: #00BFFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.search-post-row .search-input .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.search-post-row .add-post-btn {
    background: #00BFFF;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.search-post-row .add-post-btn:hover {
    background: #0099cc;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .post-grid {
        grid-template-columns: 64% 33%;
    }
}

@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: 65% 35%;
    }
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-cards {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 200px;
    }

    .news-wrapper {
        padding: 20px 0;
    }

    .sidebar-widget {
        padding: 20px;
    } 

    /* O'ZGARTIRILGAN - mobile da ham yonma-yon */
    .search-post-row {
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .search-post-row .search-input {
        flex: 1;
        min-width: 0;
    }

    .search-post-row .add-post-btn {
        padding: 12px 16px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .search-post-row .add-post-btn span {
        display: inline;
    }

    .form-container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    } 

    .image-upload-minimal {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-preview-minimal {
        width: 100%;
        height: 150px;
    }

    .image-upload-minimal .upload-btn {
        padding: 10px 15px;
    }

    .post-meta {
        gap: 3px;
        font-size: 13px;
    }

    .post-meta-item {
        padding: 4px 8px;
        font-size: 9px;
    } 

    .post-meta-item i {
        font-size: 11px;
    }

    .post-description {
        font-size: 16px;
    }

    .post-body {
        font-size: 15px;
    }

    .comment-form {
        padding: 12px;
    }

    .comment-form .submit-btn {
        /* width: 100%; */
        justify-content: end;
        height: 44px;
        height: 35px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    

    /* .post-sidebar {
        display: none;
    } */
}

@media (max-width: 480px) {
    .search-post-row {
        gap: 8px;
    }

    .search-post-row .search-input input {
        padding: 10px 12px 10px 38px;
        font-size: 14px;
    }

    .search-post-row .search-input .search-icon {
        left: 12px;
        font-size: 14px;
    }

    .search-post-row .add-post-btn {
        padding: 14px 12px;
        font-size: 13px;
    }

    .search-post-row .add-post-btn span {
        font-size: 12px;
        display: none;
    }

    .post-image {
        height: 200px;
    }

    .post-content {
        padding: 20px 16px;
    }

    .post-meta {
        padding: 20px 10px 0 10px;
    }

    .post-title {
        font-size: 20px;
    }

    .comments-section {
        padding: 16px;
    }

    .comment-item {
        padding: 8px 10px;
        gap: 8px;
    }

    .comment-avatar {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .comment {
        display: none;
    }

} 

 

/* POST ACTIONS WIDGET */
.post-actions-widget {  
    border-radius: 10px;
    padding: 20px; 
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.post-actions-widget .sidebar-widget-title {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-actions-widget .sidebar-widget-title::before {
    content: '\f013';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #6c757d;
    font-size: 18px;
}

.post-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-action-btn {
    flex: 1;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.post-action-btn i {
    font-size: 16px;
}

.post-action-btn span {
    font-size: 14px;
}

.edit-btn {
    color: #00BFFF;
    border-color: #00BFFF;
    background: #fff;
}

.edit-btn:hover {
    background: #00BFFF;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.delete-btn {
    color: #e74c3c;
    border-color: #e74c3c;
    background: #fff;
}

.delete-btn:hover {
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

@media (min-width: 990px) {
    .mobile {
        display: none;
    }
}

@media (max-width: 768px) { 
    .post-action-btn {
        width: 100%;
        justify-content: center;
        padding: 8px;
    }

    .post-action-btn span {
        font-size: 12px;
    }

    .post-action-btn i {
        font-size: 12px;
    }

    .network {
        display: none;
    }

    .post-sidebar {
        display: none;
    }
} 

/* Post edit uchun */
/* Rasm yuklash uchun stillar */
.image-upload-minimal {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 2px dashed #3498db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #3498db;
    font-weight: 500;
}

.upload-btn:hover {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

.upload-btn i {
    font-size: 18px;
}

.file-name {
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.image-preview-minimal {
    position: relative;
    display: inline-block;
}

.image-preview-minimal img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 6px;
    border: 2px solid #dee2e6;
    object-fit: cover;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    border: 2px solid #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    transition: all 0.3s ease;
    padding: 0;
}

.remove-image:hover {
    background: #c82333;
    transform: scale(1.1);
}

.current-image {
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: inline-block;
}

.current-image img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    object-fit: cover;
}

.current-image .text-muted {
    font-size: 12px;
    color: #6c757d;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .image-upload-minimal {
        flex-direction: column;
        align-items: stretch;
    }
    
    .upload-btn {
        justify-content: center;
    }

    .form-text {
        font-size: 11px;
    }
} 