/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: #0dcaf0;
}

    a:hover {
        color: #0a58ca;
    }

/* Header styles */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Footer styles */
footer {
    background-color: #212529;
}

    footer a {
        color: #adb5bd;
    }

        footer a:hover {
            color: #fff;
        }

/* Blog post styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.card-img-top {
    height: 300px;
    object-fit: cover;
}

/* Rating stars */
/*.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

    .rating input {
        display: none;
    }

    .rating label {
        font-size: 2rem;
        color: #ddd;
        cursor: pointer;
    }

    .rating input:checked ~ label {
        color: #ffc107;
    }

    .rating label:hover,
    .rating label:hover ~ label {
        color: #ffc107;
    }*/

.star-rating-container {
    display: flex;
    flex-direction: column;
    text-align: end;
}

.star-rating {
    display: inline-block;
    font-size: 0;
    unicode-bidi: bidi-override;
    direction: rtl;
}

    .star-rating input {
        display: none;
    }

    .star-rating label {
        font-size: 32px;
        display: inline-block;
        position: relative;
        cursor: pointer;
        color: #ddd;
        margin-right: 5px;
    }

        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: #ffc107;
        }

.submit-button-container {
    text-align: left; /* Aligns button to the left below stars */
}

/* Comment styles */
.comment {
    border-left: 3px solid #0dcaf0;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.comment-reply {
    margin-left: 3rem;
}



.comment-card {
    border-left: 3px solid #0dcaf0;
}

.reply-card {
    background-color: #f8f9fa;
    border-left: 2px solid #6c757d;
}

.replies-container {
    border-left: 1px solid #dee2e6;
    padding-left: 1rem;
}

/* Admin styles */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        padding-top: 0;
    }

    .sidebar-sticky {
        height: auto;
    }
}

/* Editor styles */
.editor-toolbar {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    padding: 5px;
}

.editor-content {
    border: 1px solid #dee2e6;
    border-radius: 0 0 4px 4px;
    min-height: 300px;
    padding: 10px;
}

/* Donation button animation */
#donate-button {
    transition: all 0.3s ease;
}

    #donate-button:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

/* Premium badge */
.premium-badge {
    background: linear-gradient(45deg, #ffc107, #ff6b08);
    color: #000;
    font-weight: bold;
}


/* Sidebar styles */
.card {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

.card-body {
    padding: 1.25rem;
}

.list-unstyled li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #eee;
}

    .list-unstyled li:last-child {
        border-bottom: none;
    }

/* Tag buttons */
.btn-outline-secondary {
    transition: all 0.3s ease;
    border-color: #0dcaf0 !important;
}


    .btn-outline-secondary:hover {
        background-color: #0dcaf0;
        color: white;
        border-color: #0dcaf0 !important;
    }

.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    transform: translateY(-2px);
}

.transition {
    transition: all 0.3s ease;
}

.tag-cloud a {
    display: inline-block;
    margin: 0 0.3rem 0.6rem 0;
    transition: all 0.3s ease;
}

    .tag-cloud a:hover {
        transform: scale(1.05);
        color: white !important;
    }

.hero-section {
    background: linear-gradient(135deg, #0dcaf0 0%, #0dcaf0 100%);
}

.dropdown-item.active-category {
    background-color: #0dcaf0 !important;
    color: white !important;
}

    .dropdown-item.active-category:hover {
        background-color: #0dcaf0 !important;
        color: white !important;
    }

.pagination .page-item.active .page-link {
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
    color: white !important;
}

.pagination .page-item .page-link {
    color: #0dcaf0;
    border-color: #0dcaf0;
}

    .pagination .page-item .page-link:hover {
        background-color: #0dcaf0;
        color: white;
    }

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}
