/* ===== CSS VARIABLES FOR THEME SUPPORT ===== */
:root {
    --bs-body-bg: #f8f9fa;
    --bs-card-bg: #fff;
    --bs-body-color: #212529;
    --bs-heading-color: #333;
    --bs-border-color: #ddd;
    --bs-tertiary-bg: #f8f9fa;
    --bs-secondary-bg: #f8f9fa;
    --bs-secondary-color: #6c757d;
    --bs-primary: #0d6efd;
    --bs-success: #28a745;
    --bs-danger: #dc3545;
    --bs-warning: #ffc107;
    --bs-link-color: #007bff;
    --bs-white: #fff;
    --bs-dark: #212529;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-card-cap-bg: #f8f9fa;
}

/* ===== UNIFIED LAYOUT DESIGN ===== */

/* ===== MAZER TEMPLATE STYLE ===== */

/* Profile Section - Theme Aware */
.profile-header {
    background: var(--bs-card-bg, #fff);
    border-radius: 8px;
    padding: 1.5rem;
    color: var(--bs-body-color, #212529);
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid var(--bs-border-color, #ddd);
}

.profile-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--bs-border-color, #ddd);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bs-heading-color, #333);
}

.profile-meta {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.9rem;
}

.profile-meta i {
    margin-right: 0.5rem;
    width: 16px;
    color: var(--bs-primary, #0d6efd);
}

/* ===== MAIN LAYOUT GRID ===== */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ===== MAIN CONTENT SECTION - MAZER STYLE ===== */
.main-content-section {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #dee2e6;
}

/* Carousel Container - RADIUS REMOVED */
.carousel-container {
    aspect-ratio: 2/1; /* Lebih pendek dari 16/9 */
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #dee2e6;
}

.carousel-container .carousel,
.carousel-container .carousel-inner,
.carousel-container .carousel-item {
    height: 100%;
}

.carousel-container .carousel-item {
    position: relative;
}

.carousel-container .carousel-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(0,0,0,0.4));
    pointer-events: none;
}

.carousel-container .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Indicators - Enhanced Visibility */
.carousel-indicators {
    bottom: 15px;
    z-index: 15;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    margin: 0 3px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #fff;
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== CONTENT TABS SECTION - THEME AWARE ===== */
.content-tabs {
    padding: 0;
    background: var(--bs-card-bg, #fff);
}

.tab-navigation {
    display: flex;
    border-bottom: 1px solid var(--bs-border-color, #ddd);
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.tab-nav-item {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--bs-secondary-color, #6c757d);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.tab-nav-item:hover {
    color: var(--bs-primary, #0d6efd);
    background: var(--bs-border-color, #ddd);
}

.tab-nav-item.active {
    color: var(--bs-primary, #0d6efd);
    background: var(--bs-card-bg, #fff);
    font-weight: 600;
}

.tab-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bs-primary, #0d6efd);
}

/* Tab Content */
.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.content-section h3 {
    color: var(--bs-heading-color, #333);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.content-section h3 i {
    margin-right: 0.75rem;
    color: var(--bs-primary, #0d6efd);
    font-size: 1.1rem;
}

/* Content Images */
.image-showcase {
    margin-bottom: 2rem;
}

.content-image-container {
    position: relative;
    aspect-ratio: 2.5/1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.content-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.content-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-image-container:hover img {
    transform: scale(1.02);
}

/* Content Text */
.content-text {
    line-height: 1.7;
    color: var(--bs-body-color, #212529);
    font-size: 0.95rem;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-text h4,
.content-text h5,
.content-text h6 {
    color: var(--bs-heading-color, #333);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Content Divider */
.content-divider {
    border: none;
    height: 1px;
    background: var(--bs-border-color, #ddd);
    margin: 2rem 0;
}

/* ===== SIDEBAR WIDGETS - THEME AWARE ===== */
.widget {
    background: var(--bs-card-bg, #fff);
    border-radius: 8px;
    border: 1px solid var(--bs-border-color, #ddd);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.widget-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bs-border-color, #ddd);
    background: var(--bs-tertiary-bg, #f8f9fa);
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-heading-color, #333);
    margin: 0;
}

.widget-body {
    padding: 1.5rem;
}

/* Portfolio Image Widget with Integrated Actions */
.portfolio-showcase {
    text-align: center;
}

.portfolio-main-image {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.portfolio-main-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Social Actions Grid */
.social-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.action-btn {
    aspect-ratio: 1;
    border-radius: 6px;
    border: 1px solid var(--bs-border-color, #ddd);
    background: var(--bs-card-bg, #fff);
    color: var(--bs-secondary-color, #6c757d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.75rem;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-color: var(--bs-secondary-color, #6c757d);
}

.action-btn.linkedin {
    color: #0077b5;
}

.action-btn.linkedin:hover {
    background: rgba(0, 119, 181, 0.1);
    border-color: #0077b5;
}

.action-btn.instagram {
    color: #e4405f;
}

.action-btn.instagram:hover {
    background: rgba(228, 64, 95, 0.1);
    border-color: #e4405f;
}

.action-btn.copy {
    color: var(--bs-secondary-color, #6c757d);
}

.action-btn.copy:hover {
    background: var(--bs-tertiary-bg, #f8f9fa);
    border-color: var(--bs-body-color, #212529);
}

.action-btn.like {
    color: #dc3545;
}

.action-btn.like:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}

.action-btn.like.liked {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.action-btn.like.liked:hover {
    background: #c82333;
    border-color: #c82333;
}

/* Like Count Display */
.like-display {
    text-align: center;
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 0.5rem;
}

.like-display i {
    color: #dc3545;
    margin-right: 0.25rem;
}

/* Info Widget */
.info-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color, #ddd);
}

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

.info-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--bs-primary, #0d6efd);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.85rem;
}

.info-content h6 {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6c757d);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--bs-body-color, #212529);
    margin: 0;
    font-weight: 500;
}

/* ===== IMAGE PREVIEW MODAL - THEME AWARE ===== */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.image-preview-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-preview {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-preview:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
}

/* ============= LAZY LOADING STYLES ============= */
.lazyload {
    opacity: 0;
}

.lazyloading {
    opacity: 1;
    transition: opacity 300ms;
    background: var(--bs-body-bg, #f8f9fa) url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDQiIGhlaWdodD0iNDQiIHZpZXdCb3g9IjAgMCA0NCA0NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM5OTkiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLXdpZHRoPSIyIj48Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iMHMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAyMCIgY2FsY01vZGU9InNwbGluZSIga2V5VGltZXM9IjA7IDEiIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZS1vcGFjaXR5IiBiZWdpbj0iMHMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAwIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlUaW1lcz0iMDsgMSIga2V5U3BsaW5lcz0iMC4zLCAwLjYxLCAwLjM1NSwgMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz48L2NpcmNsZT48Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iLTAuOXMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAyMCIgY2FsY01vZGU9InNwbGluZSIga2V5VGltZXM9IjA7IDEiIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZS1vcGFjaXR5IiBiZWdpbj0iLTAuOXMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAwIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlUaW1lcz0iMDsgMSIga2V5U3BsaW5lcz0iMC4zLCAwLjYxLCAwLjM1NSwgMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz48L2NpcmNsZT48L2c+PC9zdmc+') center no-repeat;
    background-size: 2rem;
}

.lazyloaded {
    opacity: 1;
    transition: opacity 300ms;
}

/* ============= BADGE STYLES ============= */
.badge-custom {
    background-color: var(--bs-card-bg, white);
    border: 1px solid var(--bs-border-color, #ddd);
    padding: 5px 10px;
    border-radius: 15px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Status badges - published, verified, aktif */
.badge-published,
.badge-verified,
.badge-aktif {
    color: var(--bs-success, #28a745);
    border-color: var(--bs-success, #28a745);
}

/* Status badges - unpublished, unverified, nonaktif */
.badge-unpublished,
.badge-unverified,
.badge-nonaktif {
    color: var(--bs-danger, #dc3545);
    border-color: var(--bs-danger, #dc3545);
}

/* ============= PROFILE & INFO TABLE STYLES ============= */
.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bs-border-color, #ddd);
    transition: border-color 0.3s ease;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bs-card-bg, #fff);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.info-table th {
    width: 30%;
    background: var(--bs-tertiary-bg, #f8f9fa);
    text-align: left;
    padding: 12px 20px;
    font-weight: bold;
    color: var(--bs-body-color, #333);
    border-bottom: 1px solid var(--bs-border-color, #ddd);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.info-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--bs-border-color, #ddd);
    color: var(--bs-body-color, #555);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background: var(--bs-tertiary-bg, #f1f1f1);
    transition: background-color 0.3s ease;
}

.info-table a {
    color: var(--bs-link-color, #007bff);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-table a:hover {
    text-decoration: underline;
}

.info-box {
    background: var(--bs-card-bg, #fff);
    padding: 16px 18px 2px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.1));
}

.info-box h5 {
    color: var(--bs-heading-color, #333);
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-box p {
    color: var(--bs-body-color, #555);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.info-box i {
    color: var(--bs-primary, #0d6efd);
    transition: color 0.3s ease;
}

/* ============= CARD & STATS ICON STYLES ============= */
.stats-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
}

.stats-icon.purple {
    background-color: #9694ff;
}

.stats-icon.blue {
    background-color: #57caeb;
}

.card {
    transition: all 0.3s ease;
    background-color: var(--bs-card-bg, #fff);
    border-color: var(--bs-border-color, rgba(0, 0, 0, 0.125));
}

.card-body {
    background-color: var(--bs-card-bg, #fff);
    color: var(--bs-body-color, #212529);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-title {
    color: var(--bs-heading-color, #333);
    transition: color 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ============= PORTFOLIO DETAIL PAGE STYLES ============= */
.carousel img {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    background-color: var(--bs-secondary-bg, #f8f9fa);
}

.social-buttons a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    margin-right: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--bs-heading-color, #333);
    transition: color 0.3s ease;
}

.text-justify {
    text-align: justify;
}

/* ============= PORTFOLIO CARD STYLES ============= */
/* Card Base Style */
.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--bs-card-bg, #fff);
    margin-bottom: 15px;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Card Image Container */
.card-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--bs-secondary-bg, #f8f9fa);
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .card-img-container img {
    transform: scale(1.05);
}

/* Card Image Overlay for Like Count */
.card-img-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.like-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.93);
    color: #e91e63;
    padding: 0.4rem 0.9rem;
    border-radius: 22px;
    font-weight: 700;
    font-size: 0.92rem;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(233,30,99,0.11);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.2px;
    border: 1px solid #fce4ec;
    transition: background 0.25s;
}

.like-badge i {
    font-size: 1.1em;
    margin-right: 0.2em;
    animation: pulse 1.2s infinite alternate cubic-bezier(0.57, 1.6, 0.58, 1.06);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

/* Card Body */
.portfolio-card .card-body {
    padding: 1.25rem;
    background-color: var(--bs-card-bg, #fff);
}

.portfolio-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-body-color, #333);
    line-height: 1.3;
}

.portfolio-card .author-name {
    font-size: 0.8rem;
    color: var(--bs-primary, #0056b3);
    font-weight: 500;
}

.portfolio-card .card-text {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #6c757d);
    margin-top: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

/* Avatar Container */
.avatar-container {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--bs-primary, #0d6efd);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

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

/* Card Footer */
.portfolio-card .card-footer {
    background-color: var(--bs-card-cap-bg, #f8f9fa);
    border-top: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.125));
    padding: 0;
}

.detail-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    color: var(--bs-primary, #0d6efd);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: transparent;
    width: 100%;
}

.detail-btn:hover {
    background-color: var(--bs-primary, #0d6efd);
    color: white;
}

.detail-btn i {
    transition: transform 0.3s ease;
}

.detail-btn:hover i {
    transform: translateX(5px);
}

/* No Data Display */
.no-data-container img {
    filter: opacity(0.8) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* ============= SEARCH HIGHLIGHT STYLES ============= */
.search-highlight {
    background-color: rgba(255, 230, 0, 0.3);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: bold;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= DARK MODE ADJUSTMENTS ============= */
/* Lazy Loading - Dark Mode */
html.theme-dark .lazyloading,
body.theme-dark .lazyloading,
[data-bs-theme="dark"] .lazyloading {
    background: var(--bs-body-bg, #1e1e2d) url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDQiIGhlaWdodD0iNDQiIHZpZXdCb3g9IjAgMCA0NCA0NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiNjY2MiPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLXdpZHRoPSIyIj48Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iMHMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAyMCIgY2FsY01vZGU9InNwbGluZSIga2V5VGltZXM9IjA7IDEiIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZS1vcGFjaXR5IiBiZWdpbj0iMHMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAwIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlUaW1lcz0iMDsgMSIga2V5U3BsaW5lcz0iMC4zLCAwLjYxLCAwLjM1NSwgMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz48L2NpcmNsZT48Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBiZWdpbj0iLTAuOXMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAyMCIgY2FsY01vZGU9InNwbGluZSIga2V5VGltZXM9IjA7IDEiIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPjxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZS1vcGFjaXR5IiBiZWdpbj0iLTAuOXMiIGR1cj0iMS40cyIgdmFsdWVzPSIxOyAwIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlUaW1lcz0iMDsgMSIga2V5U3BsaW5lcz0iMC4zLCAwLjYxLCAwLjM1NSwgMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz48L2NpcmNsZT48L2c+PC9zdmc+') center no-repeat;
    background-size: 2rem;
}

/* Generic Card and Elements - Dark Mode */
html.theme-dark .card,
body.theme-dark .card,
[data-bs-theme="dark"] .card {
    background-color: var(--bs-dark, #2b2d31);
    border-color: var(--bs-border-color, #444);
}

html.theme-dark .card-body,
body.theme-dark .card-body,
[data-bs-theme="dark"] .card-body {
    background-color: var(--bs-dark, #2b2d31);
    color: var(--bs-body-color, #e1e1e1);
}

html.theme-dark .card-title,
body.theme-dark .card-title,
[data-bs-theme="dark"] .card-title,
html.theme-dark .title,
body.theme-dark .title,
[data-bs-theme="dark"] .title {
    color: var(--bs-white, #f8f9fa);
}

html.theme-dark .card:hover,
body.theme-dark .card:hover,
[data-bs-theme="dark"] .card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Profile & Image Elements - Dark Mode */
html.theme-dark .profile-pic,
body.theme-dark .profile-pic,
[data-bs-theme="dark"] .profile-pic,
html.theme-dark .profile-img,
body.theme-dark .profile-img,
[data-bs-theme="dark"] .profile-img {
    border-color: var(--bs-border-color, #444);
}

/* Badge - Dark Mode Base */
html.theme-dark .badge-custom,
body.theme-dark .badge-custom,
[data-bs-theme="dark"] .badge-custom {
    background-color: var(--bs-body-bg, #1e1e2d);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 15px !important;
}

/* Badge Status - Dark Mode (Success Types) */
html.theme-dark .badge-published,
body.theme-dark .badge-published,
[data-bs-theme="dark"] .badge-published,
html.theme-dark .badge-verified,
body.theme-dark .badge-verified,
[data-bs-theme="dark"] .badge-verified,
html.theme-dark .badge-aktif,
body.theme-dark .badge-aktif,
[data-bs-theme="dark"] .badge-aktif {
    color: var(--bs-success, #4cd964);
    border-color: var(--bs-success, #4cd964);
}

/* Badge Status - Dark Mode (Danger Types) */
html.theme-dark .badge-unpublished,
body.theme-dark .badge-unpublished,
[data-bs-theme="dark"] .badge-unpublished,
html.theme-dark .badge-unverified,
body.theme-dark .badge-unverified,
[data-bs-theme="dark"] .badge-unverified,
html.theme-dark .badge-nonaktif,
body.theme-dark .badge-nonaktif,
[data-bs-theme="dark"] .badge-nonaktif {
    color: var(--bs-danger, #ff3b30);
    border-color: var(--bs-danger, #ff3b30);
}

/* Info Box - Dark Mode */
html.theme-dark .info-box,
body.theme-dark .info-box,
[data-bs-theme="dark"] .info-box {
    background-color: var(--bs-dark, #2b2d31);
    border-color: var(--bs-border-color, #444);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html.theme-dark .info-box h5,
body.theme-dark .info-box h5,
[data-bs-theme="dark"] .info-box h5 {
    color: var(--bs-white, #f8f9fa);
}

html.theme-dark .info-box p,
body.theme-dark .info-box p,
[data-bs-theme="dark"] .info-box p {
    color: var(--bs-gray-300, #dee2e6);
}

html.theme-dark .info-box i,
body.theme-dark .info-box i,
[data-bs-theme="dark"] .info-box i {
    color: var(--bs-primary, #3d8bfd);
}

/* Info Table - Dark Mode */
html.theme-dark .info-table,
body.theme-dark .info-table,
[data-bs-theme="dark"] .info-table {
    background: var(--bs-card-bg, #1e1e2d);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

html.theme-dark .info-table th,
body.theme-dark .info-table th,
[data-bs-theme="dark"] .info-table th {
    background: var(--bs-tertiary-bg, #2a2a3c);
    color: var(--bs-body-color, #e1e1e1);
    border-bottom-color: var(--bs-border-color, #444);
}

html.theme-dark .info-table td,
body.theme-dark .info-table td,
[data-bs-theme="dark"] .info-table td {
    color: var(--bs-body-color, #e1e1e1);
    border-bottom-color: var(--bs-border-color, #444);
}

html.theme-dark .info-table tr:hover,
body.theme-dark .info-table tr:hover,
[data-bs-theme="dark"] .info-table tr:hover {
    background: var(--bs-tertiary-bg, #2a2a3c);
}

html.theme-dark .info-table a,
body.theme-dark .info-table a,
[data-bs-theme="dark"] .info-table a {
    color: var(--bs-link-color, #3d8bfd);
}

/* Portfolio Card - Dark Mode */
html.theme-dark .portfolio-card,
body.theme-dark .portfolio-card,
[data-bs-theme="dark"] .portfolio-card {
    background-color: var(--bs-dark, #2b2d31);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

html.theme-dark .portfolio-card:hover,
body.theme-dark .portfolio-card:hover,
[data-bs-theme="dark"] .portfolio-card:hover {
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35);
}

html.theme-dark .card-img-container,
body.theme-dark .card-img-container,
[data-bs-theme="dark"] .card-img-container {
    background-color: var(--bs-dark, #1e1e2d);
}

html.theme-dark .portfolio-card .card-body,
body.theme-dark .portfolio-card .card-body,
[data-bs-theme="dark"] .portfolio-card .card-body {
    background-color: var(--bs-dark, #2b2d31);
}

html.theme-dark .portfolio-card .card-title,
body.theme-dark .portfolio-card .card-title,
[data-bs-theme="dark"] .portfolio-card .card-title {
    color: var(--bs-white, #f8f9fa);
}

html.theme-dark .portfolio-card .card-text,
body.theme-dark .portfolio-card .card-text,
[data-bs-theme="dark"] .portfolio-card .card-text {
    color: var(--bs-gray-400, #ced4da);
}

html.theme-dark .portfolio-card .card-footer,
body.theme-dark .portfolio-card .card-footer,
[data-bs-theme="dark"] .portfolio-card .card-footer {
    background-color: var(--bs-gray-900, #212529);
    border-top-color: var(--bs-gray-800, #343a40);
}

html.theme-dark .detail-btn,
body.theme-dark .detail-btn,
[data-bs-theme="dark"] .detail-btn {
    color: var(--bs-primary, #0d6efd);
}

html.theme-dark .detail-btn:hover,
body.theme-dark .detail-btn:hover,
[data-bs-theme="dark"] .detail-btn:hover {
    background-color: var(--bs-primary, #0d6efd);
    color: white;
}

/* Carousel - Dark Mode */
html.theme-dark .carousel img,
body.theme-dark .carousel img,
[data-bs-theme="dark"] .carousel img {
    background-color: var(--bs-gray-800, #343a40);
}

/* Search Highlight - Dark Mode */
html.theme-dark .search-highlight,
body.theme-dark .search-highlight,
[data-bs-theme="dark"] .search-highlight {
    background-color: rgba(255, 200, 0, 0.25);
    color: var(--bs-warning, #ffc107);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-header {
        padding: 1.5rem;
    }
    
    .profile-img {
        width: 60px;
        height: 60px;
    }
    
    .profile-title {
        font-size: 1.5rem;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-nav-item {
        text-align: center;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .profile-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .main-grid {
        gap: 1rem;
    }
    
    .widget-header,
    .widget-body,
    .tab-content {
        padding: 1rem;
    }
    
    .carousel-container {
        aspect-ratio: 3/2;
    }
    
    .content-image-container {
        aspect-ratio: 3/2;
    }
    
    .close-preview {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .profile-header {
        text-align: center;
    }
    
    .profile-header .row {
        justify-content: center;
    }
    
    .social-actions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }
    
    .portfolio-main-image {
        max-width: 150px;
    }
    
    .tab-nav-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .action-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* ===== UTILITIES ===== */
.text-justify {
    text-align: justify;
    line-height: 1.7;
}

/* Custom scrollbar - Theme Aware */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bs-tertiary-bg, #f8f9fa);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-border-color, #ddd);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary-color, #6c757d);
}