/* Tag Filter Styles */
.tag-filter-select {
    min-width: 200px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-filter-select:hover {
    border-color: #3096ef;
}

.tag-filter-select:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(48, 150, 239, 0.1);
}

.tag-filter-group label,
.unified-tag-group label {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
    font-size: 0.9rem;
}

.tag-filter-group,
.unified-tag-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Header with Action Buttons and Logo */
.header-top {
    /* background: linear-gradient(135deg, #3096ef, #ffffff); */
    background: #3096ef;
    color: #263238;
    padding: 5px 0;
    position: relative;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    position: relative;
}

/* Logo positioned in header-top on the left */
.site-logo-link {
    position: relative;
    z-index: 10;
    background: white;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.site-logo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.site-logo {
    width: 80px;
    height: 80px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

/* Site Title Container */
.site-title-container {
    flex: 1;
    margin-left: 30px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: #f0f8ff;
    color: #0066cc;
    border: 1px solid #d4ebff;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: #e8f4fd;
    transform: translateY(-2px);
}

/* Light Blue Action Buttons - Visible on white backgrounds */
.action-btn-light-blue {
    background: #f0f8ff;
    color: #0066cc;
    border: 1px solid #d4ebff;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.2);
}

.action-btn-light-blue:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.3);
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.language-toggle {
    position: relative;
    z-index: 10;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background: white;
    border: 2px solid #3096ef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    min-width: 200px;
    margin-top: 5px;
    width: max-content;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: #0066cc;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.language-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #999;
}

.language-option.disabled:hover {
    background: transparent;
    color: #999;
}

.language-option.disabled .coming-soon {
    font-size: 0.75rem;
    font-style: italic;
    color: #666;
    font-weight: normal;
}

.language-option:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.language-option:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.language-option:hover {
    background: #f0f8ff;
    color: #263238;
}

.language-option.active {
    background: #3096ef;
    color: white;
    font-weight: 600;
}

.language-option.active:hover {
    background: #0066cc;
}

.language-option .flag {
    font-size: 1.1rem;
    line-height: 1;
}

/* Language Notification */
.language-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #b4d9f9;
    color: #263238;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.language-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.language-notification i {
    font-size: 1rem;
    color: #0066cc;
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1002;
}

.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item i {
    color: #0066cc;
    width: 16px;
}

.dropdown-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 8px 0;
}

.user-dropdown-icon {
    transition: transform 0.2s ease;
    font-size: 0.8em;
    margin-left: 5px;
}

.logout-btn:hover {
    background-color: #f8f9fa;
    color: #dc3545;
}

.logout-btn i {
    color: #dc3545;
}

/* Site Title */
.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
}

/* Navigation Header Section */
.header-nav {
    background: #263238;
    position: relative;
    padding: 0;
    z-index: 1001;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0px;
    overflow: visible;
}

/* Hamburger Menu - Hidden by default on desktop */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation integrated into nav header */
.main-navigation {
    flex: 1;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 7px 30px;
    display: block;
    border-left: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-menu li:first-child a {
    border-left: none;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.25);
}

/* Dropdown Navigation Styles */
.nav-menu .has-submenu {
    position: relative;
}

.nav-menu .has-submenu > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu .has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
    opacity: 1;
}

.nav-menu .has-submenu:hover > a::after,
.nav-menu .has-submenu > a:hover::after {
    transform: rotate(180deg);
}

.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #37474f;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.nav-menu .has-submenu:hover .submenu,
.nav-menu .has-submenu > a:hover + .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-menu .submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu .submenu li:last-child {
    border-bottom: none;
}

.nav-menu .submenu li a {
    padding: 12px 20px;
    border-left: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-menu .submenu li a:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 25px;
}

.nav-menu .submenu li a.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border-left: 3px solid #3096ef;
}

/* Home Button - Fixed bottom right */
.home-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #b4d9f9;
    color: #0066cc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.3);
}

.home-btn i {
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* News Carousel Section */
.news-carousel-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top: 30px;
}

.news-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.news-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.news-slide[data-bg="medical-bg-1"] {
    background-image: url('../images/25gyt_cong_header.jpg');
}

.news-slide[data-bg="medical-bg-2"] {
    background-image: url('../images/42824B15-D396-4BAE-8130-A83B6C78395C_1_201_a.jpeg');
}

.news-slide[data-bg="medical-bg-3"] {
    background-image: url('../images/news_4.png');
}

.news-slide[data-bg="medical-bg-4"] {
    background-image: url('../images/news_3.png');
}

.news-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.news-overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 30px;
    border-radius: 0;
    color: white;
    width: 30%;
    max-width: none;
    height: 100%;
    backdrop-filter: blur(5px);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-sizing: border-box;
    margin-left: 0;
    flex-shrink: 0;
    min-width: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #80c4ff;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.news-subtitle {
    font-size: 1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.news-topics {
    list-style: none;
    margin-bottom: 20px;
}

.news-topics li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.news-topics li::before {
    content: '•';
    color: #3096ef;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.news-more {
    color: #80c4ff;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-more:hover {
    color: white;
    border-color: #000000;
    transform: translateY(-2px);
    /* box-shadow: 0 4px 12px rgba(77, 166, 255, 0); */
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-prev, .carousel-next {
    background: #f0f8ff;
    color: #0066cc;
    border: 1px solid #d4ebff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.3);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #0066cc;
}

.indicator:hover {
    background: #3096ef;
}

.hero-section {
    background: white;
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid #0066cc;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: rgba(0, 102, 204, 0.3);
    box-shadow: 0 1px 3px rgba(0, 102, 204, 0.2);
}

.section-title {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 50px;
    font-weight: 300;
}

/* Interactive Cards */
.interactive-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.expandable-card {
    background: #3096ef;
    color: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: visible;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 200px;
    z-index: 1;
    transform-origin: center;
    display: flex;
    flex-direction: column;
}

.expandable-card:hover {
    background: #3096ef;
    color: white;
    border-color: #0066cc;
    transform: scale(1.05) !important;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.card-header {
    display: flex;
    align-items: center;
    padding: 30px;
    color: white;
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.8rem;
    color: #0066cc;
}

.card-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    text-align: left;
}

.card-content {
    padding: 10px 30px 30px;
    color: #263238;
    opacity: 1;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: white;
    flex: 1;
    text-align: left;
}

.card-action-btn {
    background: #f0f8ff;
    color: #0066cc;
    border: 1px solid #d4ebff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-top: auto;
    align-self: flex-start;
}

.card-action-btn:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.3);
}


