/**
 * Movie Database Manager - Shortcode Popups CSS
 * Based on your existing movie_info style
 */

/* Global body lock when popup is open */
body.mdb-popup-open {
    overflow: hidden !important;
}

/* Trigger Links - Inline style like your mi-trigger */
.mdb-person-info-trigger,
.mdb-movie-info-trigger {
    display: inline !important;
}

.mdb-person-link,
.mdb-movie-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dashed #0073aa;
    cursor: pointer;
}

.mdb-person-link:hover,
.mdb-movie-link:hover {
    border-bottom-style: solid;
}

/* Info button - hidden by default, use only link */
.mdb-info-button {
    display: none;
}

/* Popup Overlay */
.mdb-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
}

.mdb-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Popup Content - Compact like your style */
.mdb-popup-content {
    position: relative;
    background: #fff;
    width: 550px;
    max-width: 90vw;
    max-height: 80vh;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid #ccc;
    overflow-y: auto;
    line-height: 1.4;
    color: #333;
}

.mdb-movie-popup-content {
    width: 550px;
}

/* Close Button */
.mdb-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdb-popup-close:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

/* Person Popup Header - Simplified */
.mdb-popup-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.mdb-popup-profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mdb-popup-profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0073aa;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    flex-shrink: 0;
}

.mdb-popup-person-info h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 800;
    color: #000;
}

.mdb-popup-person-info p {
    margin: 0 0 8px 0;
    color: #888;
    font-size: 14px;
}

.mdb-view-full {
    display: inline-block;
    color: #0073aa;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px dashed #0073aa;
}

.mdb-view-full:hover {
    border-bottom-style: solid;
}

/* Movie Popup Header - Side by side like your style */
.mdb-popup-movie-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.mdb-popup-poster {
    flex-shrink: 0;
}

.mdb-popup-poster img {
    width: 160px;
    height: auto;
    border-radius: 8px;
}

.mdb-popup-movie-info {
    flex: 1;
}

.mdb-popup-movie-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin: 0 0 5px 0;
}

.mdb-movie-year {
    color: #888;
    font-weight: normal;
    font-size: 17px;
    margin: 0 0 10px 0;
}

