/* 
 * Main quotes styles
 */

/* Quote container */
.quotes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Quote card - kompaktna verzija */
.quote-card-compact {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    transition: all 0.1s ease;
    min-height: 100px;
    position: relative;
    overflow: visible;
}

.quote-card-compact:hover {
    box-shadow: 0 0px 0px rgba(0,0,0,0);
    border-color: #e0e0e0;
}

/* Author image */
.author-image-link {
    flex-shrink: 0;
    margin-right: 20px;
    position: relative;
    z-index: 2;
    text-decoration: none;
    display: block;
    transition: opacity 0.2s ease;
}

.author-image-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}

.author-image-link:hover .author-image-wrapper {
    border-color: #fbefd9;
    transform: scale(1.05);
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-image-wrapper.placeholder {
    background: linear-gradient(135deg, #0073aa 0%, #19a4e4 100%);
}

.author-initial {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

/* Quote content */
.quote-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 60px;
    position: relative;
    width: 100%;
    padding-right: 0;
    margin-right: 0;
}

.quote-text-compact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    line-height: 1.6;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Quote marks */
.quote-mark {
    font-size: 10px;
    color: #333;
    font-weight: normal;
    line-height: 0.8;
    flex-shrink: 0;
    font-family: 'Fenix' ;
    opacity: 0.9;
}

.open-quote {
    margin-right: 3px;
    align-self: flex-start;
    margin-top: -2px;
}

.close-quote {
    margin-left: 0px;
    align-self: flex-start;
    margin-top: 0;
    display: inline-block;
    vertical-align: top;
    line-height: 0.8;
}

.quote-full-text {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333;
    font-style: italic;
    line-height: 1.6;
    flex-grow: 1;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-right: 0;
    padding-right: 0;
    max-width: none;
    display: inline;
}

/* Quote meta */
.quote-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 6px;
    position: relative;
    z-index: 3;
    width: 100%;
}

.quote-author-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.quote-author-link:hover .quote-author {
    color: #008ccd;
    text-decoration: underline;
}

.quote-author {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
}

.book-reference {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Quote tags */
.quote-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    position: relative;
    z-index: 3;
    width: 100%;
}

.quote-tag {
    font-size: 11px;
    color: #666;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.quote-tag:hover {
    background: #f7fafc;
    color: white;
    border-color: #f7fafc;
    text-decoration: none;
}

/* Action buttons */
.quote-actions-bottom-parallel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    z-index: 50;
    height: auto;
    background: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

.action-buttons-small {
    display: flex;
    gap: 6px;
    align-items: center;
}

.action-buttons-small button {
    text-align: center;
    word-wrap: break-word;
    border-radius: 3px;
    border: 1px solid #D6D0C4;
    font-family: "Lato", "Helvetica Neue", "Helvetica", sans-serif;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #F4F1EA;
    line-height: 1;
    font-size: 11px;
    padding: 4px 8px;
    color: #333333;
    min-width: 32px;
    min-height: 24px;
    transition: all 0.2s ease;
}

.action-buttons-small button:hover {
    background-color: #E8E2D5;
    border-color: #C4BCAC;
}

.action-buttons-small button svg {
    width: 11px;
    height: 11px;
    fill: #333333;
    transition: fill 0.2s ease;
}

/* Specific button styles */
.bookmark-btn-small {
    padding: 4px 6px !important;
}

.bookmark-btn-small.bookmarked svg {
    fill: #0073aa;
}

.bookmark-btn-small:hover svg {
    fill: #0073aa;
}

.like-btn-small {
    padding: 4px 6px !important;
}

.like-btn-small:hover svg {
    fill: #0073aa;
}

.like-btn-small.liked svg {
    fill: #0073aa;
}

.share-btn-small {
    padding: 4px 6px !important;
}

.share-btn-small:hover svg {
    fill: #0073aa;
}

/* SHARE DROPDOWN */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 1000;
    display: none;
    margin-bottom: 10px;
    overflow: hidden;
}

.share-options.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.share-option {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: left;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
}

.share-option:last-child {
    border-bottom: none;
}

.share-option:hover {
    background: #f8f9fa;
    color: #0073aa;
}

.facebook-share:hover {
    background: #f5f2eb;
    color: white;
}

.twitter-share:hover {
    background: #f5f2eb;
    color: white;
}

.whatsapp-share:hover {
    background: #f5f2eb;
    color: white;
}

.email-share:hover {
    background: #f5f2eb;
    color: white;
}