/* Info Section */
.info-section {
    background: #e8f4fd;
    padding: 80px 0;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.info-column {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.info-title {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #b4d9f9;
    border-radius: 2px;
}

/* Membership Cards */
.membership-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.membership-card {
    display: flex;
    align-items: center;
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    padding: 25px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.membership-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.membership-icon {
    width: 50px;
    height: 50px;
    background: #b4d9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.membership-icon i {
    color: #0066cc;
    font-size: 1.3rem;
}

.membership-card h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
    flex: 1;
    padding-right: 120px; /* Make space for button */
}

.membership-btn {
    background: #b4d9f9;
    color: #263238;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.membership-btn:hover {
    background: #3096ef;
    color: white;
}

/* Events Section */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    padding: 0 0;
    transition: all 0.3s ease;
}

.event-image {
    position: relative;
    height: 100px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

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

.event-bottom {
    display: flex;
    gap: 15px; /* Space between date and content */
    align-items: flex-start;
    padding: 10px 5px 5px 5px;
}


.event-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.event-date {
    background: #b4d9f9;
    color: #263238;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-right: 20px;
    flex-shrink: 0;
    min-width: 70px;
}

.date-main {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.9;
}

.event-content h4 {
    flex: 1;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.event-location {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-location i {
    color: #3096ef;
}

.events-btn {
    background: #b4d9f9;
    color: #263238;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: 10px;
}

.events-btn:hover {
    background: #3096ef;
    color: white;
}

/* Professional Section */
.professional-section {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.professional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.professional-card {
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.professional-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.professional-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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


.professional-icon {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background: rgba(0, 102, 204, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.professional-icon i {
    color: white;
    font-size: 1.2rem;
}

.professional-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.professional-content h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.professional-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.professional-btn {
    background: #b4d9f9;
    color: #263238;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.professional-btn:hover {
    background: #3096ef;
    color: white;
}

/* Additional Content */
.additional-content {
    padding: 60px 0;
    background: #f8fbff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.content-block {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #b4d9f9;
}

.content-block h3 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.content-block p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #263238;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #80c4ff;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section a {
    color: #80c4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #b4d9f9;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (min-width: 768px) {
    .site-title {
        font-size: 1.8rem;
        color: white;
    }
}

/* Large tablets and small desktops - start reducing logo size earlier */
@media (max-width: 1200px) {
    .site-logo {
        width: 70px;
        height: 70px;
    }
    
    .action-btn {
        padding: 7px 14px;
        font-size: 0.85rem;
    }
    
    .action-btn-light-blue {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    .nav-menu li a {
        padding: 10px 10px;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: block;
        transition: background-color 0.3s ease;
        font-size: 0.85rem;
    }
}

/* Switch to hamburger menu much earlier to prevent overlap */
@media (max-width: 1050px) {
    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
    }
    
    /* Adjust header layout for smaller screens */
    .site-title {
        font-size: 1.4rem;
    }
    
    .site-logo {
        width: 65px;
        height: 65px;
    }
    
    /* Keep login/search buttons visible but smaller as icons only */
    .action-btn, .action-btn-light-blue {
        padding: 8px;
        font-size: 0.9rem;
        min-width: 36px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
    }
    
    .action-btn span, .action-btn-light-blue span {
        display: none;
    }
    
    .action-btn i, .action-btn-light-blue i {
        font-size: 0.9rem;
    }
    
    /* Mobile navigation */
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #263238;
        margin: 0;
        padding: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu li a {
        padding: 18px 25px;
        border-left: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        display: block;
        transition: background-color 0.3s ease;
        font-size: 0.9rem;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .nav-menu li a:hover {
        background: rgba(255,255,255,0.1);
        padding-left: 35px;
    }
    
    /* Mobile Dropdown Styles */
    .nav-menu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        background: #37474f;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: 0;
    }
    
    .nav-menu .has-submenu.active .submenu {
        max-height: 500px;
    }
    
    .nav-menu .submenu li a {
        padding-left: 45px;
    }
    
    .nav-menu .submenu li a:hover {
        padding-left: 55px;
    }
    
    .nav-menu .has-submenu > a::after {
        transition: transform 0.3s ease;
    }
    
    .nav-menu .has-submenu.active > a::after {
        transform: rotate(180deg);
    }
    
    /* Hide home button on mobile */
    .home-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.2rem;
    }
    
    .site-logo {
        width: 55px;
        height: 55px;
    }
    
    .header-actions {
        gap: 4px;
    }
    
    .action-btn, .action-btn-light-blue {
        padding: 6px;
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    
    .action-btn i, .action-btn-light-blue i {
        font-size: 0.8rem;
    }
    
    /* Even smaller home button */
    .home-btn {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.1rem;
    }
    
    .site-logo {
        width: 50px;
        height: 50px;
    }
    
    .header-container {
        padding: 10px 15px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .site-title-container {
        margin-left: 20px;
        overflow: hidden;
        max-width: calc(100% - 200px);
    }
    
    .header-actions {
        gap: 3px;
        flex-shrink: 0;
    }
    
    .action-btn, .action-btn-light-blue {
        padding: 5px;
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .action-btn i, .action-btn-light-blue i {
        font-size: 0.7rem;
    }
    
    /* Smallest home button */
    .home-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }

    .interactive-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .expandable-card {
        min-height: 180px;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .card-content {
        padding: 10px 20px 20px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .action-btn, .action-btn-light-blue {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .action-btn span, .action-btn-light-blue span {
        display: none;
    }
    
    /* Info Section Mobile */
    .info-section {
        padding: 50px 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .info-column {
        padding: 30px 20px;
    }
    
    .info-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .membership-card {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .membership-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .membership-card h4 {
        margin-bottom: 15px;
    }
    
    .event-card {
        padding: 20px 15px;
        flex-direction: column;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: flex-start;
    }
    
    .professional-section {
        padding: 30px 20px;
    }
    
    .professional-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .professional-image {
        height: 150px;
    }
    
    .professional-content {
        padding: 20px 15px;
    }
    
    /* Mobile news carousel adjustments */
    .news-carousel-section {
        height: 350px;
        margin-top: 15px;
    }
    
    .news-content {
        padding: 0;
        align-items: stretch;
        box-sizing: border-box;
    }
    
    .news-overlay {
        padding: 20px;
        width: 50%;
        max-width: none;
        height: 100%;
        margin-left: 0;
        background: rgba(0, 0, 0, 0.55);
        box-sizing: border-box;
        border-radius: 0;
    }
    
    .news-title {
        font-size: 1.3rem;
        line-height: 1.4;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    }
    
    .news-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    }
    
    .news-more {
        font-size: 0.9rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    .carousel-nav {
        bottom: 15px;
        gap: 15px;
    }
    
    /* Tablet and medium screen adjustments for news banner */
    @media (min-width: 768px) and (max-width: 1024px) {
        .news-carousel-section {
            height: 380px;
        }
        
        .news-content {
            padding: 0;
        }
        
        .news-overlay {
            padding: 25px;
            width: 35%;
            max-width: none;
            height: 100%;
            background: rgba(0, 0, 0, 0.55);
        }
        
        .news-title {
            font-size: 1.5rem;
            line-height: 1.35;
            margin-bottom: 12px;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
        }
        
        .news-subtitle {
            font-size: 1rem;
            line-height: 1.5;
            margin-bottom: 12px;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
        }
        
        .news-topics li {
            font-size: 0.95rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        }
        
        .news-more {
            font-size: 0.95rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        }
    }
    
    .carousel-prev, .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .site-logo {
        width: 50px;
        height: 50px;
    }
}

/* Additional responsive breakpoints for news overlay */
@media (max-width: 1280px) {
    .news-overlay {
        width: 40%;
    }
}

@media (max-width: 640px) {
    .news-overlay {
        width: 65%;
    }
}

@media (max-width: 540px) {
    .news-overlay {
        width: 75%;
    }
}

@media (max-width: 480px) {
    .news-carousel-section {
        height: 320px;
    }
    
    .news-overlay {
        width: 85%;
        padding: 15px;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .news-overlay {
        width: 95%;
    }
}

@media (max-width: 360px) {
    .news-carousel-section {
        height: 300px;
    }
    
    .news-overlay {
        width: 100%;
        padding: 12px;
    }
    
    .news-title {
        font-size: 1rem;
    }
    
    .news-subtitle {
        font-size: 0.8rem;
    }
}



/* Page Icon Section - Centered circular icon at top of pages */
.page-icon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 30px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    margin-bottom: 0px;
}

.page-icon-container {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3096ef, #0066cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 16px rgba(0, 102, 204, 0.2),
        0 16px 32px rgba(0, 102, 204, 0.15),
        0 24px 48px rgba(0, 102, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: pageIconFadeIn 0.6s ease-out;
}

@keyframes pageIconFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.page-icon-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(48, 150, 239, 0.1), rgba(0, 102, 204, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-icon-container:hover::before {
    opacity: 1;
}

.page-icon-container:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 12px 24px rgba(0, 102, 204, 0.25),
        0 20px 40px rgba(0, 102, 204, 0.2),
        0 32px 64px rgba(0, 102, 204, 0.15);
}

.page-icon-container i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-icon-container:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive adjustments for page icon */
@media (max-width: 768px) {
    .page-icon-section {
        padding: 30px 0 20px;
    }
    
    .page-icon-container {
        width: 110px;
        height: 110px;
    }
    
    .page-icon-container i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .page-icon-section {
        padding: 25px 0 15px;
    }
    
    .page-icon-container {
        width: 90px;
        height: 90px;
    }
    
    .page-icon-container i {
        font-size: 2.5rem;
    }
}

/* Page Title Section */
.page-title-section {
    background: #b4d9f9;
    color: #263238;
    padding: 10px 0;
    text-align: center;
    position: relative;
    margin-top: 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0 0 15px 0;
}

.page-breadcrumb {
    font-size: 1rem;
    opacity: 0.9;
}

.page-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: #004499;
}

/* Introduction Content Section */
.intro-content-section {
    background: white;
    padding: 60px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.intro-text-block {
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.08);
}

.intro-text-block h2 {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.intro-text-block h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.intro-text-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #b4d9f9;
    border-radius: 2px;
}

.intro-paragraph {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.intro-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #333;
    font-size: 1.1rem;
}

.intro-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3096ef;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Information */
.intro-contact-info {
    background: #b4d9f9;
    color: #263238;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.intro-contact-info h3 {
    color: #263238;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    font-size: 1.1rem;
}

.contact-item i {
    width: 20px;
    font-size: 1.2rem;
    color: #0066cc;
}

/* Active navigation link */
.nav-menu li a.active {
    background: rgba(255,255,255,0.25);
    /* font-weight: 600; */
}

/* Responsive Design for New Page Elements */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-title-section {
        padding: 10px 0;
    }
    
    .intro-content-section {
        padding: 40px 0;
    }
    
    .intro-text-block {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .intro-text-block h2 {
        font-size: 1.6rem;
    }
    
    .intro-text-block h3 {
        font-size: 1.3rem;
    }
    
    .intro-paragraph {
        font-size: 1rem;
    }
    
    .intro-contact-info {
        padding: 25px 20px;
    }
    
    .contact-item {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .intro-text-block h2 {
        font-size: 1.4rem;
    }
    
    .intro-text-block h3 {
        font-size: 1.2rem;
    }
    
    .intro-paragraph, .intro-list li {
        font-size: 0.95rem;
    }
}

/* PDF Management System Styles */

/* PDF Page Title */
.page-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #455a64;
    font-weight: 300;
}

/* PDF Admin Section */
.pdf-admin-section {
    background: #f8fbff;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.admin-panel {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.admin-panel h2 {
    color: #0066cc;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.upload-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.upload-btn {
    background: #b4d9f9;
    color: #0066cc;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.upload-btn:hover {
    background: #a2d0f7;
}

/* Unified Filter Section - For pages with both videos and PDFs */
.unified-filter-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    position: sticky;
    top: 140px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.unified-filter-controls {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 20px;
    align-items: end;
}

.unified-search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unified-search-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.unified-search-group input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.unified-search-group input:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(48, 150, 239, 0.1);
}

.unified-search-group input::placeholder {
    color: #999;
}

.unified-content-tabs {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.unified-tab-btn {
    background: #f0f8ff;
    color: #0066cc;
    border: 2px solid #d4ebff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.unified-tab-btn:hover {
    background: #e3f2fd;
    border-color: #3096ef;
    transform: translateY(-2px);
}

.unified-tab-btn.active {
    background: #3096ef;
    color: white;
    border-color: #3096ef;
    box-shadow: 0 4px 12px rgba(48, 150, 239, 0.3);
}

.unified-tab-btn i {
    font-size: 1rem;
}

.unified-subcategory-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unified-subcategory-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.unified-subcategory-group select {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: white;
    cursor: pointer;
    min-width: 200px;
    transition: border-color 0.3s ease;
}

.unified-subcategory-group select:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(48, 150, 239, 0.1);
}

.unified-sort-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.unified-sort-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.unified-sort-group select {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: white;
    cursor: pointer;
    min-width: 250px;
    transition: border-color 0.3s ease;
}

.unified-sort-group select:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(48, 150, 239, 0.1);
}

/* Admin Panel Two-Level Category Styling */
.content-form .form-group:has(#adminVideoParentCategory),
.content-form .form-group:has(#adminPdfParentCategory) {
    margin-bottom: 15px;
}

.content-form .form-group:has(#adminVideoCategory),
.content-form .form-group:has(#adminPdfCategory) {
    margin-top: 0;
}

.content-form select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #999;
}

.content-form label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

/* Responsive adjustments for unified filter */
@media (max-width: 992px) {
    .unified-filter-controls {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .unified-content-tabs {
        justify-content: flex-start;
    }
    
    .unified-sort-group select {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .unified-filter-section {
        position: relative;
        top: 0;
        padding: 20px 0;
    }
    
    .unified-filter-controls {
        gap: 12px;
    }
    
    .unified-tab-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .unified-content-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .unified-tab-btn {
        width: 100%;
    }
}

/* PDF Filter Section */
.pdf-filter-section {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    position: sticky;
    top: 140px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #3096ef;
}

.admin-toggle-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-toggle-btn:hover {
    background: #e55a2b;
}

/* Video Categories Section - Removed in favor of dropdown filter */

/* Video List Section */
.video-list-section {
    background: white;
    padding: 50px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* PDF List Section */
.pdf-list-section {
    background: white;
    padding: 50px 0;
}

.pdf-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Static text block between documents */
.pdf-section-divider {
    text-align: center;
    padding: 30px 0;
    position: relative;
}

.pdf-section-divider::before,
.pdf-section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(0, 102, 204, 0.2), transparent);
}

.pdf-section-divider::before {
    left: 0;
}

.pdf-section-divider::after {
    right: 0;
}

.pdf-section-text {
    display: inline-block;
    color: #0066cc;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 30px;
    background: white;
    position: relative;
}

.pdf-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 30px 0;
}

.pdf-card:hover {
    transform: translateY(-2px);
}

/* A4-shaped thumbnail with prominent shadow */
.pdf-thumbnail {
    position: relative;
    width: 200px;
    height: 283px; /* A4 aspect ratio (1:1.414) */
    flex-shrink: 0;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 102, 204, 0.12);
    transition: all 0.3s ease;
}

.pdf-card:hover .pdf-thumbnail {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 24px 48px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
}

.pdf-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-card:hover .pdf-overlay {
    opacity: 1;
}

.pdf-view-btn,
.pdf-download-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.pdf-view-btn:hover,
.pdf-download-btn:hover {
    background: #f0f8ff;
    color: #0066cc;
    border-color: #d4ebff;
}

.access-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.pdf-content {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pdf-category-badge {
    background: #b4d9f9;
    color: #0066cc;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.pdf-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pdf-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pdf-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.pdf-author,
.pdf-date,
.pdf-size {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.8rem;
}

.pdf-author i,
.pdf-date i,
.pdf-size i {
    color: #3096ef;
    width: 12px;
    font-size: 0.8rem;
}

.pdf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pdf-tag {
    background: #f0f8ff;
    color: #0066cc;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

/* Loading and No Results States */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading-spinner i {
    font-size: 2rem;
    color: #3096ef;
    margin-bottom: 15px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.no-results p {
    color: #666;
    font-size: 1rem;
}

/* Responsive Design for PDF and Video Systems */
@media (max-width: 768px) {
    .pdf-filter-section,
    .video-filter-section {
        position: relative;
        top: 0;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pdf-grid {
        gap: 15px;
    }
    
    .pdf-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .pdf-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .admin-panel {
        padding: 20px;
        margin: 0 10px;
    }
    
    .upload-form {
        gap: 15px;
    }
    
    .pdf-meta {
        gap: 6px;
    }
    
    .pdf-author,
    .pdf-date,
    .pdf-size {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .pdf-list-section,
    .video-list-section {
        padding: 30px 0;
    }
    
    .video-grid {
        gap: 15px;
    }
    
    .pdf-content {
        padding: 20px 15px;
    }
    
    .pdf-title {
        font-size: 1rem;
    }
    
    .pdf-description {
        font-size: 0.85rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

/* Google Maps Link Styling */
.maps-link {
    display: inline-block;
    background: #f0f8ff;
    /* border: 2px solid #b4d9f9; */
    border-radius: 14px;
    padding: 8px 12px;
    text-decoration: none;
    color: #0066cc !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.maps-link:hover {
    background: #b4d9f9;
    border-color: #3096ef;
    color: #263238 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.2);
}

.maps-link i {
    color: #3096ef !important;
    margin-right: 6px;
    font-size: 1rem;
}

.maps-link:hover i {
    color: #0066cc !important;
}

/* Event Location Styling Enhancement */
.event-location {
    margin-top: 8px;
}

.event-location .maps-link {
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Members Login and Authentication Styles */
.login-section {
    background: #f8fbff;
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
}

.login-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3rem;
    color: #b4d9f9;
    margin-bottom: 15px;
    display: block;
}

.login-header h2 {
    color: #0066cc;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.login-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.login-form input:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.login-btn-primary {
    width: 100%;
    background: #3096ef;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

.login-btn-primary:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(77, 166, 255, 0.3);
}

.login-links {
    text-align: center;
    margin-bottom: 30px;
}

.login-links a {
    color: #3096ef;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.register-section {
    border-top: 1px solid #eee;
    padding-top: 25px;
    text-align: center;
}

.register-section h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.register-section p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.register-btn {
    background: #b4d9f9;
    color: #0066cc;
    border: 2px solid #d4ebff;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

.register-btn:hover {
    background: #3096ef;
    color: white;
    border-color: #3096ef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(77, 166, 255, 0.3);
}

/* Members Welcome Section */
.members-welcome {
    background: #b4d9f9;
    border-radius: 15px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.welcome-header h2 {
    color: #263238;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 600;
}

.welcome-header #memberName {
    color: #0066cc;
}

.logout-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Registration Modal Styles */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.registration-modal.active {
    opacity: 1;
    visibility: visible;
}

.registration-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.registration-modal.active .registration-modal-content {
    transform: scale(1);
}

.registration-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.registration-header h2 {
    color: #0066cc;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.registration-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.registration-close:hover {
    background: #f5f5f5;
    color: #666;
}

.registration-body {
    padding: 30px;
}

.registration-form .form-group {
    margin-bottom: 20px;
}

.registration-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.registration-form input,
.registration-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    font-family: inherit;
}

.registration-form textarea {
    min-height: 100px;
    resize: vertical;
}

.registration-form input:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.registration-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.registration-btn-primary {
    background: #3096ef;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.registration-btn-primary:hover {
    background: #0066cc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(77, 166, 255, 0.3);
}

.registration-btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.registration-btn-secondary:hover {
    background: #e9e9e9;
    color: #333;
}

/* Success/Error Message Styles */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.form-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.form-loading.show {
    display: block;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3096ef;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Authentication */
@media (max-width: 768px) {
    .login-section {
        padding: 40px 0;
    }
    
    .login-form-card {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .welcome-header h2 {
        font-size: 1.4rem;
    }
    
    .registration-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .registration-header,
    .registration-body,
    .registration-footer {
        padding: 20px;
    }
    
    .registration-header h2 {
        font-size: 1.5rem;
    }
    
    .registration-footer {
        flex-direction: column;
    }
    
    .registration-btn-primary,
    .registration-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-form-card {
        padding: 25px 20px;
    }
    
    .login-header i {
        font-size: 2.5rem;
    }
    
    .login-header h2 {
        font-size: 1.3rem;
    }
    
    .welcome-header h2 {
        font-size: 1.2rem;
    }
    
    .registration-header,
    .registration-body {
        padding: 15px;
    }
}

/* Society Content System Styles */

/* Society Content Section */
.society-content-section {
    background: white;
    padding: 60px 0;
}

.society-content-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Society Loading State */
.society-loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.society-loading .loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.society-loading i {
    font-size: 2rem;
    color: #3096ef;
}

/* Society Content Items */
.society-content-item {
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.society-content-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #b4d9f9;
}

.society-content-inner {
    padding: 40px;
}

.society-content-title {
    color: #0066cc;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    padding-top: 10px;
}

.society-content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #b4d9f9;
    border-radius: 2px;
}

/* Society Text Block Styles */
.society-text-block .society-content-body {
    line-height: 1.7;
}

.society-paragraph {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.society-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.society-list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #333;
    font-size: 1.1rem;
}

.society-list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3096ef;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Society PDF Block Styles - Simplified Layout */
.society-pdf-content {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.society-documents-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.society-pdf-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0;
}

.society-pdf-info {
    padding: 10px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: default;
}

.society-pdf-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* A4-shaped thumbnail with prominent shadow - SIMPLIFIED */
.society-pdf-thumbnail {
    position: relative;
    width: 200px;
    height: 283px; /* A4 aspect ratio (1:1.414) */
    flex-shrink: 0;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 102, 204, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
}

.society-pdf-thumbnail:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 24px 48px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
}

.society-pdf-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.society-pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.society-pdf-thumbnail:hover .society-pdf-overlay {
    opacity: 1;
}

.society-pdf-view-btn,
.society-pdf-download-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.society-pdf-view-btn:hover,
.society-pdf-download-btn:hover {
    background: #f0f8ff;
    color: #0066cc;
    border-color: #d4ebff;
}


.society-pdf-description {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* Responsive Design for Society Components */
@media (max-width: 768px) {
    .society-content-section {
        padding: 40px 0;
    }
    
    .society-content-list {
        gap: 25px;
        margin: 0 10px;
    }
    
    .society-content-inner {
        padding: 25px 20px;
    }
    
    .society-content-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .society-paragraph {
        font-size: 1rem;
    }
    
    .society-list-item {
        font-size: 1rem;
    }
    
    /* Society PDF Cards Responsive - Simplified */
    .society-documents-list {
        gap: 30px;
    }
    
    .society-pdf-card {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .society-pdf-thumbnail {
        width: 100%;
        max-width: 200px;
        height: 283px;
    }
    
    .society-pdf-info {
        padding: 0 20px;
        text-align: center;
    }
    
    .society-pdf-description {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .society-content-inner {
        padding: 20px 15px;
    }
    
    .society-content-title {
        font-size: 1.4rem;
    }
    
    .society-paragraph,
    .society-list-item {
        font-size: 0.95rem;
    }
    
    /* Society PDF Cards Mobile - Simplified */
    .society-documents-list {
        gap: 25px;
    }
    
    .society-pdf-card {
        gap: 15px;
    }
    
    .society-pdf-thumbnail {
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1.414;
    }
    
    .society-pdf-info {
        padding: 0 15px;
    }
    
    .society-pdf-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Simple Video Component Styles */
.simple-video-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.simple-video-card:hover {
    transform: translateY(-2px);
}

/* Video thumbnail with A4-like aspect ratio */
.simple-video-thumbnail {
    position: relative;
    width: 200px;
    height: 283px; /* A4 aspect ratio (1:1.414) */
    flex-shrink: 0;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 16px 32px rgba(0, 102, 204, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
}

.simple-video-thumbnail:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 24px 48px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
}

.simple-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.simple-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simple-video-thumbnail:hover .simple-video-overlay {
    opacity: 1;
}

.simple-video-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    color: #0066cc;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-size: 1.5rem;
}

.simple-video-play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.simple-video-info {
    padding: 10px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.simple-video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 12px;
    line-height: 1.3;
}

.simple-video-description {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* Responsive design for simple video cards */
@media (max-width: 768px) {
    .simple-video-card {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .simple-video-thumbnail {
        width: 100%;
        max-width: 200px;
        height: 283px;
    }
    
    .simple-video-info {
        padding: 0 20px;
        text-align: center;
    }
    
    .simple-video-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .simple-video-card {
        gap: 15px;
    }
    
    .simple-video-thumbnail {
        width: 100%;
        max-width: 180px;
        height: auto;
        aspect-ratio: 1 / 1.414;
    }
    
    .simple-video-info {
        padding: 0 15px;
    }
    
    .simple-video-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Video Modal Styles */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.show {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10001;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-modal-player {
    width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Responsive video modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -45px;
        right: -5px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .video-modal-player {
        border-radius: 0;
    }
}

/* Society Image Component Styles */
.society-image-container {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.society-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    max-width: 100%;
}

.society-image-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
}

.society-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.society-image-wrapper:hover .society-image {
    transform: scale(1.02);
}

.society-image-caption {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
    padding: 10px 15px;
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 8px;
    line-height: 1.4;
}

/* Image positioning variants - using text-align and margin for proper centering */
.society-image-left {
    text-align: left;
}

.society-image-left .society-image-wrapper {
    margin-left: 0;
    margin-right: auto;
    max-width: 400px;
}

.society-image-right {
    text-align: right;
}

.society-image-right .society-image-wrapper {
    margin-left: auto;
    margin-right: 0;
    max-width: 400px;
}

.society-image-center {
    text-align: center;
}

.society-image-center .society-image-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

/* Image error state */
.society-image-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f5f5f5;
    color: #999;
    border-radius: 8px;
    min-height: 150px;
}

.society-image-error i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.society-image-error p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive design for society images */
@media (max-width: 768px) {
    .society-image-container {
        margin: 20px 0;
        gap: 10px;
    }
    
    .society-image-left .society-image-wrapper,
    .society-image-right .society-image-wrapper,
    .society-image-center .society-image-wrapper {
        max-width: 100%;
    }
    
    .society-image-left,
    .society-image-right {
        align-self: center;
    }
    
    .society-image-caption {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .society-image-container {
        margin: 15px 0;
    }
    
    .society-image-caption {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* Content Expander Styles */
.content-expander-btn {
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.content-expander-btn:hover {
    background: linear-gradient(135deg, #004c99, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.content-expander-btn i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.content-expander-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.expandable-content.expanded {
    max-height: 5000px;
    transition: max-height 0.8s ease-in;
}

.expandable-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
    margin: 0 !important;
}

.expandable-section.expanded {
    max-height: 10000px;
    opacity: 1;
    transition: max-height 0.8s ease-in, opacity 0.5s ease-in 0.2s;
    margin: 40px 0 !important;
}

/* Responsive expander button */
@media (max-width: 768px) {
    .content-expander-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .content-expander-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        gap: 8px;
    }
}

/* Posts Page Styles */

/* Login Required Section */
.login-required-section {
    background: #f8fbff;
    padding: 80px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-required-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.1);
    border: 2px solid rgba(0, 102, 204, 0.1);
    max-width: 500px;
    width: 100%;
}

.login-required-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.login-required-icon i {
    font-size: 2rem;
    color: white;
}

.login-required-card h2 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.login-required-card p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.login-required-btn {
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.login-required-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.login-required-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.login-required-btn:focus {
    outline: 2px solid rgba(77, 166, 255, 0.5);
    outline-offset: 2px;
}

/* Posts Header Section */
.posts-header-section {
    background: #e8f4fd;
    padding: 40px 0;
}

.posts-header-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
    text-align: center;
}

.posts-header-card h2 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.posts-header-card p {
    color: #666;
    font-size: 1rem;
}

/* Upload Interface Section */
.posts-upload-section {
    background: white;
    padding: 60px 0;
}

.upload-interface {
    max-width: 1200px;
    margin: 0 auto;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.upload-area {
    background: #f8fbff;
    border-radius: 20px;
    padding: 30px;
    border: 2px dashed rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
}

.upload-area.drag-over {
    border-color: #4da6ff;
    background: rgba(77, 166, 255, 0.05);
    transform: scale(1.02);
}

.upload-zone {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.upload-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.upload-icon i {
    font-size: 2rem;
    color: white;
}

.upload-zone h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.upload-zone p {
    color: #666;
    margin-bottom: 8px;
    font-size: 1rem;
}

.upload-formats {
    color: #4da6ff !important;
    font-size: 0.9rem !important;
    font-weight: 500;
    margin-bottom: 20px !important;
}

.upload-browse-btn {
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.upload-browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

/* File List Styles */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.file-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.file-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-icon i {
    color: white;
    font-size: 1.1rem;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.file-size {
    color: #888;
    font-size: 0.8rem;
}

.file-remove {
    background: #ff4757;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.file-remove:hover {
    background: #ff3742;
    transform: scale(1.1);
}

/* Image Preview Grid */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.image-preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    border: 2px solid rgba(0, 102, 204, 0.1);
    aspect-ratio: 1;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 71, 87, 0.9);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.image-remove:hover {
    background: #ff4757;
    transform: scale(1.1);
}

/* Content Input Section */
.content-input-section {
    background: #f8fbff;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.content-form .form-group {
    margin-bottom: 25px;
}

.content-form .form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.content-form input,
.content-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    font-family: inherit;
}

.content-form input:focus,
.content-form textarea:focus {
    outline: none;
    border-color: #4da6ff;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.post-submit-btn,
.post-clear-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-submit-btn {
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    color: white;
}

.post-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.post-clear-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
}

.post-clear-btn:hover {
    background: #ff4757;
    color: white;
    border-color: #ff4757;
}

/* Posts Display Section */
.posts-display-section {
    background: #e8f4fd;
    padding: 60px 0;
}

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

.posts-header h2 {
    color: #0066cc;
    font-size: 2rem;
    margin: 0;
}

.posts-controls {
    display: flex;
    gap: 10px;
}

.view-toggle-btn {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.view-toggle-btn.active,
.view-toggle-btn:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 30px;
}

.posts-grid.list-view {
    grid-template-columns: 1fr;
}

.post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
}

.post-header {
    padding: 25px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 0.85rem;
}

.post-meta i {
    color: #4da6ff;
}

.post-content {
    padding: 20px 25px;
}

.post-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-attachments {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post-files,
.post-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0066cc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-attachment {
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-attachment:hover {
    background: rgba(77, 166, 255, 0.1);
}

.file-attachment .file-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
}

.post-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.image-attachment {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-attachment:hover {
    transform: scale(1.05);
}

.image-attachment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-actions {
    padding: 20px 25px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.post-action-btn {
    background: none;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.post-action-btn.edit:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.post-action-btn.delete:hover {
    background: #ff4757;
    color: white;
    border-color: #ff4757;
}

/* Responsive Design for Posts */
@media (max-width: 768px) {
    .upload-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .posts-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .posts-header h2 {
        font-size: 1.6rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .post-submit-btn,
    .post-clear-btn {
        justify-content: center;
    }
    
    .login-required-card {
        padding: 40px 25px;
    }
    
    .posts-header-card,
    .content-input-section {
        padding: 25px;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .upload-zone {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .posts-upload-section {
        padding: 40px 0;
    }
    
    .posts-display-section {
        padding: 40px 0;
    }
    
    .upload-icon {
        width: 60px;
        height: 60px;
    }
    
    .upload-icon i {
        font-size: 1.5rem;
    }
    
    .upload-zone h3 {
        font-size: 1.2rem;
    }
    
    .image-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }
    
    .post-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 8px;
    }
}

/* New List View Layout for Posts */
.posts-list-view {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.12);
}

.post-header-info {
    background: #f8fbff;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.post-date-author {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.post-date i,
.post-author i {
    color: #4da6ff;
    font-size: 0.8rem;
}

.post-content-area {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.post-media-section {
    width: 100%;
    max-width: 1800px;
    flex-shrink: 0;
    margin: 0 auto;
}

.post-description-section {
    width: 100%;
    max-width: 1800px;
    text-align: left;
    padding-top: 25px;
    border-top: 2px solid rgba(0, 102, 204, 0.15);
    margin: 0 auto;
}

.post-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Image Grid Layouts */
.post-images-container {
    width: 100%;
    margin-bottom: 15px;
    overflow: visible;
}

.post-images-grid {
    display: grid;
    gap: 35px;
    border-radius: 12px;
    overflow: visible;
    justify-content: center;
    justify-items: center;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

.image-grid-single {
    grid-template-columns: 1fr;
}

.image-grid-two {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
}

.image-grid-four {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.post-image-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f5;
    width: 100%;
    max-width: 100%;
}

.post-image-item:hover {
    transform: scale(1.02);
    z-index: 2;
}

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

.post-image-item:hover img {
    transform: scale(1.05);
}

.post-image-item.has-overflow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
}

.image-overflow-counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 3;
    pointer-events: none;
}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10001;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10002;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    z-index: 10002;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

.modal-image-container {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.image-counter {
    color: #4da6ff;
    font-size: 0.9rem;
    font-weight: 600;
}

.image-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-align: center;
    max-width: 300px;
    word-break: break-word;
}

.no-posts-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-posts-message p {
    font-size: 1.1rem;
    color: #888;
}

/* Posts Description in Header */
.posts-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 8px;
    font-weight: 300;
}

/* Responsive Design for New Layout */
@media (max-width: 768px) {
    .post-content-area {
        flex-direction: column;
        gap: 20px;
    }
    
    .post-media-section {
        width: 100%;
        max-width: 100%;
    }
    
    .post-description-section {
        width: 100%;
        max-width: 100%;
    }
    
    .post-header-info {
        padding: 15px 20px;
    }
    
    .post-content-area {
        padding: 20px;
    }
    
    .post-date-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .modal-prev {
        left: -55px;
    }
    
    .modal-next {
        right: -55px;
    }
    
    .modal-close {
        top: -45px;
        right: -5px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .posts-list-view {
        gap: 20px;
    }
    
    .post-item {
        border-radius: 12px;
    }
    
    .post-header-info {
        padding: 12px 15px;
    }
    
    .post-content-area {
        padding: 15px;
        gap: 15px;
    }
    
    .post-description {
        font-size: 1rem;
    }
    
    .post-date,
    .post-author {
        font-size: 0.8rem;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modal-prev {
        left: -50px;
    }
    
    .modal-next {
        right: -50px;
    }
    
    .modal-close {
        top: -40px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-info {
        padding: 10px 15px;
        margin: 0 10px;
    }
    
    .image-counter,
    .image-name {
        font-size: 0.8rem;
    }
}

/* Handle very small modal navigation on mobile */
@media (max-width: 360px) {
    .modal-prev {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .modal-next {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
    }
}

/* Posts Controls Section */
.posts-controls-section {
    background: white;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.posts-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Search Control */
.search-control {
    order: -1;
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    border: 0;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
    pointer-events: none;
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: #ff3742;
    transform: translateY(-50%) scale(1.1);
}

/* Filter and Sort Controls */
.filter-sort-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: end;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.control-select {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    background: white;
    cursor: pointer;
}

.control-select:focus {
    outline: none;
    border-color: #4da6ff;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.clear-filters-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    white-space: nowrap;
}

.clear-filters-btn:hover {
    background: #ff4757;
    color: white;
    border-color: #ff4757;
    transform: translateY(-1px);
}

/* Posts Results Info */
.posts-results-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    font-size: 0.9rem;
    color: #666;
}

#postsCount {
    font-weight: 600;
    color: #0066cc;
}

#filterStatus {
    color: #888;
    font-style: italic;
}

/* Post Title Styling Updates */
.post-title-section {
    margin-bottom: 15px;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0066cc;
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Update post header layout */
.post-header-info {
    background: #f8fbff;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.post-date-author {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    margin-top: 5px;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.post-date i,
.post-author i {
    color: #4da6ff;
    font-size: 0.8rem;
}

/* Enhanced Image Grid Layout */
.post-media-section {
    width: 100%;
    max-width: 350px;
    flex-shrink: 0;
}

.post-images-container {
    width: 100%;
    margin-bottom: 15px;
    overflow: visible;
}

.post-images-grid {
    display: grid;
    gap: 35px;
    border-radius: 12px;
    overflow: visible;
    justify-content: center;
    justify-items: center;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

.image-grid-single {
    grid-template-columns: 1fr;
}

.image-grid-single .post-image-item {
    aspect-ratio: 16/9;
    max-height: 1400px;
    max-width: 2200px;
    min-width: 100%;
}

@media (min-width: 900px) {
    .image-grid-single .post-image-item {
        min-width: 900px;
    }
}

.image-grid-two {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
}

.image-grid-four {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.post-image-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f5;
    border-radius: 6px;
    width: 100%;
    max-width: 100%;
}

.post-image-item:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

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

.post-image-item:hover img {
    transform: scale(1.05);
}

.post-image-item.has-overflow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.image-overflow-counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 3;
    pointer-events: none;
}

/* Content Area Layout Updates */
.post-content-area {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-description-section {
    flex: 1;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 102, 204, 0.15);
}

.post-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Files section styling */
.post-files {
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.attachment-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0066cc;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.file-attachment {
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.file-attachment:hover {
    background: rgba(77, 166, 255, 0.1);
    border-color: #4da6ff;
    transform: translateY(-1px);
}

.file-attachment:last-child {
    margin-bottom: 0;
}

.file-attachment .file-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-attachment .file-icon i {
    color: white;
    font-size: 1rem;
}

.file-attachment .file-info {
    flex: 1;
    min-width: 0;
}

.file-attachment .file-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
    font-size: 0.95rem;
    word-break: break-word;
}

.file-attachment .file-size {
    color: #888;
    font-size: 0.8rem;
}

/* Enhanced responsive design for posts controls */
@media (max-width: 1024px) {
    .posts-controls-section {
        padding: 20px 0;
    }
    
    .filter-sort-controls {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .clear-filters-btn {
        grid-column: span 2;
        justify-self: center;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .posts-controls {
        gap: 15px;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .filter-sort-controls {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .clear-filters-btn {
        grid-column: span 1;
        max-width: none;
    }
    
    .post-content-area {
        padding: 20px;
        gap: 15px;
    }
    
    .post-media-section {
        max-width: none;
        order: -1;
    }
    
    .post-header-info {
        padding: 15px 20px;
    }
    
    .post-date-author {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .posts-controls-section {
        padding: 20px 0;
    }
    
    .posts-controls {
        gap: 12px;
    }
    
    .search-input {
        padding: 10px 40px 10px 40px;
        font-size: 0.95rem;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .search-icon {
        left: 12px;
        font-size: 0.95rem;
    }
    
    .clear-search {
        right: 8px;
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .control-select {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .clear-filters-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .posts-results-info {
        padding-top: 12px;
        font-size: 0.85rem;
    }
    
    .post-content-area {
        padding: 15px;
    }
    
    .post-header-info {
        padding: 12px 15px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .post-description {
        font-size: 1rem;
    }
    
    .post-date,
    .post-author {
        font-size: 0.8rem;
    }
    
    .file-attachment {
        padding: 10px 12px;
    }
    
    .file-attachment .file-icon {
        width: 30px;
        height: 30px;
    }
    
    .file-attachment .file-name {
        font-size: 0.9rem;
    }
}

/* Loading states for search/filter */
.posts-loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.posts-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===========================================
   ADMIN TAB NAVIGATION STYLES
   =========================================== */
.admin-tabs-section {
    background: linear-gradient(135deg, #0066cc, #004c99);
    padding: 15px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-tab {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-tab:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-tab.active {
    background: white;
    color: #0066cc;
    border-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-tab i {
    font-size: 1.2rem;
}

/* Tab Content Visibility */
.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

/* ===========================================
   INLINE POST EDITING STYLES
   =========================================== */
.post-editing {
    border: 2px solid #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
}

.post-editing-interface {
    padding: 20px;
}

.editing-images-row {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.editing-images-row h4 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.editing-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.editing-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.editing-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remove-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-image-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.editing-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.editing-form .form-group {
    margin-bottom: 20px;
}

.editing-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.edit-title-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.edit-title-input:focus {
    outline: none;
    border-color: #0066cc;
}

.edit-description-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

.edit-description-input:focus {
    outline: none;
    border-color: #0066cc;
}

.edit-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.save-edit-btn,
.cancel-edit-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.save-edit-btn {
    background: #28a745;
    color: white;
}

.save-edit-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.save-edit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.cancel-edit-btn {
    background: #6c757d;
    color: white;
}

.cancel-edit-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* ===========================================
   ENHANCED EDITING FILE MANAGEMENT STYLES
   =========================================== */

/* Files Row in Editing Mode */
.editing-files-row {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.editing-files-row h4 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.editing-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.editing-file-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.editing-file-item:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.editing-file-item .file-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.editing-file-item .file-icon i {
    color: white;
    font-size: 1rem;
}

.editing-file-item .file-info {
    flex: 1;
    min-width: 0;
}

.editing-file-item .file-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
    font-size: 0.95rem;
    word-break: break-word;
}

.editing-file-item .file-size {
    color: #6c757d;
    font-size: 0.8rem;
}

.remove-file-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remove-file-btn:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Upload Sections in Editing Mode */
.editing-upload-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8fbff;
    border: 2px dashed #b8daff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.editing-upload-section.drag-over {
    border-color: #0066cc;
    background: rgba(0, 102, 204, 0.05);
    transform: scale(1.01);
}

.editing-upload-section h5 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editing-upload-section h5 i {
    font-size: 1.1rem;
}

.upload-area {
    text-align: center;
    padding: 30px 20px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: #0066cc;
    background: rgba(0, 102, 204, 0.02);
    transform: translateY(-2px);
}

.upload-area i {
    font-size: 2rem;
    color: #0066cc;
    margin-bottom: 10px;
    display: block;
}

.upload-area p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.upload-area .upload-formats {
    color: #4da6ff;
    font-size: 0.85rem;
    font-weight: 500;
}

.upload-browse-btn {
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.upload-browse-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* File Input Hidden */
.editing-file-input {
    display: none;
}

/* Upload Progress Indicator */
.upload-progress {
    margin-top: 15px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.upload-progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #0066cc, #4da6ff);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.upload-progress-text {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

/* Editing State Indicators */
.editing-modified-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffc107;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design for Enhanced Editing */
@media (max-width: 768px) {
    .editing-files-row,
    .editing-upload-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .editing-file-item {
        padding: 10px 12px;
    }
    
    .editing-file-item .file-icon {
        width: 30px;
        height: 30px;
    }
    
    .upload-area {
        padding: 20px 15px;
    }
    
    .upload-area i {
        font-size: 1.5rem;
    }
    
    .editing-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .editing-files-row,
    .editing-upload-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .editing-file-item {
        padding: 8px 10px;
        gap: 10px;
    }
    
    .editing-file-item .file-name {
        font-size: 0.9rem;
    }
    
    .editing-file-item .file-size {
        font-size: 0.75rem;
    }
    
    .remove-file-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .upload-area {
        padding: 15px 10px;
    }
    
    .upload-area i {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .upload-area p {
        font-size: 0.9rem;
    }
    
    .editing-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .editing-image-item {
        aspect-ratio: 1;
    }
}

/* ===========================================
   USER MANAGEMENT STYLES
   =========================================== */
.users-header-section {
    padding: 30px 0;
}

.users-header-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.users-header-card h2 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 2rem;
}

.users-header-card p {
    color: #666;
    font-size: 1.1rem;
}

/* Add User Section */
.add-user-section {
    padding: 30px 0;
}

.add-user-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.add-user-card h3 {
    color: #0066cc;
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-user-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.add-user-form .form-group {
    display: flex;
    flex-direction: column;
}

.add-user-form label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.add-user-form input,
.add-user-form select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.add-user-form input:focus,
.add-user-form select:focus {
    outline: none;
    border-color: #0066cc;
}

.add-user-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

.add-user-btn,
.clear-user-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.add-user-btn {
    background: #28a745;
    color: white;
}

.add-user-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.clear-user-btn {
    background: #6c757d;
    color: white;
}

.clear-user-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Users List Section */
.users-list-section {
    padding: 30px 0 50px 0;
}

.users-list-header {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.users-list-header h3 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.users-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-user {
    display: flex;
    flex: 1;
    min-width: min(100%, 250px);
}

.search-user input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.search-user input:focus {
    outline: none;
    border-color: #0066cc;
}

.search-user-btn {
    padding: 10px 20px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-user-btn:hover {
    background: #004c99;
}

.filter-user select {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.filter-user select:focus {
    outline: none;
    border-color: #0066cc;
}

/* Users Grid */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 25px;
}

.no-users-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.no-users-message p {
    color: #666;
    font-size: 1.2rem;
}

/* User Card */
.user-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.user-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #004c99);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar i {
    font-size: 30px;
    color: white;
}

.user-info {
    flex: 1;
}

.user-name {
    color: #333;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.user-email {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.user-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.user-permission,
.user-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-permission.admin {
    background: #ffc107;
    color: #856404;
}

.user-permission.member {
    background: #17a2b8;
    color: white;
}

.user-status.active {
    background: #d4edda;
    color: #155724;
}

.user-status.inactive {
    background: #f8d7da;
    color: #721c24;
}

.user-details {
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
}

.user-detail {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.95rem;
}

.user-detail strong {
    color: #333;
    display: inline-block;
    min-width: 150px;
}

.user-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.user-action-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.user-action-btn.edit {
    background: #17a2b8;
    color: white;
}

.user-action-btn.edit:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.user-action-btn.toggle.activate {
    background: #28a745;
    color: white;
}

.user-action-btn.toggle.activate:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.user-action-btn.toggle.deactivate {
    background: #ffc107;
    color: #856404;
}

.user-action-btn.toggle.deactivate:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.user-action-btn.delete {
    background: #dc3545;
    color: white;
}

.user-action-btn.delete:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Responsive Design for User Management */
/* ===========================================
   USER EDITING INTERFACE STYLES
   =========================================== */
.user-editing {
    border: 2px solid #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
}

.user-editing-interface {
    padding: 20px;
    background: #f8fbff;
    border-radius: 10px;
    margin: 20px;
}

.user-editing-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-editing-form .form-group {
    margin-bottom: 20px;
}

.user-editing-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.user-editing-form input,
.user-editing-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.user-editing-form input:focus,
.user-editing-form select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.user-editing-form input[readonly] {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.user-editing-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.user-edit-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.save-user-btn,
.cancel-user-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.save-user-btn {
    background: #28a745;
    color: white;
}

.save-user-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.save-user-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.cancel-user-btn {
    background: #6c757d;
    color: white;
}

.cancel-user-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.user-editing-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.user-editing-header h3 {
    color: #0066cc;
    font-size: 1.4rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-editing-header i {
    font-size: 1.2rem;
}

/* User Editing Modified Indicator */
.user-editing-modified-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffc107;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

/* Responsive Design for User Editing */
@media (max-width: 768px) {
    .user-editing-interface {
        margin: 15px;
        padding: 15px;
    }
    
    .user-editing-form {
        padding: 20px;
    }
    
    .user-editing-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .user-edit-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .save-user-btn,
    .cancel-user-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .user-editing-interface {
        margin: 10px;
        padding: 12px;
    }
    
    .user-editing-form {
        padding: 15px;
    }
    
    .user-editing-header h3 {
        font-size: 1.2rem;
    }
    
    .user-editing-form input,
    .user-editing-form select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .save-user-btn,
    .cancel-user-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* ===========================================
   RESPONSIVE DESIGN FOR USER MANAGEMENT
   =========================================== */
@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab {
        width: 100%;
        justify-content: center;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
    }
    
    .users-controls {
        flex-direction: column;
    }
    
    .search-user {
        width: 100%;
    }
    
    .add-user-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .user-actions {
        flex-direction: column;
    }
    
    .user-action-btn {
        width: 100%;
    }
}

/* Video Filter Enhancements */
.filter-controls {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 20px 0;
}

.filter-left {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.filter-right {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    max-width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}

.filter-group.search-group {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.filter-group.tag-filter-group {
    max-width: 350px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

/* Tag Selector Styles */
.tag-selector-container {
    position: relative;
    min-width: 200px;
    max-width: 350px;
    width: 100%;
}

.tag-selector-input {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 8px 40px 8px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    min-height: 46px;
    cursor: text;
    transition: border-color 0.3s ease;
    position: relative;
    overflow: visible;
}

.tag-selector-input:focus-within {
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(48, 150, 239, 0.1);
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #3096ef;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 1;
    border: 0px;
}

.category-tag.overflow-indicator {
    background: #0066cc;
    cursor: pointer;
    user-select: none;
}

.category-tag .remove-tag {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.category-tag .remove-tag:hover {
    opacity: 1;
}

#categorySearchInput,
#videoTagSearchInput {
    flex: 1;
    min-width: 80px;
    border: none;
    outline: none;
    padding: 4px 4px 4px 0;
    font-size: 0.95rem;
    text-align: left;
}

#categorySearchInput::placeholder {
    color: #999;
    text-align: left;
}

#categorySearchInput::-webkit-input-placeholder {
    text-align: left;
}

#categorySearchInput::-moz-placeholder {
    text-align: left;
}

#categorySearchInput:-ms-input-placeholder {
    text-align: left;
}

.dropdown-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.dropdown-toggle:hover {
    color: #3096ef;
}

.tag-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
}

.tag-dropdown-option {
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.95rem;
}

.tag-dropdown-option:hover {
    background-color: #f5f5f5;
}

.tag-dropdown-option.selected {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

.tag-dropdown-option:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tag-dropdown-option:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

#videoSortSelect {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: white;
    cursor: pointer;
    min-width: 200px;
    max-width: 300px;
    transition: border-color 0.3s ease;
}

#videoSortSelect:focus {
    outline: none;
    border-color: #3096ef;
}

#videoSearchInput {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

#videoSearchInput:focus {
    outline: none;
    border-color: #3096ef;
    box-shadow: 0 0 0 3px rgba(48, 150, 239, 0.1);
}

#videoSearchInput::placeholder {
    color: #999;
}

.admin-buttons {
    display: flex;
    align-items: flex-end;
    padding-top: 28px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .filter-controls {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-left {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .filter-right {
        width: 100%;
        flex-direction: column;
    }
    
    .filter-group.search-group {
        max-width: 100%;
    }
    
    .tag-selector-container,
    #videoSortSelect {
        min-width: 100%;
        max-width: 100%;
    }
    
    .tag-selector-input {
        padding: 6px 35px 6px 6px;
        min-height: 42px;
    }
    
    .category-tag {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
    
    .dropdown-toggle {
        right: 6px;
        padding: 3px 6px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .tag-selector-container {
        min-width: 100%;
        max-width: 100%;
    }
    
    .tag-selector-input {
        padding: 5px 30px 5px 5px;
        min-height: auto;
        gap: 4px;
    }
    
    .selected-tags {
        gap: 4px;
    }
    
    .category-tag {
        font-size: 0.75rem;
        padding: 2px 5px;
        gap: 4px;
    }
    
    .category-tag .remove-tag {
        width: 14px;
        height: 14px;
        font-size: 0.9rem;
    }
    
    .dropdown-toggle {
        right: 5px;
        padding: 2px 5px;
        font-size: 0.8rem;
    }
    
    #categorySearchInput {
        min-width: 80px;
        font-size: 0.9rem;
        padding: 3px 3px 3px 0;
    }
    
    .tag-dropdown {
        font-size: 0.9rem;
    }
    
    .tag-dropdown-option {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tag-selector-input {
        padding: 4px 28px 4px 4px;
        gap: 3px;
    }
    
    .selected-tags {
        gap: 3px;
    }
    
    .category-tag {
        font-size: 0.7rem;
        padding: 2px 4px;
        gap: 3px;
    }
    
    .category-tag .remove-tag {
        width: 12px;
        height: 12px;
        font-size: 0.8rem;
    }
    
    .dropdown-toggle {
        right: 4px;
        padding: 2px 4px;
        font-size: 0.75rem;
    }
    
    #categorySearchInput {
        min-width: 60px;
        font-size: 0.85rem;
    }
    
    .tag-dropdown-option {
        padding: 6px 8px;
        font-size: 0.85rem;
    }
}

/* Latest News Section Styles */
.latest-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-news-item {
    display: flex;
    gap: 20px;
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.latest-news-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* transform: translateY(-2px); */
    border-color: #b4d9f9;
}

.latest-news-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

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

.latest-news-item:hover .latest-news-image img {
    transform: scale(1.05);
}

.latest-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.latest-news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0066cc;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-preview {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: auto;
}

.latest-news-author,
.latest-news-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-news-author i,
.latest-news-date i {
    color: #4da6ff;
    font-size: 0.8rem;
}

/* Login prompt for latest news */
.latest-news-login-prompt {
    text-align: center;
    padding: 40px 20px;
    background: #f8fbff;
    border: 1px solid rgba(0, 102, 204, 0.1);
    border-radius: 12px;
}

.latest-news-login-prompt i {
    font-size: 2.5rem;
    color: #b4d9f9;
    margin-bottom: 15px;
    display: block;
}

.latest-news-login-prompt p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
}

.latest-news-login-btn {
    background: #3096ef;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.latest-news-login-btn:hover {
    background: #0066cc;
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.3);
}

/* Loading state for latest news */
.latest-news-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.latest-news-loading i {
    font-size: 2rem;
    color: #3096ef;
    animation: spin 1s linear infinite;
}

/* No posts message */
.latest-news-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-style: italic;
}

/* Responsive design for latest news */
@media (max-width: 768px) {
    .latest-news-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .latest-news-image {
        width: 100%;
        height: 200px;
    }
    
    .latest-news-title {
        font-size: 1rem;
    }
    
    .latest-news-preview {
        font-size: 0.85rem;
    }
    
    .latest-news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .latest-news-list {
        gap: 15px;
    }
    
    .latest-news-item {
        padding: 12px;
    }
    
    .latest-news-image {
        height: 150px;
    }
    
    .latest-news-title {
        font-size: 0.95rem;
    }
    
    .latest-news-preview {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
    }
    
    .latest-news-meta {
        font-size: 0.8rem;
    }
}


/* News Detail Pages Styling */
.news-detail-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #3096ef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0066cc;
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

.news-article {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-header {
    padding: 40px 40px 20px;
    border-bottom: 2px solid #f0f0f0;
}

.article-title {
    font-size: 2.5rem;
    color: #0066cc;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.95rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: #3096ef;
}

.article-content {
    padding: 40px;
}

.article-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #0066cc;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #3096ef;
}

.content-section p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.content-section a {
    color: #3096ef;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.topic-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3096ef;
    transition: all 0.3s ease;
}

.topic-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(48, 150, 239, 0.1);
}

.topic-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3096ef 0%, #0066cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.topic-content h3 {
    color: #0066cc;
    font-size: 1.3rem;
    margin: 0 0 12px 0;
}

.topic-content p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.sub-topics {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.sub-topics li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.sub-topics li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #3096ef;
    font-weight: bold;
}

.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
    border: 2px solid #3096ef;
    border-radius: 12px;
    padding: 30px;
}

.highlight-box h2 {
    color: #0066cc;
    border-bottom: none;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.highlight-box li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 500;
}

.highlight-box li i {
    color: #28a745;
    font-size: 1.2rem;
}

.webinar-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 2px solid #e3f2fd;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #3096ef;
    box-shadow: 0 4px 12px rgba(48, 150, 239, 0.1);
}

.info-item i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #e3f2fd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3096ef;
    font-size: 1.3rem;
}

.info-item strong {
    color: #0066cc;
    display: block;
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
    color: #666;
}

.training-schedule {
    margin-top: 25px;
}

.training-schedule h3 {
    color: #0066cc;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(180deg, #3096ef 0%, #0066cc 100%);
}

.timeline-item {
    position: relative;
    padding: 15px 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -32px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #3096ef;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #3096ef;
}

.timeline-date {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 5px;
}

.timeline-content {
    color: #666;
}

.article-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3096ef 0%, #0066cc 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 150, 239, 0.4);
}

.btn-secondary {
    background: white;
    color: #3096ef;
    border: 2px solid #3096ef;
}

.btn-secondary:hover {
    background: #3096ef;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 150, 239, 0.2);
}

.related-news {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.related-news h2 {
    color: #0066cc;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #3096ef;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.related-news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-left: 4px solid #3096ef;
}

.related-news-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(48, 150, 239, 0.1);
}

.related-news-item i {
    font-size: 1.8rem;
    color: #3096ef;
}

.related-news-item span {
    font-weight: 500;
    color: #0066cc;
}

/* Make news slides clickable */
.news-slide {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Removed upward transform on hover */
/* .news-slide:hover .news-overlay {
    transform: translateY(-5px);
} */

/* .news-slide:hover .news-more {
    background: #0066cc;
    transform: scale(1.05);
} */

/* Responsive Design for News Detail Pages */
@media (max-width: 768px) {
    .news-detail-page {
        margin: 20px auto;
    }

    .article-header {
        padding: 30px 20px 15px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-content {
        padding: 20px;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .topic-item {
        flex-direction: column;
        padding: 20px;
    }

    .topic-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .article-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .webinar-info-box {
        grid-template-columns: 1fr;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline:before {
        left: 10px;
    }

    .timeline-item:before {
        left: -25px;
    }
}
/* Cache buster 1763413576 */

/* ===== Cookie Consent Banner ===== */
.cookie-consent-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cookie-consent-backdrop.show {
    opacity: 1;
    pointer-events: all;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 500px;
    width: calc(100% - 40px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-content {
    padding: 24px;
}

.cookie-consent-header {
    margin-bottom: 16px;
}

.cookie-consent-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #0066cc;
    font-weight: 600;
}

.cookie-consent-description {
    margin: 0 0 20px 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-categories {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-category {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #3096ef;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.cookie-category-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3096ef;
}

.cookie-category-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-category-header label {
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    user-select: none;
    flex: 1;
}

.cookie-category-header input[type="checkbox"]:disabled + label {
    cursor: not-allowed;
}

.cookie-category-desc {
    margin: 0;
    padding-left: 28px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    align-items: center;
    padding-top: 5px;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cookie-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cookie-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cookie-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(48, 150, 239, 0.3);
}

.cookie-btn-accept-all {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    flex: 1;
    min-width: 140px;
    font-weight: 700;
}

.cookie-btn-accept-all:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.cookie-btn-accept-all:focus {
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.4);
}

.cookie-btn-accept-selected {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    flex: 1;
    min-width: 140px;
    font-weight: 700;
}

.cookie-btn-accept-selected:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
}

.cookie-btn-accept-selected:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.4);
}

.cookie-btn-reject {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    color: white;
    flex: 1;
    min-width: 140px;
    font-weight: 700;
}

.cookie-btn-reject:hover {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    box-shadow: 0 8px 25px rgba(113, 128, 150, 0.4);
}

.cookie-btn-reject:focus {
    box-shadow: 0 0 0 3px rgba(113, 128, 150, 0.4);
}

.cookie-more-info {
    color: #3096ef;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.cookie-more-info:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-consent-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        width: 100%;
        border-radius: 12px 12px 0 0;
        margin: 0;
    }
    
    .cookie-consent-content {
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .cookie-consent-header h3 {
        font-size: 1.3rem;
    }
    
    .cookie-consent-description {
        font-size: 0.9rem;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-more-info {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 16px;
    }
    
    .cookie-consent-header h3 {
        font-size: 1.2rem;
    }
    
    .cookie-consent-description {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}
