/* Sidebar Menus Custom Styles */

/* --- Custom Category List --- */
.custom-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-category-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.custom-category-item:hover {
    background: #f8f9fa;
    padding-left: 20px;
    /* Slide effect */
    border-left-color: #8e2de2;
    /* Purple accent */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.custom-category-link {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-category-item:hover .custom-category-link {
    color: #8e2de2;
}

.custom-category-icon {
    color: #ccc;
    font-size: 12px;
    transition: all 0.3s ease;
}

.custom-category-item:hover .custom-category-icon {
    color: #8e2de2;
    transform: translateX(3px);
}

/* --- Custom Tag Cloud (Daerah & Biro) --- */
.custom-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-tag-item {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.custom-tag-item:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Daerah Variant (Teal/Emerald) */
.tag-daerah {
    background: #e0f2f1;
    color: #00695c;
    border-color: #b2dfdb;
}

.tag-daerah:hover {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-color: transparent;
}

/* Biro Variant (Blue/Indigo) */
.tag-biro {
    background: #e8eaf6;
    color: #283593;
    border-color: #c5cae9;
}

.tag-biro:hover {
    background: linear-gradient(135deg, #757F9A 0%, #D7DDE8 100%);
    color: #1a237e;
    /* Darker text for contrast on silver */
    border-color: transparent;
}

/* View All Buttons */
.btn-view-all-custom {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-view-all-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline-purple {
    color: #8e2de2;
    border-color: #8e2de2;
}

.btn-outline-purple:hover {
    background: #8e2de2;
    color: white;
}

.btn-outline-teal {
    color: #11998e;
    border-color: #11998e;
}

.btn-outline-teal:hover {
    background: #11998e;
    color: white;
}

/* Sidebar Menus Custom Styles */

/* --- Custom Category List --- */
.custom-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-category-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.custom-category-item:hover {
    background: #f8f9fa;
    padding-left: 20px;
    /* Slide effect */
    border-left-color: #8e2de2;
    /* Purple accent */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.custom-category-link {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-category-item:hover .custom-category-link {
    color: #8e2de2;
}

.custom-category-icon {
    color: #ccc;
    font-size: 12px;
    transition: all 0.3s ease;
}

.custom-category-item:hover .custom-category-icon {
    color: #8e2de2;
    transform: translateX(3px);
}

/* --- Custom Tag Cloud (Daerah & Biro) --- */
.custom-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-tag-item {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.custom-tag-item:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Daerah Variant (Teal/Emerald) */
.tag-daerah {
    background: #e0f2f1;
    color: #00695c;
    border-color: #b2dfdb;
}

.tag-daerah:hover {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-color: transparent;
}

/* Biro Variant (Blue/Indigo) */
.tag-biro {
    background: #e8eaf6;
    color: #283593;
    border-color: #c5cae9;
}

.tag-biro:hover {
    background: linear-gradient(135deg, #757F9A 0%, #D7DDE8 100%);
    color: #1a237e;
    /* Darker text for contrast on silver */
    border-color: transparent;
}

/* View All Buttons */
.btn-view-all-custom {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-view-all-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline-purple {
    color: #8e2de2;
    border-color: #8e2de2;
}

.tag-daerah:hover {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-color: transparent;
}

/* Biro Variant (Blue/Indigo) */
.tag-biro {
    background: #e8eaf6;
    color: #283593;
    border-color: #c5cae9;
}

.tag-biro:hover {
    background: linear-gradient(135deg, #757F9A 0%, #D7DDE8 100%);
    color: #1a237e;
    /* Darker text for contrast on silver */
    border-color: transparent;
}

/* View All Buttons */
.btn-view-all-custom {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-view-all-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline-purple {
    color: #8e2de2;
    border-color: #8e2de2;
}

.btn-outline-purple:hover {
    background: #8e2de2;
    color: white;
}

.btn-outline-teal {
    color: #11998e;
    border-color: #11998e;
}

.btn-outline-teal:hover {
    background: #11998e;
    color: white;
}

/* Sidebar Menus Custom Styles */

/* --- Custom Category List --- */
.custom-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-category-item {
    display: block;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

.custom-category-item:hover {
    background: #f8f9fa;
    padding-left: 20px;
    /* Slide effect */
    border-left-color: #8e2de2;
    /* Purple accent */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.custom-category-link {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-category-item:hover .custom-category-link {
    color: #8e2de2;
}

.custom-category-icon {
    color: #ccc;
    font-size: 12px;
    transition: all 0.3s ease;
}

.custom-category-item:hover .custom-category-icon {
    color: #8e2de2;
    transform: translateX(3px);
}

/* --- Custom Tag Cloud (Daerah & Biro) --- */
.custom-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-tag-item {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.custom-tag-item:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Daerah Variant (Teal/Emerald) */
.tag-daerah {
    background: #e0f2f1;
    color: #00695c;
    border-color: #b2dfdb;
}

.tag-daerah:hover {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-color: transparent;
}

/* Biro Variant (Blue/Indigo) */
.tag-biro {
    background: #e8eaf6;
    color: #283593;
    border-color: #c5cae9;
}

.tag-biro:hover {
    background: linear-gradient(135deg, #757F9A 0%, #D7DDE8 100%);
    color: #1a237e;
    /* Darker text for contrast on silver */
    border-color: transparent;
}

/* View All Buttons */
.btn-view-all-custom {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-view-all-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-outline-purple {
    color: #8e2de2;
    border-color: #8e2de2;
}

.btn-outline-purple:hover {
    background: #8e2de2;
    color: white;
}

.btn-outline-teal {
    color: #11998e;
    border-color: #11998e;
}

.btn-outline-teal:hover {
    background: #11998e;
    color: white;
}

.btn-outline-indigo {
    color: #283593;
    border-color: #283593;
}

.btn-outline-indigo:hover {
    background: #283593;
    color: white;
}

/* --- Custom Popular List (No Numbering) --- */
.custom-popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-popular-item {
    position: relative;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.custom-popular-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-bottom-color: #0575E6;
}

.custom-popular-link {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    text-decoration: none !important;
    transition: color 0.3s;
}

.custom-popular-item:hover .custom-popular-link {
    color: #0575E6;
}

/* --- Custom Media List (Photo & Video) --- */
.custom-media-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.custom-media-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.custom-media-thumb {
    width: 90px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    margin-right: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.custom-media-item:hover .custom-media-thumb img {
    transform: scale(1.1);
}

.custom-media-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    transition: transform 0.3s;
}

.custom-media-item:hover .custom-media-icon {
    transform: translate(-50%, -50%) scale(1.2);
}

.custom-media-info h6 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
    transition: color 0.3s;
}

.custom-media-item:hover .custom-media-info h6 {
    color: #0072ff;
    /* Default to blue, override for others */
}

.custom-media-info small {
    color: #888;
    font-size: 11px;
    font-weight: 500;
}

/* Video Variant Overrides */
.custom-media-item.video-item:hover .custom-media-info h6 {
    color: #ff6b6b;
}

.btn-outline-blue {
    color: #0072ff;
    border-color: #0072ff;
}

.btn-outline-blue:hover {
    background: #0072ff;
    color: white;
}

.btn-outline-orange {
    color: #ff6b6b;
    border-color: #ff6b6b;
}

.btn-outline-orange:hover {
    background: #ff6b6b;
    color: white;
}