.copy-share:hover {
    background: #f5f2eb;
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search box */
.quoteSearchBox {
    margin-bottom: 0px !important;
}

.gr-form.gr-form--compact.gr-form--fullWidth {
    display: flex !important;
    align-items: center !important;
    gap: 0px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    position: relative !important;
}

.searchBox--large__input {
    flex: 1 !important;
    height: 2px !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    line-height: 38px !important;
    border: 1px solid #fffbf2 !important;
    border-radius: 6px !important;
    background: #fffbf2 !important;
    color: #fffbf2 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px #fffbf2 !important;
    min-width: 300px !important;
    max-width: 100% !important;
}

.searchBox--large__input:focus {
    outline: none !important;
    border-color: #fffbf2 !important;
    box-shadow: 0 0 0 0px #fffbf2 !important;
}

.searchBox--large__input::placeholder {
    color: #fffbf2 !important;
    font-size: 13.5px !important;
}

.searchBox__button.searchBox--large__button {
    height: 38px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 0 !important;
    color: #fffbf2 !important;
    background: #fffbf2 !important;
    border: solid 1px #fffbf2 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    min-width: 80px !important;
    box-shadow: 0 1px 2px #fffbf2 !important;
}

.searchBox__button.searchBox--large__button:hover {
    background: #fffbf2 !important;
    color: #fffbf2 !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px #fffbf2 !important;
}

/* Tabs */
.mediumTabs {
    display: flex;
    gap: 0px;
    margin-bottom: 0px;
    border-bottom: 1px solid #fffbf2;
    padding-bottom: 10px;
}

.tab {
    padding: 0px 0px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #fffbf2;
}

.tab:hover {
    background: #fffbf2;
    color: #fffbf2;
}

.tab.selected {
    color: #fffbf2;
    background: #fffbf2;
    border-bottom: 2px solid #fffbf2;
}

/* Filter sections */
.filter-section {
    display: none;
    margin-bottom: 30px;
}

.filter-container {
    background: #fffbf2;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #fffbf2;
}

.filter-title {
    margin-top: 0;
    margin-bottom: 0px;
    color: #fffbf2;
    font-size: 18px;
}

.authors-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.author-filter-item,
.category-filter-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.author-filter-item:hover,
.category-filter-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #0073aa;
}

.author-link,
.category-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.author-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #e9ecef;
}

.author-thumbnail.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0073aa 0%, #19a4e4 100%);
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #2c3e50;
}

.quote-count {
    font-size: 12px;
    color: #666;
}

.category-icon {
    margin-right: 15px;
    color: #0073aa;
}

.category-name {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #2c3e50;
}

/* Pagination */
.quote-pagination {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.pagination-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* Osnovni stil za sve paginacione linkove */
.pagination-links a,
.pagination-links span,
.pagination-links .page-numbers,
.quote-pagination a,
.quote-pagination span,
.quote-pagination .page-numbers {
    padding: 6px 12px;
    background:   #f5f2eb!important;
    border: 1px solid #D6D0C4 !important;
    border-radius: 4px;
    text-decoration: none; 
    color: #333 !important;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* Hover efekat za sve linkove */
.pagination-links a:hover,
.pagination-links span:hover,
.pagination-links .page-numbers:hover,
.quote-pagination a:hover,
.quote-pagination span:hover,
.quote-pagination .page-numbers:hover {
    background: #E8E2D5 !important;
    border-color: #D6D0C4 !important;
    color: #333 !important;
    transition: 0.1s !important;
}

/* Stil za trenutnu stranicu */
.pagination-links .current,
.pagination-links span.current,
.quote-pagination .current,
.quote-pagination span.current,
.pagination-links .page-numbers.current,
.quote-pagination .page-numbers.current {
    background: #E8E2D5 !important;
    border-color: #D6D0C4 !important;
    color: #333 !important;
}

/* Hover za trenutnu stranicu */
.pagination-links .current:hover,
.pagination-links span.current:hover,
.quote-pagination .current:hover,
.quote-pagination span.current:hover,
.pagination-links .page-numbers.current:hover,
.quote-pagination .page-numbers.current:hover {
    background: #d6d0c4 !important;
    border-color: #D6D0C4 !important;
    color: #333 !important;
}
 

/* Notifications */
.like-notification,
.share-notification,
.bookmark-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 14px;
    animation: slideInRight 0.3s ease;
}

.bookmark-notification.success {
    background: #28a745;
    border-left: 4px solid #1e7e34;
}

.bookmark-notification.error {
    background: #dc3545;
    border-left: 4px solid #bd2130;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Like count */
.like-count-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}

.like-count-number {
    font-size: 10px;
    font-weight: 600px;
    color: #2c3e50;
}

.like-label-small {
    font-size: 10px;
    color: #666;
}

/* Bookmarked quotes styles */
.bookmarked-quotes-container {
    margin: 20px 0;
}

.bookmarks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.bookmarks-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bookmarks-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #2c3e50;
}

.clear-all-bookmarks {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.clear-all-bookmarks:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.clear-all-bookmarks:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bookmarked-quote-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.bookmarked-quote-item:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.bookmarked-quote-content {
    flex: 1;
    margin-right: 20px;
}

.bookmarked-quote-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 10px;
    font-style: italic;
}

.bookmarked-quote-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.bookmarked-author {
    font-weight: 600;
    color: #0073aa;
}

.bookmarked-book {
    font-style: italic;
}

.bookmarked-quote-actions {
    display: flex;
    gap: 10px;
}

.view-quote-btn,
.remove-bookmark-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-quote-btn {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.view-quote-btn:hover {
    background: #1976d2;
    color: white;
    transform: scale(1.1);
}

.remove-bookmark-btn {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.remove-bookmark-btn:hover {
    background: #d32f2f;
    color: white;
    transform: scale(1.1);
}

.remove-bookmark-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.no-bookmarks-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #e9ecef;
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.bookmarks-login-required {
    text-align: center;
    padding: 40px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    color: #856404;
}


/*author page*/

.author-archive-image placeholder{
width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgb(0, 69, 139);
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);

}
.author-quotes-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.author-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 40px;
    background: #f7fafc ;
    border-radius: 15px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

.author-archive-image {
    flex-shrink: 0;
}

.author-header-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
}

