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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f9fafb;
            min-height: 100vh;
        }

        /* Header */
        .header {
            background-color: white;
            border-bottom: 1px solid #e5e7eb;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        }

        .header-content {
            max-width: 1280px;
            margin: 0 auto 0 0;
            padding: 1rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            height: 60px;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            padding: 0.5rem;
            cursor: pointer;
            border-radius: 0.375rem;
        }

        .mobile-menu-btn:hover {
            background-color: #f3f4f6;
        }

        /* Layout */
        .main-layout {
            display: flex;
        }

        /* Left Navigation */
        .nav {
            width: 16rem;
            background-color: white;
            border-right: 1px solid #e5e7eb;
            min-height: calc(100vh - 73px);
        }

        .nav-content {
            padding: 1rem;
            position: relative;
        }

        .nav-title {
            font-size: 0.75rem;
            font-weight: 600;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
        }

        .category {
            margin-bottom: 0.5rem;
        }

        .category-header {
            width: 100%;
            display: flex;
            align-items: center;
            padding: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
            background-color: #f9fafb;
            border: none;
            border-radius: 0.375rem;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .category-header:hover {
            background-color: #f3f4f6;
        }

        .category-icon {
            width: 1rem;
            height: 1rem;
            margin-right: 0.5rem;
        }

        .category-name {
                font-weight: bold;
            flex: 1;
            text-align: left;
        }

        .chevron {
            width: 1rem;
            height: 1rem;
            transition: transform 0.2s;
        }

        .chevron.expanded {
            transform: rotate(90deg);
        }

        .tools-list {
            margin-left: 1rem;
            margin-bottom: 0.75rem;
            list-style: none;
        }

        .tools-list.hidden {
            display: none;
        }

        .tool-item {
            margin-bottom: 0.25rem;
        }

        .tool-link {
            display: flex;
            align-items: center;
            padding: 0.375rem 0.5rem;
            font-size: 0.875rem;
            color: #6b7280;
            text-decoration: none;
            border-radius: 0.375rem;
            transition: all 0.2s;
        }

        .tool-link:hover {
            color: #111827;
            background-color: #f9fafb;
        }

        .tool-icon {
            width: 0.875rem;
            height: 0.875rem;
            display: none;
            margin-right: 0.5rem;
        }

        .external-icon {
            width: 0.75rem;
            height: 0.75rem;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .tool-link:hover .external-icon {
            opacity: 1;
        }

        /* Drag and Drop Styles */
        .tool-item.dragging {
            opacity: 0.5;
            transform: rotate(5deg);
        }

        .tool-item.drag-over {
            border-top: 2px solid #3b82f6;
            background-color: #eff6ff;
        }

        .tool-item {
            position: relative;
            transition: all 0.2s ease;
        }

        .tool-item:hover {
            background-color: #f9fafb;
            border-radius: 0.375rem;
        }

        .drag-handle {
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            cursor: grab;
            opacity: 0;
            transition: opacity 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .edit-mode .tool-item:hover .drag-handle {
            opacity: 0.5;
        }

        .edit-mode .drag-handle:hover {
            opacity: 1 !important;
        }

        .drag-handle:active {
            cursor: grabbing;
        }

        /* Edit Mode Styles */
        .edit-mode .tool-item {
            padding-left: 20px;
        }

        .edit-mode .drag-handle {
            opacity: 1;
        }

        .edit-mode .tool-link {
            pointer-events: none;
        }

        .edit-controls {
            display: none;
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            gap: 4px;
        }

        .edit-mode .edit-controls {
            display: flex;
        }

        .edit-btn {
            width: 20px;
            height: 20px;
            border: none;
            background: #f3f4f6;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
        }

        .edit-btn:hover {
            background: #e5e7eb;
        }

        .edit-btn svg {
            width: 12px;
            height: 12px;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background-color: white;
            margin: 5% auto;
            padding: 2rem;
            border-radius: 0.5rem;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .modal-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #111827;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #6b7280;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #374151;
        }

        .form-input {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            font-size: 0.875rem;
        }

        .form-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .modal-actions {
            display: flex;
            gap: 0.75rem;
            justify-content: flex-end;
            margin-top: 1.5rem;
        }

        .btn {
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-primary {
            background-color: #3b82f6;
            color: white;
            border: none;
        }

        .btn-primary:hover {
            background-color: #2563eb;
        }

        .btn-secondary {
            background-color: #f3f4f6;
            color: #374151;
            border: 1px solid #d1d5db;
        }

        .btn-secondary:hover {
            background-color: #e5e7eb;
        }

        .btn-danger {
            background-color: #ef4444;
            color: white;
            border: none;
        }

        .btn-danger:hover {
            background-color: #dc2626;
        }

        /* Edit Mode Toggle */
        .edit-mode-toggle {
                position: absolute;
    top: 8px;
    right: 1rem;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 6px 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
        }

        .edit-mode-toggle:hover {
            background: #2563eb;
        }

        .edit-mode .edit-mode-toggle {
            background: #ef4444;
        }

        .edit-mode .edit-mode-toggle:hover {
            background: #dc2626;
        }

        /* Category Drag and Drop Styles */
        .category.dragging {
            opacity: 0.5;
            transform: rotate(5deg);
        }

        .category.drag-over {
            border-top: 2px solid #3b82f6;
            background-color: #eff6ff;
        }

        .category {
            position: relative;
            transition: all 0.2s ease;
        }

        .category:hover {
            background-color: #f9fafb;
            border-radius: 0.375rem;
        }

        .category-drag-handle {
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            cursor: grab;
            opacity: 0;
            transition: opacity 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .edit-mode .category-header:hover .category-drag-handle {
            opacity: 0.5;
        }

        .edit-mode .category-drag-handle:hover {
            opacity: 1 !important;
        }

        .edit-mode .category-drag-handle:active {
            cursor: grabbing;
        }

        .edit-mode .category-header {
            position: relative;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            padding: 1rem 2rem;
        }

        .section {
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111827;
            margin-bottom: 1.5rem;
        }

        /* Cards Grid */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            /* margin-bottom: 20px; */
        }

        .card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.2s;
        }

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

        .card-header {
            padding: 1.5rem 1.5rem 0.75rem;
            position: relative;
        }

        .card-header-content {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .card-icon {
            padding: 0.5rem;
            border-radius: 0.5rem;
        }

        .card-icon svg {
            width: 1.5rem;
            height: 1.5rem;
            color: #000;
        }

        .card-title {
            font-size: 1.125rem;
            font-weight: 600;
            color: #111827;
        }

        .card-content {
            padding: 0 1.5rem 1.5rem;
        }

        .card-description {
            color: #6b7280;
            margin-bottom: 1rem;
        }

        .card-button {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background-color: transparent;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            color: #374151;
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 500;
            transition: all 0.2s;
        }

        .card-button:hover {
            background-color: #f9fafb;
        }

        /* Colors */
        .bg-emerald-500 { background-color: #10b981; }
        .bg-orange-500 { background-color: #f97316; }
        .bg-blue-500 { background-color: #3b82f6; }
        .bg-purple-500 { background-color: #8b5cf6; }
        .bg-red-500 { background-color: #f9fafb; }

        /* News Section */
        .news-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
        }

        .news-content {
            padding: 1.5rem;
        }

        .news-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px solid #f3f4f6;
        }

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

        .news-info {
            flex: 1;
        }

        .news-title {
            font-size: 16px;
            font-weight: 500;
            color: #111827;
            margin-bottom: 0.25rem;
        }

        .news-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .news-date {
            font-size: 0.875rem;
            color: #6b7280;
        }

        .badge {
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
            background-color: #f3f4f6;
            color: #374151;
            border-radius: 0.25rem;
        }

        .news-button {
            background: none;
            border: none;
            padding: 0.5rem;
            cursor: pointer;
            border-radius: 0.375rem;
        }

        .news-button:hover {
            background-color: #f9fafb;
        }

        .news-footer {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid #f3f4f6;
        }

        .news-footer-button {
            width: 100%;
            padding: 0.5rem 1rem;
            background-color: transparent;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            color: #374151;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: block;
            margin: 0 auto;
            text-align: center;
        }

        .news-footer-button:hover {
            background-color: #f9fafb;
        }

        /* Tools Banners */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
        }
        .tools-grid.borderbottom{
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: solid 1px #ddd;
        }

        .tool-banner {
            display: block;
            transition: opacity 0.2s;
        }

        .tool-banner:hover {
            opacity: 0.8;
        }

        .tool-banner img {
            width: 100%;
/*            height: 5rem;*/
            object-fit: cover;
            border-radius: 0.5rem;
            border: 1px solid #e5e7eb;
        }

        /* Mobile Responsive */
        @media (max-width: 1024px) {
            .mobile-menu-btn {
                display: block;
            }

            .nav {
                position: absolute;
                z-index: 10;
                width: 100%;
                display: none;
            }

            .nav.mobile-open {
                display: block;
            }

            .main-content {
                padding: 1rem;
            }
        }
        #lookercontent{
            margin-bottom:20px;
            height: 500px;
        }
        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }

            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }