 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: #F8F9FA;
            overflow-x: hidden;
        }

        /* Sidebar */
        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 240px;
            height: 100vh;
            background: #FFFFFF;
            z-index: 1000;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 0;
        }

        .sidebar-top {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .logo {
            background: #2288A1;
            color: white;
            font-size: 17px;
            font-weight: 600;
            padding: 30px 20px;
            letter-spacing: 2px;
            margin: 0;
        }

        .nav-item {
            margin: 20px;
            padding: 15px 20px;
            background: transparent;
            border-radius: 12px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .nav-item.active {
            background: #6366F1;
            color: white;
        }

        .nav-item:hover {
            background: #5855EB;
            color: white;
        }

        .nav-icon {
            width: 24px;
            height: 24px;
            background: transparent;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-item.active .nav-icon {
            background: white;
        }

        .nav-icon::before {
            content: "⚏";
            color: #666;
            font-size: 16px;
        }

        .nav-item.active .nav-icon::before {
            color: #6366F1;
        }

        .settings-item {
            margin: 20px;
            padding: 15px 20px;
            color: #666;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            border-radius: 12px;
            transition: background 0.3s ease;
        }

        .settings-item:hover {
            background: #5855EB;
            color: white;
        }

        .settings-icon::before {
            content: "⚙";
            font-size: 20px;
        }

        /* Support Card */
        .support-card {
            width: 200px;
            background: rgba(255, 117, 32, 0.05);
            border: 1px solid rgba(255, 117, 32, 0.5);
            border-radius: 16px;
            text-align: center;
            margin: 20px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            position: relative;
        }

        .support-icon {
            width: 66px;
            height: 66px;
            background: #FF7520;
            border: 3px solid rgba(255, 117, 32, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
        }

        .support-icon::before {
            content: "🎧";
        }

        .support-title {
            font-size: 20px;
            font-weight: 600;
            margin: 10px 0 5px 0;
            color: #292D32;
        }

        .support-description {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 12px;
            line-height: 18px;
            text-align: center;
            color: #292D32;
            opacity: 0.6;
            margin-bottom: 15px;
        }

        .contact-frame {
            width: 100%;
            text-align: left;
            margin-bottom: 8px;
        }

        .contact-label {
            font-size: 12px;
            color: #1D103C;
            opacity: 0.5;
        }

        .contact-value-phone,
        .contact-value-email {
            font-size: 12px;
            font-weight: 500;
            color: #1D103C;
            word-break: break-word;
            white-space: nowrap;
            overflow-wrap: normal;
        }

        /* Main Content */
        .main-content {
            margin-left: 240px;
            min-height: 100vh;
            background-color: #F8F9FA;
        }

        /* Header */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 30px;
            height: 80px;
            background: #F8F9FA;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .page-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 22px;
            color: #292D32;
        }

        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .login-btn, .signup-btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
        }

        .login-btn {
            background: white;
            color: #6366F1;
            border: 1px solid #6366F1;
        }

        .login-btn:hover {
            background: #f0f0ff;
        }

        .signup-btn {
            background: #6366F1;
            color: white;
        }

        .signup-btn:hover {
            background: #5855EB;
        }

        .user-account {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            background: white;
            border-radius: 20px;
            padding: 5px 15px;
            box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
            height: 40px;
        }

        .user-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(45deg, #6366F1, #8B5CF6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 12px;
        }

        .user-info {
            flex: 1;
        }

        .user-name {
            font-size: 14px;
            font-weight: 600;
            color: #292D32;
        }

        .dropdown-arrow {
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 4px solid #666;
        }

        /* Mobile Header */
        .mobile-header {
            display: none;
        }

        .mobile-search-bar {
            display: none;
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            display: none;
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100%;
            background: white;
            z-index: 10000;
            transition: right 0.3s ease;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            background: #2288A1;
            color: white;
            padding: 20px;
            font-size: 18px;
            font-weight: 600;
        }

        .mobile-menu-items {
            padding: 20px 0;
        }

        .mobile-menu-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 20px;
            color: #292D32;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .mobile-menu-item:hover {
            background: #f5f5f5;
        }

        .mobile-menu-item.active {
            background: #6366F1;
            color: white;
        }

        .mobile-menu-item-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .mobile-support-details {
            display: none;
            padding: 20px;
            background: rgba(255, 117, 32, 0.05);
            border: 1px solid rgba(255, 117, 32, 0.3);
            border-radius: 12px;
            margin: 10px 20px;
        }

        .mobile-support-details.active {
            display: block;
        }

        .mobile-support-content {
            text-align: center;
        }

        .mobile-support-icon {
            width: 60px;
            height: 60px;
            background: #FF7520;
            border: 3px solid rgba(255, 117, 32, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
            margin: 0 auto 15px;
        }

        .mobile-support-icon::before {
            content: "🎧";
        }

        .mobile-support-title {
            font-size: 18px;
            font-weight: 600;
            color: #292D32;
            margin-bottom: 10px;
        }

        .mobile-support-description {
            font-size: 13px;
            color: #292D32;
            opacity: 0.7;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .mobile-contact-info {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .mobile-contact-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }

        .mobile-contact-label {
            font-size: 12px;
            color: #1D103C;
            opacity: 0.5;
            margin-bottom: 3px;
        }

        .mobile-contact-value {
            font-size: 13px;
            font-weight: 600;
            color: #1D103C;
        }

        /* Content Rectangle */
        .content-rectangle {
            background: #FFFFFF;
            border: 1px solid rgba(84, 89, 95, 0.1);
            border-radius: 15px;
            box-shadow: 0px 4px 26px rgba(28, 14, 61, 0.04);
            margin: 20px 30px;
            min-height: calc(100vh - 140px);
            overflow-y: auto;
        }

        /* Settings Content */
        .settings-content {
            background: #FFFFFF;
            border-radius: 15px;
            margin: 20px 30px;
            min-height: calc(100vh - 140px);
            padding: 30px;
            display: none;
        }

        .profile-section {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(84, 89, 95, 0.1);
        }

        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(45deg, #6366F1, #8B5CF6);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 24px;
            position: relative;
            overflow: hidden;
        }

        .profile-info h2 {
            font-size: 24px;
            font-weight: 600;
            color: #292D32;
            margin-bottom: 5px;
        }

        .profile-info p {
            color: #666;
            font-size: 14px;
        }

        .form-section {
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: #292D32;
            margin-bottom: 20px;
        }

        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            flex: 1;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #292D32;
            margin-bottom: 8px;
        }

        .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid rgba(84, 89, 95, 0.2);
            border-radius: 8px;
            font-size: 14px;
            font-family: 'Poppins', sans-serif;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus {
            border-color: #6366F1;
        }

        .password-section {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 12px;
            margin-bottom: 30px;
        }

        .save-button {
            background: #6366F1;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s ease;
            float: right;
        }

        .save-button:hover {
            background: #5855EB;
        }

        /* Search and Filter Bar */
        .search-filter-bar {
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(84, 89, 95, 0.1);
            position: sticky;
            top: 0;
            background: white;
            z-index: 10;
        }

        .search-container {
            width: 437px;
            height: 45px;
            position: relative;
        }

        .search-input {
            width: 100%;
            height: 100%;
            border: 1px solid rgba(84, 89, 95, 0.1);
            border-radius: 8px;
            padding: 0 40px 0 15px;
            font-size: 14px;
            outline: none;
            background: white;
        }

        .search-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
        }

        .filter-container {
            width: 160px;
            height: 45px;
        }

        .filter-button {
            width: 100%;
            height: 100%;
            border: 1px solid rgba(84, 89, 95, 0.1);
            border-radius: 8px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            font-size: 14px;
            color: #666;
        }

        /* Grid Container */
        .grid-container {
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative;
            cursor: pointer;
        }

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

        /* Modal Overlay for Card Popup */
        .card-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease;
        }

        .card-modal-overlay.active {
            display: flex;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

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

        /* Enlarged Card in Modal */
        .card-modal {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 900px;
            width: 85%;
            max-height: 85vh;
            animation: popIn 0.3s ease;
            position: relative;
        }

        /* Enlarged Card Media */
        .card-modal .card-media-container {
            height: calc(85vh - 200px);
            max-height: 500px;
        }

        .card-modal .card-content {
            padding: 25px 30px;
        }

        .card-modal .card-title {
            font-size: 24px;
            font-weight: 600;
            color: #292D32;
            margin-bottom: 15px;
        }

        .card-modal .view-details-btn {
            padding: 12px 30px;
            font-size: 15px;
            font-weight: 600;
        }

        /* Enable video controls in modal */
        .card-modal .card-video {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .card-modal .card-video::-webkit-media-controls {
            display: flex !important;
        }

        .card-modal .card-video::-webkit-media-controls-panel {
            background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
        }

        /* Hide play indicator and thumbnail in modal when video is present */
        .card-modal .video-play-indicator {
            display: none;
        }

        .card-modal .video-thumbnail {
            display: none;
        }

        /* Close button for modal (optional - click outside works) */
        .card-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #333;
            z-index: 10;
            transition: all 0.2s ease;
            box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
        }

        .card-modal-close:hover {
            background: white;
            transform: scale(1.1);
        }

        /* Card media container for consistent dimensions */
        .card-media-container {
            width: 100%;
            height: 180px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(45deg, #6366F1, #8B5CF6);
        }
        
        /* Video container specific styling */
        .video-container {
            position: relative;
            cursor: pointer;
        }
        
        /* Images and videos inside cards should fill the card's width and preserve aspect ratio */
        .card-image,
        .card img,
        .card-video,
        .card video {
            display: block;
            width: 100%;
            height: 100%;
            max-width: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease;
        }
        
        /* Video thumbnail styling */
        .video-thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 2;
            opacity: 1;
        }
        
        /* Video element styling */
        .card-video {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
            width: 100%;
            height: 100%;
            object-position: center;
        }
        
        /* Video play indicator */
        .video-play-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3;
            opacity: 0.7;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        .video-play-indicator span {
            color: white;
            font-size: 24px;
        }
        
        /* Hover effects for video container */
        .video-container:hover .video-thumbnail {
            opacity: 0;
        }
        
        .video-container:hover .video-play-indicator {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.8);
        }
        
        /* Video controls styling */
        .card-video::-webkit-media-controls {
            display: none;
        }
        
        .card-video:focus {
            outline: none;
        }

        .card-content {
            padding: 15px;
        }

        .card-title {
            font-size: 14px;
            font-weight: 600;
            color: #292D32;
            margin-bottom: 10px;
        }

        .view-details-btn {
            width: 100%;
            padding: 8px 16px;
            border: 1px solid #6366F1;
            background: white;
            color: #6366F1;
            border-radius: 6px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .view-details-btn:hover {
            background: #6366F1;
            color: white;
        }

        .dashboard-content {
            display: block;
        }

        .dashboard-content.hidden {
            display: none;
        }

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

        /* Mobile Responsive Design */
        @media (max-width: 768px) {
            .sidebar {
                display: none;
            }

            .main-content {
                margin-left: 0;
                width: 100%;
            }

            .header {
                display: none;
            }

            .mobile-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 15px 20px;
                background: white;
                border-bottom: 1px solid #e0e0e0;
                position: sticky;
                top: 0;
                z-index: 100;
            }

            .mobile-logo {
                font-family: 'Poppins', sans-serif;
                font-weight: 600;
                font-size: 20px;
                color: #2288A1;
                letter-spacing: 1px;
            }

            .mobile-header-right {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .mobile-auth-buttons {
                display: flex;
                gap: 8px;
            }

            .mobile-login-btn, .mobile-signup-btn {
                padding: 6px 12px;
                border-radius: 6px;
                font-size: 12px;
                font-weight: 500;
                cursor: pointer;
                transition: all 0.3s ease;
                border: none;
            }

            .mobile-login-btn {
                background: white;
                color: #6366F1;
                border: 1px solid #6366F1;
            }

            .mobile-signup-btn {
                background: #6366F1;
                color: white;
            }

            .mobile-user-account {
                background: white;
                border-radius: 50%;
                padding: 5px;
                cursor: pointer;
                box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
            }

            .mobile-user-avatar {
                width: 28px;
                height: 28px;
                border-radius: 50%;
                background: linear-gradient(45deg, #6366F1, #8B5CF6);
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: 600;
                font-size: 11px;
            }

            .hamburger-menu {
                width: 30px;
                height: 30px;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                cursor: pointer;
                padding: 5px;
            }

            .hamburger-line {
                width: 100%;
                height: 3px;
                background: #333;
                transition: all 0.3s ease;
            }

            .mobile-search-bar {
                display: none;
            }

            .mobile-search-input {
                display: none;
            }

            .content-rectangle {
                margin: 0;
                min-height: calc(100vh - 140px);
                border-radius: 0;
                border: none;
                box-shadow: none;
                padding: 0;
            }

            .settings-content {
                margin: 15px;
                padding: 20px;
                border-radius: 10px;
            }

            .profile-section {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .form-row {
                flex-direction: column;
                gap: 15px;
            }

            .save-button {
                width: 100%;
                float: none;
            }

            .search-filter-bar {
                padding: 15px 20px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 10px;
                flex-wrap: nowrap;
            }

            .search-container {
                flex: 1;
                width: auto;
                min-width: 0;
            }

            .search-input {
                width: 100%;
                padding: 10px 35px 10px 12px;
                font-size: 13px;
            }

            .filter-container {
                width: 80px;
                height: 40px;
                flex-shrink: 0;
            }

            .filter-button {
                height: 40px;
                font-size: 13px;
                padding: 0 10px;
            }

            .grid-container {
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 0;
                grid-template-columns: none;
            }

            .card {
                width: 100%;
                border-radius: 0;
                box-shadow: none;
                margin: 0;
                border-bottom: 1px solid #e0e0e0;
            }

            .card-media-container {
                height: 200px;
                width: 100%;
                overflow: hidden;
                position: relative;
            }
            
            /* Mobile video container adjustments */
            .video-container {
                position: relative;
            }
            
            .card-image,
            .card img,
            .card-video,
            .card video {
                height: 100%;
                width: 100%;
                max-width: 100%;
                display: block;
                object-fit: cover;
                margin: 0;
                padding: 0;
            }
            
            /* Mobile video play indicator adjustments */
            .video-play-indicator {
                width: 60px;
                height: 60px;
            }
            
            .video-play-indicator span {
                font-size: 30px;
            }
            
            /* For touch devices, make play indicator always visible */
            @media (hover: none) {
                .video-play-indicator {
                    opacity: 0.9;
                }
                
                /* On touch devices, we'll use JavaScript to toggle thumbnail visibility */
                .video-container.playing .video-thumbnail {
                    opacity: 0;
                }
                
                .video-container.playing .video-play-indicator {
                    opacity: 0;
                }
            }

            .card-content {
                padding: 12px;
            }

            .card-title {
                font-size: 14px;
                margin-bottom: 8px;
            }

            .view-details-btn {
                padding: 10px 16px;
                font-size: 14px;
                border-radius: 6px;
                font-weight: 500;
            }

            .mobile-nav-indicator {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                height: 60px;
                background: white;
                border-top: 1px solid #e0e0e0;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1000;
            }

            .nav-dots {
                display: flex;
                gap: 8px;
                align-items: center;
            }

            .nav-dot {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #ccc;
            }

            .nav-dot.active {
                background: #2288A1;
                width: 20px;
                border-radius: 4px;
            }

            .content-rectangle, .settings-content {
                margin-bottom: 70px;
            }

            /* Modal adjustments for mobile */
            .card-modal {
                max-width: 98%;
                width: 98%;
                max-height: 90vh;
            }

            .card-modal .card-media-container {
                height: 350px;
            }

            .card-modal .card-content {
                padding: 20px;
            }

            .card-modal .card-title {
                font-size: 20px;
                margin-bottom: 15px;
            }

            .card-modal .view-details-btn {
                padding: 12px 20px;
                font-size: 14px;
            }

            .card-modal-close {
                width: 35px;
                height: 35px;
                font-size: 20px;
                top: 10px;
                right: 10px;
            }
        }

        @media (max-width: 1024px) and (min-width: 769px) {
            .sidebar {
                width: 200px;
            }

            .main-content {
                margin-left: 200px;
            }

            .content-rectangle, .settings-content {
                margin: 15px 20px;
            }

            .search-container {
                width: 300px;
            }

            .grid-container {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
        }