.author-archive-image.placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, #409D69 0%, #2ecc71 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.author-initial-large {
    font-size: 80px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.author-header-info {
    flex-grow: 1;
}

.author-title {
    font-size: 42px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.author-meta-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    Font: Normal;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

.author-meta-item {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.meta-label {
    font-size: 13px;
    color: #2b3d4f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.meta-value {
    font-size: 16px;
    color: #0073aa;
    font-weight: 600;
}

.author-biography {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

.author-biography h3 {
    font-size: 22px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #0073aa;
    padding-bottom: 10px;
}

.bio-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.bio-content p {
    margin-bottom: 15px;
}

.author-external-links {
    margin: 20px 0;
}

.author-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #409D69;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.author-website-btn:hover {
    background: white;
    color: #409D69;
    border-color: #409D69;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 157, 105, 0.3);
}

.author-page-link {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.view-full-page-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-full-page-btn:hover {
    background: #409D69;
    transform: translateY(-2px);
}

.author-quotes-grid {
    margin-top: 50px;
}

.section-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

/* Related Authors */
.related-authors-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.related-authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-author-card {
    background: #f7fafc;
    border-radius: 12px;
    border: solid 1px #f7fafc;
    overflow: hidden;
    box-shadow: 0 0px 0px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.related-author-card:hover {
    transform: translateY(0px);
    border-color: #d6d0c4;
    box-shadow: 0 0px 0px rgba(0,0,0,0.15);
}

.related-author-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
    text-align: center;
}

.related-author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

.related-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-author-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #409D69 0%, #2ecc71 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: 600;
    text-transform: uppercase;
}

.related-author-name {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.related-author-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}



.post-type-archive-quote-col-full{
 max-width: 650px;

    }


body.post-type-archive-quote .site-content,
body.post-type-archive-quote .content-area,
body.post-type-archive-quote .elementor-inner,
body.post-type-archive-quote .elementor-section-wrap,
body.post-type-archive-quote .e-container,
body.post-type-archive-quote .elementor-container {
    max-width: 800px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
}




/* Add these styles at the end */
/* FOLLOW BUTTON STYLES */
.follow-button,
.author-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #333;
    border: 2px solid #0073aa;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.follow-button:hover,
.author-follow-btn:hover {
    background: #0073aa;
    color: white;
}

.follow-button:hover svg,
.author-follow-btn:hover svg {
    fill: white !important;
}

.follow-button.following,
.author-follow-btn.following {
    background: #fff9e6;
    border-color: #ffcc02;
}

.follow-button.following:hover,
.author-follow-btn.following:hover {
    background: #ffe680;
    border-color: #e6b800;
}

.follow-button:disabled,
.author-follow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* FOLLOW NOTIFICATION */
.follow-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease;
}

.follow-notification.success {
    background: #28a745;
}

.follow-notification.error {
    background: #dc3545;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/*author page follow button*/

.author-follow-section{
    padding-bottom: 8px;
 }   

 
.follow-button.not-logged-in {  height: 38px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #333 !important;
    background: #f5f2eb !important;
    border: solid 1px #d6d0c4 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    min-width: 80px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
.follow-button.not-logged-in-hover{
background: #E8E2D5 !important;
    color: #0073aa !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0) !important;
}


/*Authors page css*/


.authors-page-container.list-view {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.authors-header {
    text-align: center;
    margin-bottom: 50px;
}

.authors-header h1 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.authors-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* FILTERS */
.authors-filters {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    
    /* Centriranje sadržaja */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.search-box {
    margin-bottom: 20px !important;
    position: relative;
}

.search-input-compact {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    position: relative !important;
}

.search-input {
    flex: 1 !important;
    height: 38px !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    line-height: 38px !important;
    border: 1px solid #d6d0c4 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    min-width: 300px !important;
    max-width: 100% !important;
}


.search-input:focus {
    outline: none !important;
    border-color: #cbc1ae !important;
    box-shadow: 0 0 0 0px rgba(0, 115, 170, 0.1) !important;
}


.search-button {
    height: 38px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #333 !important;
    background: #f5f2eb !important;
    border: solid 1px #d6d0c4 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    min-width: 80px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}


.search-button:hover {
    background: #E8E2D5 !important;
    color: #0073aa !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0) !important;
    transition: 0.1s;
}


/* ALTERNATIVNO REŠENJE - KOMPAKTNIJI MOBILNI STIL */
@media (max-width: 768px) {
    .search-input-compact {
        position: relative;
    }
    
    .search-input {
        width: 100% !important;
        padding: 0 40px 0 15px !important; /* Padding sa obe strane za ikonicu */
        border-radius: 6px !important; /* Pun zaobljeni ugao */
    }
    
    .search-button {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }
    
    /* SAKRIJ TEKST U DUGMETU NA MOBILNIMA */
    .search-button span,
    .search-button .button-text {
        display: none !important;
    }
    
    /* STIL ZA IKONICU LUPU - KAO NA SLICI */
    .search-button svg {
        width: 20px !important;
        height: 20px !important;
        color: #666 !important;
        fill: #666 !important;
        transition: all 0.2s ease !important;
    }
    
    /* HOVER EFIKAT */
    .search-button:hover svg {
        color: #0073aa !important;
        fill: #0073aa !important;
    }
    
    /* FOCUS EFIKAT KADA JE INPUT AKTIVAN */
    .search-input:focus ~ .search-button svg {
        color: #0073aa !important;
        fill: #0073aa !important;
    }
}

/* EKSTRA MALI TELEFONI (do 480px) */
@media (max-width: 480px) {
    .search-input {
        height: 36px !important;
        line-height: 36px !important;
        font-size: 13px !important;
        padding: 0 35px 0 12px !important;
    }
    
    .search-button {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        right: 6px !important;
    }
    
    .search-button svg {
        width: 18px !important;
        height: 18px !important;
    }
}


.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    height: 38px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #333 !important;
    background: #f5f2eb !important;
    border: solid 1px #d6d0c4 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    min-width: 80px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}


.filter-btn.active {
    background: #E8E2D5 !important;
    color: #0073aa !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0) !important;
}

.filter-btn:hover:not(.active) {
    background: #E8E2D5 !important;
    color: #0073aa !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0) !important;
}

/* AUTHORS LIST */
/* AUTHORS LIST - HORIZONTAL LAYOUT ZA SVE EKRANE */
.authors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.author-list-item {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.2s ease;
    gap: 20px;
}

.author-list-item:hover {
    border-color: #ddd;
    box-shadow: 0 0px 0px rgba(0,0,0,0.05);
    transform: translateY(0px);
}

.author-list-image {
    flex-shrink: 0;
}

.author-image-link {
    display: block;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    transition: all 0.2s ease;
}

.author-image-link:hover .author-avatar {
    transform: scale(1.05);
    border-color: #0073aa;
}

.author-avatar.placeholder {
    background: linear-gradient(135deg, #0073aa 0%, #19a4e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-initial {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.author-list-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.author-main-info {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.author-name {
    margin: 0 0 10px 0;
    font-size: 17px;
    line-height: 1.3;
}

.author-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-name a:hover {
    color: #0073aa;
}

.author-bio-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.stat-item svg {
    flex-shrink: 0;
}

.quote-count {
    color: #0073aa;
    font-weight: 600;
}

.follower-count {
    color: #0073aa;
    font-weight: 600;
}

/* ACTIONS - STAY HORIZONTAL */
.author-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    flex-shrink: 0;
}

.author-actions {
    min-width: 100px !important; /* ili manje */
}


.author-follow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #333 !important;
    background: #f5f2eb !important;
    border: solid 1px #d6d0c4 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.1s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.author-follow-btn:hover {
    background: #E8E2D5 !important;
    color: #333 !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1) !important;
    transition: 0.1s;
}

.author-follow-btn:hover svg {
    fill: #ffcc02 !important;
}

.author-follow-btn.following {
    background: #fff9e6;
    border-color: #ffcc02;
}

.author-follow-btn.following:hover {
    background: #ffe680;
    border-color: #e6b800;
}

.author-follow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.author-follow-btn.not-logged-in {
    opacity: 0.8;
}

.view-author-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    color: #2c3e50;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    min-width: 140px;
}

.view-author-btn:hover {
    background: #f5f2eb;
    color: white;
    border-color: #f5f2eb;
}

.view-author-btn:hover svg {
    fill: white;
}

/* PAGINATION */
.authors-pagination {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.pagination-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-links a,
.pagination-links span {
    padding: 8px 14px;
    background: #f5f2eb;
    border: 1px solid #d6d0c4;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.pagination-links a:hover,
.pagination-links .current {
    background: #f5f2eb;
    color: white;
    border-color: #d6d0c4;
}

.no-authors {
    text-align: center;
    padding: 50px;
    color: #666;
    font-size: 18px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px dashed #e9ecef;
}

/* ============================================= */
/* RESPONSIVE - HORIZONTAL LAYOUT ZA MOBILNE */
/* ============================================= */

/* TABLET (768px - 992px) - ISTI LAYOUT, MANJI ELEMENTI */
@media (max-width: 992px) {
    .author-list-info {
        flex-direction: row; /* OSTAVLJAMO HORIZONTALNO */
        align-items: stretch; /* PROMENA: stretch umesto center */
        gap: 15px;
    }
    
    .author-main-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* PROMENA: raspoređuje prostor */
    }
    
    .author-actions {
        flex-direction: column;
        width: auto;
        min-width: 160px;
        justify-content: flex-end; /* PROMENA: pozicionira na dno */
    }
    
    .author-follow-btn,
    .view-author-btn {
        min-width: 80px;
        font-size: 10px !important;
        padding: 0 15px !important;
    }
    
    .author-avatar {
        width: 70px;
        height: 70px;
    }
    
    .author-name {
        font-size: 18px;
    }
    
    .author-bio-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .author-stats {
        gap: 15px;
    }
    
    .stat-item {
        font-size: 12px;
    }
}

/* MOBILNI (480px - 768px) - KOMPAKTAN HORIZONTALNI LAYOUT SA IKONICAMA */
@media (max-width: 768px) {
    .author-list-item {
        flex-direction: row; /* OSTAVLJAMO HORIZONTALNO */
        align-items: stretch; /* PROMENA: stretch umesto center */
        padding: 15px;
        gap: 15px;
    }
    
    .author-list-image {
        flex-shrink: 0;
        display: flex;
        align-items: flex-start; /* PORAVNAVANJE AVATARA NA VRHU */
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .author-initial {
        font-size: 24px;
    }
    
    .author-list-info {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    
    /* DODAJTE OVO: */
    overflow: hidden; /* Sprečava izlazak */
    width: 100%;
}
    
    .author-main-info {
    flex: 1;
    min-width: 0; /* OVO JE NAJVAŽNIJE! */
    display: flex;
    flex-direction: column;
}
    
    .author-name {
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* PROMENITE OVO: */
    max-width: 100%; /* Umesto calc() */
    width: 100%;
    box-sizing: border-box; /* Uključuje padding u širinu */
}
    
    .author-bio-excerpt {
        font-size: 12px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1; /* PROMENA: zauzima dostupan prostor */
        min-height: 34px; /* MINIMALNA VISINA ZA 2 REDA TEKSTA */
    }
    
    .author-stats {
        gap: 10px;
        flex-wrap: wrap;
        margin-top: auto; /* PROMENA: gura stats na dno */
    }
    
    .stat-item {
        font-size: 11px;
        gap: 4px;
    }
    
    .stat-item svg {
        width: 12px;
        height: 12px;
        
    }
    
    .author-actions {
    flex-direction: column;
    min-width: auto;
    gap: 8px;
    justify-content: flex-end;
    align-self: flex-end;
    margin-top: auto;
    
    /* DODAJTE OVO: */
    flex-shrink: 0; /* Sprečava smanjivanje */
    min-width: 120px; /* Minimalna širina */
    position: relative;
}
    
    /* SAKRIJ DONJE DUGME (VIEW PROFILE) */
    .view-author-btn {
        display: none !important;
    }
    
    /* STIL ZA DUGME ZA PRAĆENJE SA CENTRIRANOM IKONICOM */
    .author-follow-btn {
    border-radius: 3px;
    border: 1px solid #D6D0C4;
    font-family: "Lato", "Helvetica Neue", "Helvetica", sans-serif;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    background-color: #D6D0C4;
    min-width: auto !important;
    width: 32px !important;
    height: 24px !important;
    padding: 0 !important;
    font-size: 0 !important;
    position: relative;
    align-self: flex-end;
    
    /* DODAJTE OVO: */
    flex-shrink: 0; /* OVO JE KLJUČNO! */
     position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10;
}

    .action-buttons-small {
    display: flex;
    gap: 6px;
    align-items: center;
}

.action-buttons-small button {
    text-align: center;
    word-wrap: break-word;
    border-radius: 3px;
    border: 1px solid #D6D0C4;
    font-family: "Lato", "Helvetica Neue", "Helvetica", sans-serif;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #F4F1EA;
    line-height: 1;
    font-size: 11px;
    padding: 4px 8px;
    color: #333333;
    min-width: 32px;
    min-height: 24px;
    transition: all 0.2s ease;
}

.action-buttons-small button:hover {
    background-color: #E8E2D5;
    border-color: #C4BCAC;
}

.action-buttons-small button svg {
    width: 11px;
    height: 11px;
    fill: #333333;
    transition: fill 0.2s ease;
}
    
    /* SAKRIJ TEKST */
    .author-follow-btn .btn-text {
        display: none;
    }
    
    /* PERFEKTNO CENTRIRANJE IKONICE */
    .author-follow-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin: 0;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    /* HOVER EFIKTI */
    .author-follow-btn:hover {
        background-color: #c4bdb0;
        border-color: #c4bdb0;
    }
    
    .authors-header h1 {
        font-size: 32px;
    }
    
    .authors-description {
        font-size: 16px;
    }
    
    .authors-filters {
        padding: 15px;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-input {
        min-width: auto !important;
        font-size: 13px !important;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 13px !important;
        padding: 0 15px !important;
        min-width: 70px !important;
    }
}

/* EKSTRA MALI TELEFONI (do 480px) - ULTRA KOMPAKTAN HORIZONTALNI */
@media (max-width: 480px) {
    .author-list-item {
        padding: 12px;
        gap: 12px;
        align-items: stretch; /* ISTO KAO I GORE */
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-initial {
        font-size: 20px;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .author-bio-excerpt {
        font-size: 11px;
        -webkit-line-clamp: 1;
        margin-bottom: 6px;
        min-height: 14px; /* MANJA MINIMALNA VISINA ZA 1 RED */
    }
    
    .author-stats {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        margin-top: auto; /* ISTO KAO I GORE */
    }
    
    .stat-item {
        font-size: 10px;
    }
    
    .author-actions {
        min-width: auto;
        gap: 6px;
        justify-content: flex-end; /* ISTO KAO I GORE */
        align-self: flex-end; /* ISTO KAO I GORE */
        margin-top: auto; /* ISTO KAO I GORE */
    }
    
    /* JOŠ MANJE DUGME SA IKONICOM */
    .author-follow-btn {
        width: 32px;
        height: 32px;
        align-self: flex-end; /* PROMENA: poravnava se sa stats */
    }
    
    .author-follow-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* I DALJE SAKRIVAMO VIEW PROFILE DUGME */
    .view-author-btn {
        display: none !important;
    }
    
    .authors-header h1 {
        font-size: 28px;
    }
    
    .authors-description {
        font-size: 14px;
    }
    
    .filter-options {
        flex-direction: row;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-width: auto !important;
        flex: 1;
        text-align: center;
    }
}

/* VERTIKALNI LAYOUT SAMO ZA VEOMA USKE EKRANE */
@media (max-width: 360px) {
    .author-list-item {
        flex-direction: row; /* I DALJE HORIZONTALNO */
        align-items: stretch; /* PROMENA: stretch umesto flex-start */
    }
    
    .author-list-info {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        flex: 1;
    }
    
    .author-actions {
        flex-direction: row;
        width: 100%;
        min-width: 100%;
        justify-content: center;
        margin-top: 10px; /* DODATA MARGINA IZMEDJU STATS I DUGMETA */
        align-self: auto;
    }
    
    /* DUGME NA VEOMA USKIM EKRANIMA */
    .author-follow-btn {
        flex: 0 0 auto;
        width: 32px;
        height: 24px;
        min-width: 0 !important;
        align-self: center; /* CENTRIRANO NA VEOMA USKIM EKRANIMA */
    }
    
    /* SIGURNO SAKRIVANJE VIEW PROFILE DUGMETA */
    .view-author-btn {
        display: none !important;
    }
    
    .author-name {
        font-size: 14px;
    }
    
    .author-bio-excerpt {
        margin-bottom: 8px;
    }
    
    .author-stats {
        margin-top: 0; /* RESET NA VEOMA USKIM EKRANIMA */
    }
}



/*Favorite Authors*/

/* FAVORITE AUTHORS PAGE - ISTI STIL KAO AUTHORS PAGE */

.followed-authors-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.page-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* FOLLOWED AUTHORS LIST - ISTI LAYOUT KAO AUTHORS LIST */
.followed-authors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.followed-author-item {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.2s ease;
    gap: 20px;
}

.followed-author-item:hover {
    border-color: #ddd;
    box-shadow: 0 0px 0px rgba(0,0,0,0.05);
    transform: translateY(0px);
}

.followed-author-image {
    flex-shrink: 0;
}

.author-image-link {
    display: block;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    transition: all 0.2s ease;
}

.author-image-link:hover .author-avatar {
    transform: scale(1.05);
    border-color: #0073aa;
}

.author-avatar.placeholder {
    background: linear-gradient(135deg, #0073aa 0%, #19a4e4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-initial {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.followed-author-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.followed-author-info {
    flex: 1;
    min-width: 0;
}

.followed-author-name {
    margin: 0 0 10px 0;
    font-size: 20px;
    line-height: 1.3;
}

.followed-author-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.followed-author-name a:hover {
    color: #0073aa;
}

.followed-author-bio-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.followed-author-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.followed-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.followed-stat-item svg {
    flex-shrink: 0;
}

.followed-quote-count {
    color: #0073aa;
    font-weight: 600;
}

.followed-follower-count {
    color: #0073aa;
    font-weight: 600;
}

/* ACTIONS - ISTI KAO NA AUTHORS PAGE */
.followed-author-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    flex-shrink: 0;
}

.unfollow-author-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #333 !important;
    background: #f5f2eb !important;
    border: solid 1px #d6d0c4 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    min-width: 140px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.unfollow-author-btn:hover {
    background: #E8E2D5 !important;
    color: #0073aa !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0) !important;
}

.unfollow-author-btn:hover svg {
    fill: #0073aa !important;
}

.clear-all-following {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #333 !important;
    background: #f5f2eb !important;
    border: solid 1px #d6d0c4 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    min-width: 140px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 20px;
}

.clear-all-following:hover {
    background: #E8E2D5 !important;
    color: #0073aa !important;
    transform: translateY(0px) !important;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0) !important;
}

.view-author-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    color: #2c3e50;
    border: 1px solid #e9ecef;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    min-width: 140px;
}

.view-author-btn:hover {
    background: #f5f2eb;
    color: white;
    border-color: #f5f2eb;
}

.view-author-btn:hover svg {
    fill: white;
}

.no-followed-authors {
    text-align: center;
    padding: 50px;
    color: #666;
    font-size: 18px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px dashed #e9ecef;
}

/* RESPONSIVE STYLES - ISTI KAO NA AUTHORS PAGE */

/* TABLET (768px - 992px) */
@media (max-width: 992px) {
    .followed-author-content {
        flex-direction: row;
        align-items: stretch;
        gap: 15px;
    }
    
    .followed-author-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .followed-author-actions {
        flex-direction: column;
        width: auto;
        min-width: 160px;
        justify-content: flex-end;
    }
    
    .unfollow-author-btn,
    .view-author-btn {
        min-width: 80px;
        font-size: 10px !important;
        padding: 0 15px !important;
    }
    
    .author-avatar {
        width: 70px;
        height: 70px;
    }
    
    .followed-author-name {
        font-size: 18px;
    }
    
    .followed-author-bio-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .followed-author-meta {
        gap: 15px;
    }
    
    .followed-stat-item {
        font-size: 12px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-description {
        font-size: 16px;
    }
}

/* MOBILNI (480px - 768px) */
@media (max-width: 768px) {
    .followed-author-item {
        flex-direction: row;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .author-initial {
        font-size: 24px;
    }
    
    .followed-author-content {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        gap: 15px;
        overflow: hidden;
        width: 100%;
    }
    
    .followed-author-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    
    .followed-author-name {
        font-size: 16px;
        margin-bottom: 5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .followed-author-bio-excerpt {
        font-size: 12px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
        min-height: 34px;
    }
    
    .followed-author-meta {
        gap: 10px;
        flex-wrap: wrap;
        margin-top: auto;
    }
    
    .followed-stat-item {
        font-size: 11px;
        gap: 4px;
    }
    
    .followed-stat-item svg {
        width: 12px;
        height: 12px;
    }
    
    .followed-author-actions {
        flex-direction: column;
        min-width: auto;
        gap: 8px;
        justify-content: flex-end;
        align-self: flex-end;
        margin-top: auto;
        flex-shrink: 0;
        min-width: 120px;
        position: relative;
    }
    
    /* SAKRIJ VIEW AUTHOR DUGME NA MOBILNIMA */
    .view-author-btn {
        display: none !important;
    }
    
    /* STIL ZA UNFOLLOW DUGME KAO ZVEZDICU NA MOBILNIMA */
    .unfollow-author-btn {
        border-radius: 3px;
        border: 1px solid #D6D0C4;
        font-family: "Lato", "Helvetica Neue", "Helvetica", sans-serif;
        appearance: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        background-color: #D6D0C4;
        min-width: auto !important;
        width: 32px !important;
        height: 24px !important;
        padding: 0 !important;
        font-size: 0 !important;
        position: relative;
        align-self: flex-end;
        flex-shrink: 0;
        position: absolute !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 10;
    }
    
    .unfollow-author-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin: 0;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .unfollow-author-btn:hover {
        background-color: #c4bdb0;
        border-color: #c4bdb0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .clear-all-following {
        font-size: 13px !important;
        padding: 0 15px !important;
        min-width: 120px !important;
    }
}

/* EKSTRA MALI TELEFONI (do 480px) */
@media (max-width: 480px) {
    .followed-author-item {
        padding: 12px;
        gap: 12px;
        align-items: stretch;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-initial {
        font-size: 20px;
    }
    
    .followed-author-name {
        font-size: 15px;
    }
    
    .followed-author-bio-excerpt {
        font-size: 11px;
        -webkit-line-clamp: 1;
        margin-bottom: 6px;
        min-height: 14px;
    }
    
    .followed-author-meta {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        margin-top: auto;
    }
    
    .followed-stat-item {
        font-size: 10px;
    }
    
    .followed-author-actions {
        min-width: auto;
        gap: 6px;
        justify-content: flex-end;
        align-self: flex-end;
        margin-top: auto;
    }
    
    .unfollow-author-btn {
        width: 32px;
        height: 32px;
        align-self: flex-end;
    }
    
    .unfollow-author-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .view-author-btn {
        display: none !important;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-description {
        font-size: 14px;
    }
    
    .clear-all-following {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-width: auto !important;
        width: 100%;
    }
}

/* VEOMA USKI EKRANI (360px i manje) - HORIZONTALNI LAYOUT KAO NA 768px */
@media (max-width: 360px) {
    .followed-author-item {
        flex-direction: row !important; /* OSTAVLJAMO HORIZONTALNO */
        align-items: stretch !important; /* PROMENA: stretch umesto center */
        padding: 12px !important;
        gap: 12px !important;
        min-height: 85px; /* Minimalna visina za sadržaj */
        overflow: visible !important;
    }
    
    .followed-author-image {
        flex-shrink: 0;
        display: flex;
        align-items: flex-start; /* PORAVNAVANJE AVATARA NA VRHU */
    }
    
    .author-avatar {
        width: 45px !important;
        height: 45px !important;
        border-width: 2px;
    }
    
    /* OVO JE KLJUČNO - SELEKTOR ZA PLACEHOLDER AVATAR */
    .followed-author-image .author-avatar.placeholder,
    .author-avatar.placeholder,
    .followed-author-image.placeholder .author-avatar {
        width: 45px !important;
        height: 45px !important;
        border-width: 2px;
    }
    
    /* SELEKTOR ZA INITIAL UNUTAR PLACEHOLDER-A */
    .followed-author-image .author-avatar.placeholder .author-initial,
    .author-avatar.placeholder .author-initial,
    .followed-author-image.placeholder .author-avatar .author-initial {
        font-size: 18px !important; /* SMANJENA IKONICA AUTORA */
        font-weight: bold;
    }
    
    .followed-author-content {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        gap: 10px;
        overflow: hidden; /* Sprečava izlazak */
        width: 100%;
        flex: 1;
    }
    
    .followed-author-info {
        flex: 1;
        min-width: 0; /* OVO JE NAJVAŽNIJE! */
        display: flex;
        flex-direction: column;
        overflow: visible !important;
    }
    
    .followed-author-name {
        font-size: 14px !important;
        margin-bottom: 4px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box; /* Uključuje padding u širinu */
        line-height: 1.2;
        padding-right: 30px; /* Prostor za dugme */
    }
    
    .followed-author-bio-excerpt {
        font-size: 10px !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 1 !important; /* SAMO 1 RED ZBOG MALOG PROSTORA */
        line-height: 1.3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: none; /* NE zauzima dodatni prostor */
        min-height: 13px; /* MINIMALNA VISINA ZA 1 RED TEKSTA */
    }
    
    .followed-author-meta {
        gap: 8px !important;
        flex-wrap: wrap;
        margin-top: auto; /* PROMENA: gura stats na dno */
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
    }
    
    .followed-stat-item {
        font-size: 9px !important;
        gap: 3px;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    
    .followed-stat-item svg {
        width: 10px !important;
        height: 10px !important;
        flex-shrink: 0;
    }
    
    .followed-author-actions {
        flex-direction: column;
        min-width: auto;
        gap: 6px;
        justify-content: flex-end;
        align-self: flex-end;
        margin-top: auto;
        
        /* DODAJTE OVO: */
        flex-shrink: 0; /* Sprečava smanjivanje */
        min-width: 30px; /* Minimalna širina samo za ikonicu */
        position: relative;
        width: auto;
    }
    
    /* SAKRIJ DONJE DUGME (VIEW PROFILE) */
    .view-author-btn {
        display: none !important;
    }
    
    /* STIL ZA DUGME ZA UNFOLLOW SA CENTRIRANOM IKONICOM */
    .unfollow-author-btn {
        border-radius: 3px;
        border: 1px solid #D6D0C4;
        font-family: "Lato", "Helvetica Neue", "Helvetica", sans-serif;
        appearance: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        background-color: #D6D0C4;
        min-width: auto !important;
        width: 26px !important;
        height: 20px !important;
        padding: 0 !important;
        font-size: 0 !important;
        position: relative;
        align-self: flex-end;
        
        /* DODAJTE OVO: */
        flex-shrink: 0; /* OVO JE KLJUČNO! */
        position: absolute !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 10;
    }
    
    /* SAKRIJ TEKST */
    .unfollow-author-btn .btn-text,
    .unfollow-author-btn .follow-text {
        display: none;
    }
    
    /* PERFEKTNO CENTRIRANJE IKONICE */
    .unfollow-author-btn svg {
        width: 12px !important;
        height: 12px !important;
        flex-shrink: 0;
        margin: 0;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    /* HOVER EFIKTI */
    .unfollow-author-btn:hover {
        background-color: #c4bdb0;
        border-color: #c4bdb0;
    }
    
    /* HEADER STILOVI */
    .page-header h1 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }
    
    .page-description {
        font-size: 12px !important;
    }
    
    /* CLEAR ALL BUTTON */
    .clear-all-following {
        padding: 8px 12px !important;
        font-size: 11px !important;
        min-width: auto !important;
        height: 32px !important;
        width: 100%;
        max-width: 200px;
        margin: 0 auto 15px auto !important;
        display: block;
    }
}





/* Quote Share Styles */
.quote-share-buttons {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.quote-share-buttons h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.facebook-share-image {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.twitter-share-image {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.whatsapp-share-image {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.download-image {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.copy-image-link {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.image-preview {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.image-preview p {
    margin-bottom: 10px;
    font-weight: 500;
    color: #666;
}

/* Share dropdown additional options */
.share-options .download-share {
    border-left: 3px solid #0073aa;
}

.share-options .image-link-share {
    border-left: 3px solid #6c757d;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .share-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .image-preview img {
        max-width: 100% !important;
    }
}



/* Image Share Modal Styles */
.share-options-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 0;
}

.share-option.image-share-header {
    background: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
    cursor: default;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 5px;
}

.share-option.image-share-header:hover {
    background: #f8f9fa;
}

.share-option i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Rest of the modal styles from above... */



/* Dodajte ove stilove u vaš glavni CSS fajl */
.close-image-preview {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.close-image-preview:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.image-preview-container {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

.image-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #0073aa;
    color: white;
    position: relative;
}

.image-preview-header h3 {
    margin: 0;
    font-size: 20px;
}

/* Download button styles */
.download-image-btn:disabled,
.download-image-share:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Modal animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Share dropdown fixes */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.share-dropdown.active .share-options {
    display: block;
}

/* Make sure modal is on top */
.quote-image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for body overflow when modal is open */
body.modal-open {
    overflow: hidden;
}



/*single quote*/



/*related authors scrolling*/


.scroll-btn.scroll-right {
    background-color: #0073aa;
}

.scroll-btn.scroll-right:hover {
    background-color: #fff;
}

.scroll-btn.scroll-left {
    background-color: #0073aa;
}