.mdb-movie-rating {
    display: inline-block;
    color: #f1c40f;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.mdb-movie-synopsis {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

/* Popup Body */
.mdb-popup-body {
    padding: 0;
}

.mdb-popup-body h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.mdb-popup-section {
    margin-bottom: 20px;
}

/* Filmography List - Simple */
.mdb-filmography-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-filmography-item-popup {
    background: #f7f7f7;
    margin-bottom: 5px;
    padding: 8px 12px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.mdb-film-year {
    font-weight: 600;
    color: #666;
    min-width: 50px;
}

.mdb-film-title {
    color: #0073aa;
    text-decoration: none;
    flex: 1;
    margin: 0 10px;
}

.mdb-film-title:hover {
    text-decoration: underline;
}

.mdb-film-role {
    color: #888;
    font-size: 12px;
    font-style: italic;
}

/* Articles List - Like your reviews */
.mdb-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-article-item {
    background: #f7f7f7;
    margin-bottom: 5px;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 13px;
}

.mdb-article-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.mdb-article-meta time {
    font-size: 12px;
    color: #888;
}

.mdb-article-type {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.mdb-type-review { background: #0073aa; }
.mdb-type-podcast { background: #9b51e0; }
.mdb-type-trailer { background: #e74c3c; }
.mdb-type-interview { background: #27ae60; }
.mdb-type-poster { background: #f39c12; }
.mdb-type-news { background: #34495e; }
.mdb-type-other { background: #95a5a6; }

.mdb-lang-flag {
    display: inline-block;
    padding: 2px 5px;
    background: #e74c3c;
    color: white;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
}

.mdb-article-rating {
    color: #f1c40f;
    font-size: 15px;
    letter-spacing: 1px;
}

.mdb-star-full,
.mdb-star-half {
    color: #f1c40f;
}

.mdb-star-empty {
    color: #ddd;
}

.mdb-rating-num {
    font-size: 11px;
    color: #666;
    margin-left: 3px;
}

.mdb-article-title {
    color: #0073aa;
    text-decoration: none;
    display: block;
    font-weight: 600;
}

.mdb-article-title:hover {
    text-decoration: underline;
}

/* External Reviews - Same style */
.mdb-external-list-popup {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-external-item-popup {
    background: #f7f7f7;
    margin-bottom: 5px;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 13px;
}

.mdb-external-meta-popup {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 4px;
    font-size: 12px;
    color: #888;
    flex-wrap: wrap;
}

.mdb-external-source {
    font-weight: 600;
    color: #0073aa;
}

.mdb-external-rating-popup {
    color: #f1c40f;
    font-size: 15px;
    letter-spacing: 1px;
}

.mdb-external-title {
    color: #0073aa;
    text-decoration: none;
    display: block;
    font-weight: 600;
}

.mdb-external-title:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes mdbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mdbSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.mdb-popup {
    animation: mdbFadeIn 0.2s ease;
}

.mdb-popup.mdb-popup-visible .mdb-popup-content {
    animation: mdbSlideUp 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .mdb-popup-content {
        width: 95vw;
        padding: 20px;
    }
    
    .mdb-popup-header,
    .mdb-popup-movie-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mdb-popup-poster img {
        width: 140px;
    }
    
    .mdb-filmography-item-popup {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
body.mdb-popup-open {
    overflow: hidden !important;
}

/* Trigger Buttons - Inline style */
.mdb-person-info-trigger,
.mdb-movie-info-trigger {
    display: inline;
    position: relative;
}

.mdb-person-link,
.mdb-movie-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #0073aa;
}

.mdb-person-link:hover,
.mdb-movie-link:hover {
    border-bottom-style: solid;
}

.mdb-info-button {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 3px;
    position: relative;
    top: -1px;
}

.mdb-info-button:hover {
    background: #005a87;
    transform: scale(1.15);
}

.mdb-info-button:active {
    transform: scale(0.95);
}

/* Popup Container - Modal overlay */
.mdb-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mdb-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mdb-popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    max-height: 85vh;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mdb-movie-popup-content {
    max-width: 850px;
}

.mdb-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 32px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mdb-popup-close:hover {
    background: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Person Popup Header */
.mdb-popup-header {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex-shrink: 0;
}

.mdb-popup-profile,
.mdb-popup-profile-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mdb-popup-profile-placeholder {
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
}

.mdb-popup-person-info h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 600;
}

.mdb-popup-person-info p {
    margin: 0 0 12px 0;
    opacity: 0.9;
    font-size: 14px;
}

.mdb-view-full {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mdb-view-full:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(2px);
}

/* Movie Popup Header */
.mdb-popup-movie-header {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    flex-shrink: 0;
}

.mdb-popup-poster {
    flex-shrink: 0;
}

.mdb-popup-poster img {
    width: 140px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mdb-popup-movie-info h3 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 600;
}

.mdb-movie-year {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.85;
}

.mdb-movie-rating {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 215, 0, 0.25);
    border-radius: 6px;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.mdb-movie-synopsis {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Popup Body - Scrollable */
.mdb-popup-body {
    padding: 20px 30px 30px;
    overflow-y: auto;
    flex: 1;
    overscroll-behavior: contain;
}

.mdb-popup-body::-webkit-scrollbar {
    width: 8px;
}

.mdb-popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.mdb-popup-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.mdb-popup-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.mdb-popup-body h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
    font-weight: 600;
}

.mdb-popup-section {
    margin-bottom: 28px;
}

.mdb-popup-section:last-child {
    margin-bottom: 0;
}

/* Filmography List */
.mdb-filmography-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-filmography-item-popup {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 12px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.mdb-filmography-item-popup:hover {
    background: #fafafa;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
}

.mdb-filmography-item-popup:last-child {
    border-bottom: none;
}

.mdb-film-year {
    font-weight: 600;
    color: #666;
    font-size: 13px;
    text-align: center;
}

.mdb-film-title {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.mdb-film-title:hover {
    text-decoration: underline;
    color: #005a87;
}

.mdb-film-role {
    font-size: 12px;
    color: #999;
    font-style: italic;
    white-space: nowrap;
}

/* Articles List */
.mdb-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-article-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.mdb-article-item:hover {
    background: #fafafa;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
}

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

.mdb-article-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.mdb-article-meta time {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.mdb-article-type {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.3px;
}

.mdb-type-review { background: #0073aa; }
.mdb-type-podcast { background: #9b51e0; }
.mdb-type-trailer { background: #e74c3c; }
.mdb-type-interview { background: #27ae60; }
.mdb-type-poster { background: #f39c12; }
.mdb-type-news { background: #34495e; }
.mdb-type-other { background: #95a5a6; }

.mdb-lang-flag {
    display: inline-block;
    padding: 2px 6px;
    background: #ff6b6b;
    color: white;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.mdb-article-rating,
.mdb-external-rating-popup {
    color: #ffd700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.mdb-star-full,
.mdb-star-half {
    color: #ffd700;
}

.mdb-star-empty {
    color: #ddd;
}

.mdb-rating-num {
    font-size: 11px;
    color: #666;
    margin-left: 3px;
    font-weight: 500;
}

.mdb-article-title {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.mdb-article-title:hover {
    color: #0073aa;
}

/* External Reviews */
.mdb-external-list-popup {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-external-item-popup {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.mdb-external-item-popup:hover {
    background: #fafafa;
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
}

.mdb-external-item-popup:last-child {
    border-bottom: none;
}

.mdb-external-meta-popup {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #666;
}

.mdb-external-source {
    font-weight: 600;
    color: #0073aa;
    font-size: 12px;
}

.mdb-external-title {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.mdb-external-title:hover {
    color: #0073aa;
}

/* Stars Inline */
.mdb-stars-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.mdb-stars-small { font-size: 12px; }
.mdb-stars-medium { font-size: 14px; }
.mdb-stars-large { font-size: 18px; }

/* Animations */
@keyframes mdb-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mdb-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mdb-popup {
    animation: mdb-fadeIn 0.2s ease;
}

.mdb-popup-content {
    animation: mdb-slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive */
@media (max-width: 768px) {
    .mdb-popup {
        padding: 10px;
    }
    
    .mdb-popup-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .mdb-popup-header,
    .mdb-popup-movie-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .mdb-popup-profile,
    .mdb-popup-profile-placeholder {
        margin: 0 auto;
        width: 80px;
        height: 80px;
    }
    
    .mdb-popup-poster {
        margin: 0 auto;
    }
    
    .mdb-popup-poster img {
        width: 120px;
    }
    
    .mdb-popup-body {
        padding: 15px 20px 20px;
    }
    
    .mdb-filmography-item-popup {
        grid-template-columns: 40px 1fr;
        gap: 8px;
    }
    
    .mdb-film-role {
        grid-column: 2;
        margin-top: -4px;
    }
    
    .mdb-article-meta,
    .mdb-external-meta-popup {
        font-size: 11px;
    }
}

/* Person Popup Header */
.mdb-popup-header {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mdb-popup-profile,
.mdb-popup-profile-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.mdb-popup-profile-placeholder {
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
}

.mdb-popup-person-info h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
}

.mdb-popup-person-info p {
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.mdb-view-full {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.mdb-view-full:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Movie Popup Header */
.mdb-popup-movie-header {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.mdb-popup-poster {
    flex-shrink: 0;
}

.mdb-popup-poster img {
    width: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mdb-popup-movie-info h3 {
    margin: 0 0 8px 0;
    font-size: 28px;
}

.mdb-movie-year {
    margin: 0 0 12px 0;
    font-size: 16px;
    opacity: 0.8;
}

.mdb-movie-rating {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 15px;
}

.mdb-movie-synopsis {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 15px;
}

/* Popup Body */
.mdb-popup-body {
    padding: 25px 30px;
    overflow-y: auto;
    flex: 1;
}

.mdb-popup-body h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
}

.mdb-popup-section {
    margin-bottom: 25px;
}

.mdb-popup-section:last-child {
    margin-bottom: 0;
}

/* Filmography List in Popup */
.mdb-filmography-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-filmography-item-popup {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mdb-filmography-item-popup:last-child {
    border-bottom: none;
}

.mdb-film-year {
    font-weight: 600;
    color: #666;
    min-width: 45px;
    font-size: 14px;
}

.mdb-film-title {
    color: #0073aa;
    text-decoration: none;
    flex: 1;
    font-weight: 500;
}

.mdb-film-title:hover {
    text-decoration: underline;
}

.mdb-film-role {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* Articles List in Popup */
.mdb-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-article-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.mdb-article-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.mdb-article-meta time {
    font-size: 13px;
    color: #666;
}

.mdb-article-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.mdb-type-review { background: #0073aa; }
.mdb-type-podcast { background: #9b51e0; }
.mdb-type-trailer { background: #e74c3c; }
.mdb-type-interview { background: #27ae60; }
.mdb-type-poster { background: #f39c12; }
.mdb-type-news { background: #34495e; }
.mdb-type-other { background: #95a5a6; }

.mdb-lang-flag {
    display: inline-block;
    padding: 2px 6px;
    background: #ff6b6b;
    color: white;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}

.mdb-article-rating,
.mdb-external-rating-popup {
    color: #ffd700;
    font-size: 14px;
}

.mdb-star-full,
.mdb-star-half {
    color: #ffd700;
}

.mdb-star-empty {
    color: #ddd;
}

.mdb-rating-num {
    font-size: 12px;
    color: #666;
    margin-left: 4px;
}

.mdb-article-title {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.mdb-article-title:hover {
    color: #0073aa;
}

/* External Reviews in Popup */
.mdb-external-list-popup {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdb-external-item-popup {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.mdb-external-item-popup:last-child {
    border-bottom: none;
}

.mdb-external-meta-popup {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
}

.mdb-external-source {
    font-weight: 600;
    color: #0073aa;
}

.mdb-external-title {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.mdb-external-title:hover {
    color: #0073aa;
}

/* Stars Inline */
.mdb-stars-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.mdb-stars-small {
    font-size: 12px;
}

.mdb-stars-medium {
    font-size: 14px;
}

.mdb-stars-large {
    font-size: 18px;
}

/* Animations */
@keyframes mdb-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mdb-slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mdb-popup {
    animation: mdb-fadeIn 0.2s ease;
}

.mdb-popup-content {
    animation: mdb-slideIn 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .mdb-popup-content {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .mdb-popup-header,
    .mdb-popup-movie-header {
        flex-direction: column;
        text-align: center;
    }
    
    .mdb-popup-profile,
    .mdb-popup-profile-placeholder {
        margin: 0 auto;
    }
    
    .mdb-popup-poster {
        margin: 0 auto;
    }
    
    .mdb-filmography-item-popup {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .mdb-article-meta {
        font-size: 12px;
    }
}