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

    .header {
        margin-bottom: 32px;
    }

        .header h1 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #1e293b;
        }

        .header p {
            color: #64748b;
            font-size: 1rem;
        }

    /* Tabs */
    .tabs {
        background: white;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .tab-list {
        display: flex;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc;
    }

    .tab-trigger {
        flex: 1;
        padding: 16px 24px;
        border: none;
        background: transparent;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 500;
        color: #64748b;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s;
    }

        .tab-trigger:hover {
            background: #e2e8f0;
        }

        .tab-trigger.active {
            background: white;
            color: #1e293b;
            border-bottom: 2px solid #3b82f6;
        }

    .tab-content {
        display: none;
        padding: 20px;
    }

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

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

        .tab-header h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1e293b;
        }

    /* Buttons */
    .btn {
        padding: 8px 16px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 0.875rem;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s;
        text-decoration: none;
    }

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

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

    .btn-secondary {
        background: #f1f5f9;
        color: #475569;
        border: 1px solid #e2e8f0;
    }

        .btn-secondary:hover {
            background: #e2e8f0;
        }

    .btn-outline {
        background: transparent;
        color: #000000;
        /* border: 1px solid #e2e8f0; */
    }

        .btn-outline:hover {
            background: #f8fafc;
        }

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

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

    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Cards */
    .articles-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

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

    .card {
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        transition: box-shadow 0.2s;
        display: flex;
        flex-direction: row;
    }

        .card:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

    .card-header {
        padding: 10px;
        vertical-align: middle;
        background-color: white;
        border-bottom: none;
        width: 100%;
        margin: auto;
    }

    .card-title {
        font-size: 1.125rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 0;
    }

    .card-description {
        color: #64748b;
        font-size: 0.875rem;
    }

    .card-content {
        padding: 10px;
        vertical-align: middle;
        margin: auto;
    }

    .card-actions {
        display: flex;
    }

    .badge {
        display: inline-flex;
        align-items: center;
        padding: 4px 8px;
        background: #f1f5f9;
        color: #475569;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 500;
    }

    .badge-outline {
        background: transparent;
        border: 1px solid #e2e8f0;
    }

    .article-meta {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        /* margin-bottom: 12px; */
    }

    .article-info {
        flex: 1;
    }

    .article-content {
        color: #64748b;
        font-size: 0.875rem;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

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

        .modal.active {
            display: flex;
        }

    .modal-content {
        background: white;
        border-radius: 12px;
        width: 90%;
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
    }

        .modal-content.small {
            max-width: 400px;
        }

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

        .modal-header h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1e293b;
        }

    .close-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #64748b;
        padding: 0;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .close-btn:hover {
            color: #1e293b;
        }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 20px;
        border-top: 1px solid #e2e8f0;
        display: flex;
        justify-content: flex-end;
        gap: 12px;
    }

    /* Form */
    .form-group {
        margin-bottom: 16px;
    }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            color: #374151;
        }

    .form-input,
    .form-textarea {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font-size: 0.875rem;
        transition: border-color 0.2s;
    }

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

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

    .icon {
        font-size: 1rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .container {
            padding: 16px;
        }

        .tab-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }

        .categories-grid {
            grid-template-columns: 1fr;
        }

        .modal-content {
            width: 95%;
            margin: 20px;
        }

        .card-actions {
            flex-wrap: wrap;
        }
    }

    @media (max-width: 480px) {
        .tab-trigger {
            padding: 12px 16px;
            font-size: 0.875rem;
        }

        .tab-content {
            padding: 16px;
        }

        .card-header,
        .card-content {
            padding: 16px;
        }
    }
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 32px;
        padding: 20px 0;
    }

    .pagination-btn {
        padding: 8px 12px;
        border: 1px solid #e2e8f0;
        background: white;
        color: #475569;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.2s;
        min-width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .pagination-btn:hover:not(.disabled) {
            background: #f8fafc;
            border-color: #cbd5e1;
        }

        .pagination-btn.active {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
        }

        .pagination-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

    .pagination-info {
        color: #64748b;
        font-size: 0.875rem;
        margin: 0 16px;
        white-space: nowrap;
    }

    .items-per-page {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: 24px;
    }

        .items-per-page select {
            padding: 4px 8px;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            font-size: 0.875rem;
            background: white;
        }

        .items-per-page label {
            font-size: 0.875rem;
            color: #64748b;
            white-space: nowrap;
        }

    /* Responsive pagination */
    @media (max-width: 768px) {
        .pagination {
            flex-wrap: wrap;
            gap: 4px;
        }

        .pagination-info {
            order: -1;
            width: 100%;
            text-align: center;
            margin: 0 0 12px 0;
        }

        .items-per-page {
            margin-left: 0;
            margin-top: 12px;
            order: 1;
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .pagination-btn {
            padding: 6px 8px;
            min-width: 32px;
            font-size: 0.75rem;
        }

        .pagination-info {
            font-size: 0.75rem;
        }
    }