/*skeleton*/
.skeleton-card {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
}

.skeleton-image {
    width: 100%;
    height: 180px;
    border-radius: 6px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.skeleton-text {
    height: 16px;
    background-color: #e0e0e0;
    border-radius: 4px;
}

.shimmer {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, #e0e0e0 0%, #f8f8f8 50%, #e0e0e0 100%);
    background-size: 200% 100%;
}

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

    100% {
        background-position: 200% 0;
    }
}

.skeleton-loader {
    position: relative;
    overflow: hidden;
    background-color: #e0e0e0;
}

.skeleton-line,
.skeleton-circle {
    background: linear-gradient(90deg, #e0e0e0 25%, #f4f4f4 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 4px;
}

.skeleton-circle {
    border-radius: 50%;
}




/*skeleton end*/
.article-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dddddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.media-top-section {
    padding: 8px 12px;
    /* No absolute positioning */
}

.profile-img {
    width: 36px !important;
    height: 36px;
    object-fit: cover;
}

.media-wrapper {
    position: relative;
    height: 250px;
    width: 100%;

}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    color: white;
    z-index: 5;

    background-color: rgba(0, 0, 0, 0.5);
    /* black with 50% opacity */
    padding: 12px;
    /* some padding around the icon */

    /* circular background */
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.media-bottom-section {
    padding: 8px 12px;
    /* No absolute positioning */
}

.article-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.article-time {
    font-size: 0.9rem;
    color: #6c757d;
    /* Bootstrap muted color */
}

/*categories tabs*/
.category-card {
    display: inline-block;
    white-space: nowrap;
    padding: 10px 20px;
    background: #f8f9fa;
    /* light background */
    border: 2px solid #dee2e6;
    /* subtle border */
    border-radius: 25px;
    /* smooth round corners */
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
    text-align: center;
    color: #495057;
}

.category-item.active .category-card {
    background-color: #1b74e4;
    color: white;

}

/*categories tab*/
.actions-line {
    display: flex;
    align-items: center;
    justify-content: start;
}

.article-tool-box .unlike {
    color: rgb(219, 56, 56);
}

.article-tool-box .unfeatured {
    color: rgb(223, 182, 63);
}

.article-tool-box .featured {
    color: #101010;
}

.main-details-img img {
    max-height: 550px;
    object-fit: cover;
}

.article-comment-container {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    margin: 7px 0px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
}

/*add media*/
/* Add styles for the categories section inside the modal */
/* Style the category container */
/* Caption field styling */
#mediaCaption {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-top: 3px;

}

/* Align the submit button to the right and make it smaller */
.d-flex.justify-content-end .btn-sm {
    font-size: 15px;
    padding: 7px 25px;
    border-radius: 5px;
    width: auto;
    border: none;
}

.categories-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Style each category item */
.category-item_modal,
.category-item_article_modal {
    padding: 5px;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 13px;
}

/* Hover effect */
.category-item_modal:hover,
.category-item_article_modal:hover {
    background-color: #e0e0e0;

}

/* Active category (highlighted) */
.category-item_modal.active,
.category-item_article_modal.active {
    background-color: #1b74e4;
    color: white;
    font-weight: bold;
}

.category-card_modal {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
}

/* Customize the media input box (Dropify) */
#dropifyStep .dropify {
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #ddd;
    background-color: #f9f9f9;
}

/* Style the Post button */


#submitPostBtn:disabled,
#submitPostArticleBtn:disabled {
    background-color: #ccc;
}

/*add media*/

/*folder section*/
/* Folder List Styling */
.folder-item {
    border-left: 3px solid transparent;
    /* Adds a left border when folder is clicked */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
    cursor: pointer;
    /* Cursor changes to pointer */
}

/* On hover over folder item */
.folder-item:hover {

    /* Light background color */
    border-left: 3px solid #007bff;
    /* Blue left border */
}

/* Subfolder Styling */
.subfolder-item {
    padding-left: 20px;
    /* Indentation for subfolders */
    font-size: 0.95rem;
    /* Slightly smaller font size */
    color: #6c757d;
    /* Grey color for subfolder text */
    transition: background-color 0.3s ease;
    /* Smooth transition */
}

/* Subfolder hover effect */
.subfolder-item:hover {
    background-color: #e9ecef;
    /* Light grey hover effect */
    color: #343a40;
    /* Darken text color */
}

/* Arrow Icon Styling */
.toggle-subfolders {
    cursor: pointer;
    font-size: 15px;
    /* Larger arrow icon */
    transition: transform 0.3s ease;
    /* Smooth rotation for arrow */
}

/* Arrow rotation when subfolders are shown */
.subfolders:visible+.toggle-subfolders {
    transform: rotate(180deg);
    /* Rotate arrow 180 degrees when subfolders are visible */
}

/* Smooth transitions for subfolders */
.subfolders {
    padding-left: 20px;
    /* Indentation */
    transition: all 0.3s ease;
    /* Smooth transition for visibility */
}

/*folder section*/
/*search box*/
.search-box {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    color: #1b74e4;
    background: #ffffff;
    border: 1px solid #1b74e4;
    box-sizing: border-box;
    border-radius: 30px;
    padding: 8px 16px;
    transition: all 0.3s;
    white-space: nowrap;
    height: 40px;
}

.search-box i {
    color: #1b74e4;
    font-size: 18px;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    color: #1b74e4;
    font-weight: 500;
    font-size: 15px;
    width: 160px;
}

.search-input:focus {
    border: none !important;
    outline: none !important;
    background: transparent;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: #1b74e4;
    opacity: 0.7;
}

/*searchbox*/