:root {
    --primary: #fcba05
;
    --primary-dark: #dfd00a;
    --secondary: #222222;
    --text-color: #333333;
    --text-light: #777777;
    --light-bg: #f6f6f6;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* Add these container styles at the top */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content-wrapper {
    flex: 1;
    padding: 40px 0;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Product View Container */
.product-view-container {
    display: block; /* Change from grid to block for mobile */
    padding: 15px;
    margin: 0 auto;
    max-width: 100%;
}

@media (min-width: 992px) {
    .product-view-container {
        display: grid;
        grid-template-columns: calc(60% - 20px) 40%;
        gap: 40px;
        padding: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Product Image Section */
.product-image-container {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-top: 75%; /* 4:3 Aspect ratio */
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

@media (min-width: 576px) {
    .thumbnail-gallery {
        grid-template-columns: repeat(5, 1fr);
    }
}

.thumbnail {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.thumbnail img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

/* Product Details Section */
.product-info {
    width: 100%;
    padding: 0;
}

.product-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.short-description {
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* Add these styles for the product rating in the main product info section */
.product-rating {
    display: flex;
    align-items: center;
    margin: -5px 0 15px;
}

.product-rating .rating-stars {
    color: #FFD700;
    font-size: 16px;
    margin-right: 10px;
}

.product-rating .rating-text {
    display: flex;
    align-items: center;
}

.product-rating .rating-value {
    font-weight: 700;
    font-size: 16px;
    color: var(--secondary);
    margin-right: 5px;
}

.product-rating .rating-count {
    color: var(--text-light);
    font-size: 14px;
}

/* Add a hover effect for better user interaction */
.product-rating:hover {
    cursor: pointer;
}

.product-rating:hover .rating-text::after {
    content: "- View all reviews";
    color: var(--primary);
    font-size: 14px;
    margin-left: 5px;
    text-decoration: underline;
}

/* Price Section */
.price-section {
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
}

.price-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.price-option:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.price-label {
    display: flex;
    align-items: center;
}

.price-radio {
    margin-right: 10px;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.price-value {
    font-weight: 700;
    font-size: 18px;
}

.price-selected {
    color: var(--secondary);
}

.buy-button {
    background-color: #fcba05;
    color: #222 !important;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-top: 20px;
    text-decoration: none;
    text-align: center;
}

.buy-button i {
    margin-right: 10px;
    font-size: 18px;
    color: #222 !important;
}

.buy-button:hover,
.buy-button:focus {
    background-color: #fff;
    color: #222 !important;
}

.buy-button:hover i,
.buy-button:focus i {
    color: #222 !important;
}

.download-button {
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    margin-top: 20px;
    text-decoration: none;
    text-align: center;
}

.download-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.download-button i {
    margin-right: 10px;
    font-size: 18px;
}

/* Download options styling */
.owned-product {
    background-color: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: #fcba05;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #e6a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(252, 186, 5, 0.2);
    color: #fff;
    text-decoration: none;
}

.btn-download i {
    margin-right: 8px;
}

.download-format-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-format-button:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.download-format-button i {
    margin-right: 10px;
    font-size: 16px;
}

/* File Format Badges */
.file-formats {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.format-badge {
    background-color: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.format-badge:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Author Section */
.author-section {
    margin: 2rem 0;
}

.author-section .card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
}

.author-section .card-body {
    padding: 1.5rem;
}

.author-section img.rounded-circle {
    border: 4px solid #fff;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
}

.author-section h5 a {
    color: #566a7f;
    font-weight: 600;
}

.author-section h5 a:hover {
    color: #696cff;
}

.badge.bg-label-primary {
    background-color: #e7e7ff !important;
    color: #696cff !important;
    font-weight: 500;
}

.author-section .text-muted {
    color: #a1acb8 !important;
}

.author-section .btn {
    padding: 0.4375rem 1.25rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease-in-out;
}

.author-section .btn-primary {
    background-color: #696cff;
    border-color: #696cff;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4);
}

.author-section .btn-primary:hover {
    background-color: #5f62e6;
    border-color: #5f62e6;
    transform: translateY(-1px);
}

.author-section .btn-outline-secondary {
    border-color: #8592a3;
    color: #8592a3;
}

.author-section .btn-outline-secondary:hover {
    background-color: #8592a3;
    color: #fff;
    transform: translateY(-1px);
}

/* Icon styles */
.author-section .bx {
    font-size: 1.125rem;
}

.author-section .text-primary {
    color: #696cff !important;
}

.author-section .text-success {
    color: #71dd37 !important;
}

.author-section .text-warning {
    color: #ffab00 !important;
}

/* Stats styling */
.author-section .fw-semibold {
    font-weight: 600;
    color: #566a7f;
    margin: 0 0.25rem;
}

/* Waves effect */
.waves-effect {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

/* Reset product-view-container layout for mobile first */
.product-view-container {
    display: block; /* Change from grid to block for mobile */
    padding: 15px;
    margin: 0 auto;
    max-width: 100%;
}

/* Product image container mobile-first */
.product-image-container {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-top: 75%; /* 4:3 Aspect ratio */
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Thumbnail gallery mobile optimization */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

/* Product info section mobile-first */
.product-info {
    width: 100%;
    padding: 0;
}

.product-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}

/* Price section mobile optimization */
.price-section {
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
}

/* Author section mobile optimization */
.author-section .card-body {
    padding: 15px;
}

.author-section .d-flex {
    flex-direction: column;
}

.author-section .author-actions {
    margin-top: 15px;
    width: 100%;
}

/* Stats grid mobile optimization */
.stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 15px 0;
}

/* Tabs mobile optimization */
.tab-navigation {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin: 0 -15px;
    padding: 0 15px;
}

.tab {
    padding: 10px 15px;
    font-size: 14px;
}

/* Related products mobile optimization */
.related-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

/* Subcategory showcase mobile optimization */
.subcategory-slider {
    gap: 10px;
    padding: 5px 0 15px;
}

.subcategory-item {
    width: 140px;
}

/* Reviews section mobile optimization */
.reviews-header {
    flex-direction: column;
    gap: 15px;
}

.rating-bars {
    width: 100%;
}

/* Responsive breakpoints */
@media (min-width: 576px) {
    .product-view-container {
        padding: 20px;
    }

    .product-title {
        font-size: 24px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    .subcategory-item {
        width: 160px;
    }
}

@media (min-width: 768px) {
    .product-view-container {
        padding: 30px;
    }

    .product-title {
        font-size: 26px;
    }

    .price-section {
        padding: 20px;
    }

    .author-section .card-body {
        padding: 20px;
    }

    .author-section .d-flex {
        flex-direction: row;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .reviews-header {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .product-view-container {
        display: grid;
        grid-template-columns: calc(60% - 20px) 40%;
        gap: 40px;
        padding: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .product-image-container {
        margin-bottom: 0;
    }

    .product-title {
        font-size: 28px;
    }

    .author-section .author-actions {
        margin-top: 0;
        width: auto;
    }

    .related-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-view-container {
        gap: 50px;
    }

    .product_info {
        padding-right: 20px;
    }
}

/* Fix container alignment with header/footer */
.main-content-wrapper {
    padding: 0px 0;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Fix button and action row responsiveness */
.action-row {
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .action-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.buy-button,
.download-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .buy-button,
    .download-button {
        padding: 15px 25px;
        font-size: 16px;
    }
}

/* Fix share buttons responsiveness */
.share-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (min-width: 768px) {
    .share-section {
        justify-content: flex-start;
    }
}

/* Fix content overflow issues */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Add smooth scrolling */
.tab-navigation {
    scroll-behavior: smooth;
}

/* Fix subcategory nav buttons visibility */
.subcategory-nav-btn {
    display: none;
}

@media (min-width: 768px) {
    .subcategory-nav-btn {
        display: flex;
    }
}

/* Add these styles for the reviews tab */
.reviews-container {
    margin-bottom: 40px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.overall-rating {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    padding: 8px 15px;
    border-radius: 30px;
}

.rating-stars {
    color: #FFD700;
    font-size: 18px;
    margin-right: 10px;
}

.rating-value {
    font-weight: 700;
    font-size: 18px;
    margin-right: 5px;
}

.rating-count {
    color: var(--text-light);
    font-size: 14px;
}

.rating-bars {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-bar-row:last-child {
    margin-bottom: 0;
}

.star-label {
    width: 70px;
    font-size: 14px;
    color: var(--text-color);
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 15px;
}

.progress {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
}

.count-label {
    width: 30px;
    text-align: right;
    font-size: 14px;
    color: var(--text-color);
}

/* Review Form */
.review-form-container {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.review-form-container h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--secondary);
}

.review-form .form-group {
    margin-bottom: 15px;
}

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-input {
    display: flex;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

.rating-input i {
    margin-right: 8px;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input i.fas {
    color: #FFD700;
}

.rating-input i:hover {
    transform: scale(1.1);
}

.submit-review-btn {
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
}

.submit-review-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 231, 14, 0.3);
}

/* Login Prompt */
.login-prompt {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.login-prompt p {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.login-prompt a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

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

/* Reviews List */
.reviews-list {
    margin-top: 30px;
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: background-color 0.2s;
}

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

.review-item:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-avatar i {
    font-size: 24px;
    color: var(--text-light);
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.review-date {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 3px;
}

.review-rating {
    color: #FFD700;
    font-size: 16px;
}

.review-title {
    margin: 15px 0 10px;
    font-weight: 600;
    font-size: 18px;
    color: var(--secondary);
}

.review-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0;
    white-space: pre-line;
}

.no-reviews {
    text-align: center;
    padding: 30px 0;
    color: var(--text-light);
    font-style: italic;
}

/* Load More Button */
.load-more-btn {
    display: block;
    margin: 25px auto 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .overall-rating {
        margin-top: 10px;
    }
    
    .rating-bars {
        padding: 15px;
    }
    
    .review-header {
        flex-direction: column;
    }
    
    .review-rating {
        margin-top: 10px;
    }
    
    .review-form-container {
        padding: 20px;
    }
}

/* Updated Author Card Styles */
.author-section {
    margin: 2rem 0;
}

.author-section .card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
}

.author-section .card-body {
    padding: 1.5rem;
}

.author-section img.rounded-circle {
    border: 4px solid #fff;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
}

.author-section h5 a {
    color: #566a7f;
    font-weight: 600;
}

.author-section h5 a:hover {
    color: #696cff;
}

.badge.bg-label-primary {
    background-color: #e7e7ff !important;
    color: #696cff !important;
    font-weight: 500;
}

.author-section .text-muted {
    color: #a1acb8 !important;
}

.author-section .btn {
    padding: 0.4375rem 1.25rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease-in-out;
}

.author-section .btn-primary {
    background-color: #696cff;
    border-color: #696cff;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4);
}

.author-section .btn-primary:hover {
    background-color: #5f62e6;
    border-color: #5f62e6;
    transform: translateY(-1px);
}

.author-section .btn-outline-secondary {
    border-color: #8592a3;
    color: #8592a3;
}

.author-section .btn-outline-secondary:hover {
    background-color: #8592a3;
    color: #fff;
    transform: translateY(-1px);
}

/* Icon styles */
.author-section .bx {
    font-size: 1.125rem;
}

.author-section .text-primary {
    color: #696cff !important;
}

.author-section .text-success {
    color: #71dd37 !important;
}

.author-section .text-warning {
    color: #ffab00 !important;
}

/* Stats styling */
.author-section .fw-semibold {
    font-weight: 600;
    color: #566a7f;
    margin: 0 0.25rem;
}

/* Waves effect */
.waves-effect {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .author-section .d-flex {
        flex-direction: column;
    }

    .author-section .d-flex.align-items-start {
        gap: 1rem;
    }

    .author-section .d-flex.gap-3 {
        width: 100%;
    }

    .author-section .d-flex.flex-column {
        width: 100%;
        flex-direction: row !important;
        gap: 0.5rem !important;
        margin-top: 1rem;
    }

    .author-section .btn {
        flex: 1;
    }
}
/* Updated Author Section Styles to match theme */
.author-section {
    margin: 2rem 0;
}

.author-section .card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
}

.author-section .card-body {
    padding: 1.5rem;
}

.author-section .author-avatar img {
    border: 3px solid #fff;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.08);
}

.author-section .author-info h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-section .author-info h5 a:hover {
    color: #fcba05;
}

.author-section .badge.bg-label-warning {
    background-color: rgba(252, 186, 5, 0.1) !important;
    color: #fcba05 !important;
    font-weight: 500;
    font-size: 0.8rem;
}

.author-section .author-stat {
    padding-right: 1rem;
}

.author-section .stat-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.2;
}

.author-section .stat-label {
    font-size: 0.75rem;
    color: #777;
}

.author-section .author-actions {
    min-width: 160px;
}
/* Updated Author Section with cleaner design */
.author-section {
    margin: 1.5rem 0;
}

.author-section .card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
}

.author-section .author-avatar img {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.author-section .author-info h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-section .author-info h5 a:hover {
    color: #fcba05;
}

.author-section .badge.bg-label-warning {
    background-color: rgba(252, 186, 5, 0.1) !important;
    color: #fcba05 !important;
    font-weight: 500;
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
}

.author-section .author-stat {
    padding-right: 0.75rem;
}

.author-section .stat-value {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.1;
}

.author-section .stat-label {
    font-size: 0.7rem;
    color: #777;
}

/* Smaller, cleaner buttons */
.author-section .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.author-section .btn-primary {
    background-color: #fcba05;
    border-color: #fcba05;
    color: #333;
}

.author-section .btn-primary:hover {
    background-color: #e5a804;
    border-color: #e5a804;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(252, 186, 5, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .author-section .d-flex.align-items-start {
        flex-direction: column;
    }
    
    .author-section .author-actions {
        margin-top: 1rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    .author-section .author-stat {
        padding-right: 0.5rem;
    }
}

/* Add responsive spacing utilities */
@media (max-width: 767px) {
    .mb-sm-3 {
        margin-bottom: 1rem;
    }
    
    .mt-sm-3 {
        margin-top: 1rem;
    }
    
    .px-sm-3 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

